org.kde.qt
public class QTable extends QScrollView
| Field Summary | |
|---|---|
| static int | Editing |
| static int | FollowStyle |
| static int | Multi |
| static int | MultiRow |
| static int | NoSelection |
| static int | NotEditing |
| static int | Replacing |
| static int | Single |
| static int | SingleRow |
| static int | SpreadSheet |
| Constructor Summary | |
|---|---|
| protected | QTable(Class dummy) |
| QTable(QWidget parent, String name) | |
| QTable(QWidget parent) | |
| QTable() | |
| QTable(int numRows, int numCols, QWidget parent, String name) | |
| QTable(int numRows, int numCols, QWidget parent) | |
| QTable(int numRows, int numCols) | |
| Method Summary | |
|---|---|
| protected void | activateNextCell() |
| int | addSelection(QTableSelection s) |
| void | adjustColumn(int col) |
| void | adjustRow(int row) |
| protected QWidget | beginEdit(int row, int col, boolean replace) |
| QRect | cellGeometry(int row, int col) |
| QRect | cellRect(int row, int col) |
| QWidget | cellWidget(int row, int col) |
| String | className() |
| void | clearCell(int row, int col) |
| void | clearCellWidget(int row, int col) |
| void | clearSelection(boolean repaint) |
| void | clearSelection() |
| int | columnAt(int x) |
| protected void | columnClicked(int col) |
| protected void | columnIndexChanged(int section, int fromIndex, int toIndex) |
| boolean | columnMovingEnabled() |
| int | columnPos(int col) |
| int | columnWidth(int col) |
| protected void | columnWidthChanged(int col) |
| protected void | contentsContextMenuEvent(QContextMenuEvent e) |
| protected void | contentsDragEnterEvent(QDragEnterEvent e) |
| protected void | contentsDragLeaveEvent(QDragLeaveEvent e) |
| protected void | contentsDragMoveEvent(QDragMoveEvent e) |
| protected void | contentsDropEvent(QDropEvent e) |
| protected void | contentsMouseDoubleClickEvent(QMouseEvent arg1) |
| protected void | contentsMouseMoveEvent(QMouseEvent arg1) |
| protected void | contentsMousePressEvent(QMouseEvent arg1) |
| protected void | contentsMouseReleaseEvent(QMouseEvent arg1) |
| protected QWidget | createEditor(int row, int col, boolean initFromCell) |
| int | currentColumn() |
| int | currentRow() |
| int | currentSelection() |
| protected int | currEditCol() |
| protected int | currEditRow() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| boolean | dragEnabled() |
| protected QDragObject | dragObject() |
| protected void | drawContents(QPainter p, int cx, int cy, int cw, int ch) |
| void | editCell(int row, int col, boolean replace) |
| void | editCell(int row, int col) |
| protected void | endEdit(int row, int col, boolean accept, boolean replace) |
| void | ensureCellVisible(int row, int col) |
| boolean | eventFilter(QObject o, QEvent arg2) |
| protected void | finalize() Deletes the wrapped C++ instance |
| protected void | focusInEvent(QFocusEvent arg1) |
| protected void | focusOutEvent(QFocusEvent arg1) |
| int | focusStyle() |
| void | hideColumn(int col) |
| void | hideRow(int row) |
| QHeader | horizontalHeader() |
| protected int | indexOf(int row, int col) |
| void | insertColumns(int col, int count) |
| void | insertColumns(int col) |
| void | insertRows(int row, int count) |
| void | insertRows(int row) |
| protected void | insertWidget(int row, int col, QWidget w) |
| boolean | isColumnHidden(int col) |
| boolean | isColumnReadOnly(int col) |
| boolean | isColumnSelected(int col, boolean full) |
| boolean | isColumnSelected(int col) |
| boolean | isColumnStretchable(int col) |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| protected boolean | isEditing() |
| boolean | isReadOnly() |
| boolean | isRowHidden(int row) |
| boolean | isRowReadOnly(int row) |
| boolean | isRowSelected(int row, boolean full) |
| boolean | isRowSelected(int row) |
| boolean | isRowStretchable(int row) |
| boolean | isSelected(int row, int col) |
| QTableItem | item(int row, int col) |
| protected void | keyPressEvent(QKeyEvent arg1) |
| QMetaObject | metaObject() |
| int | numCols() |
| int | numRows() |
| int | numSelections() |
| void | paintCell(QPainter p, int row, int col, QRect cr, boolean selected) |
| void | paintCell(QPainter p, int row, int col, QRect cr, boolean selected, QColorGroup cg) |
| protected void | paintEmptyArea(QPainter p, int cx, int cy, int cw, int ch) |
| protected void | paintEvent(QPaintEvent e) |
| void | paintFocus(QPainter p, QRect r) |
| QPixmap | pixmap(int row, int col) |
| void | removeColumn(int col) |
| void | removeRow(int row) |
| void | removeSelection(QTableSelection s) |
| void | removeSelection(int num) |
| void | repaintSelections() |
| protected void | resizeData(int len) |
| int | rowAt(int y) |
| int | rowHeight(int row) |
| protected void | rowHeightChanged(int row) |
| protected void | rowIndexChanged(int section, int fromIndex, int toIndex) |
| boolean | rowMovingEnabled() |
| int | rowPos(int row) |
| void | selectCells(int start_row, int start_col, int end_row, int end_col) |
| void | selectColumn(int col) |
| QTableSelection | selection(int num) |
| int | selectionMode() |
| void | selectRow(int row) |
| protected void | setCellContentFromEditor(int row, int col) |
| void | setCellWidget(int row, int col, QWidget e) |
| void | setColumnLabels(String[] labels) |
| void | setColumnMovingEnabled(boolean b) |
| void | setColumnReadOnly(int col, boolean ro) |
| void | setColumnStretchable(int col, boolean stretch) |
| void | setColumnWidth(int col, int w) |
| void | setCurrentCell(int row, int col) |
| void | setDragEnabled(boolean b) |
| void | setEnabled(boolean b) |
| void | setFocusStyle(int fs) |
| void | setItem(int row, int col, QTableItem item) |
| void | setLeftMargin(int m) |
| void | setNumCols(int r) |
| void | setNumRows(int r) |
| void | setPixmap(int row, int col, QPixmap pix) |
| void | setReadOnly(boolean b) |
| void | setRowHeight(int row, int h) |
| void | setRowLabels(String[] labels) |
| void | setRowMovingEnabled(boolean b) |
| void | setRowReadOnly(int row, boolean ro) |
| void | setRowStretchable(int row, boolean stretch) |
| void | setSelectionMode(int mode) |
| void | setShowGrid(boolean b) |
| void | setSorting(boolean b) |
| void | setText(int row, int col, String text) |
| void | setTopMargin(int m) |
| void | showColumn(int col) |
| void | showEvent(QShowEvent e) |
| boolean | showGrid() |
| void | showRow(int row) |
| QSize | sizeHint() |
| void | sortColumn(int col, boolean ascending, boolean wholeRows) |
| void | sortColumn(int col, boolean ascending) |
| void | sortColumn(int col) |
| boolean | sortOnInsert() |
| protected void | startDrag() |
| void | swapCells(int row1, int col1, int row2, int col2) |
| void | swapColumns(int col1, int col2, boolean swapHeader) |
| void | swapColumns(int col1, int col2) |
| void | swapRows(int row1, int row2, boolean swapHeader) |
| void | swapRows(int row1, int row2) |
| void | takeItem(QTableItem i) |
| String | text(int row, int col) |
| static String | tr(String arg1, String arg2) |
| static String | tr(String arg1) |
| void | updateCell(int row, int col) |
| void | updateHeaderStates() |
| QHeader | verticalHeader() |
| protected void | viewportResizeEvent(QResizeEvent arg1) |
| protected void | windowActivationChange(boolean arg1) |