org.kde.qt
public class QDataTable extends QTable
Field Summary | |
---|---|
static int | RefreshAll |
static int | RefreshColumns |
static int | RefreshData |
Constructor Summary | |
---|---|
protected | QDataTable(Class dummy) |
QDataTable(QWidget parent, String name) | |
QDataTable(QWidget parent) | |
QDataTable() | |
QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent, String name) | |
QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent) | |
QDataTable(QSqlCursor cursor, boolean autoPopulate) | |
QDataTable(QSqlCursor cursor) |
Method Summary | |
---|---|
protected void | activateNextCell() |
void | addColumn(String fieldName, String label, int width, QIconSet iconset) |
void | addColumn(String fieldName, String label, int width) |
void | addColumn(String fieldName, String label) |
void | addColumn(String fieldName) |
void | adjustColumn(int col) |
boolean | autoDelete() |
boolean | autoEdit() |
protected boolean | beginInsert() |
protected QWidget | beginUpdate(int row, int col, boolean replace) |
String | className() |
void | clearCell(int row, int col) |
protected void | columnClicked(int col) |
protected int | confirmCancel(int m) |
boolean | confirmCancels() |
boolean | confirmDelete() |
protected int | confirmEdit(int m) |
boolean | confirmEdits() |
boolean | confirmInsert() |
boolean | confirmUpdate() |
protected void | contentsContextMenuEvent(QContextMenuEvent e) |
protected void | contentsMousePressEvent(QMouseEvent e) |
protected QWidget | createEditor(int row, int col, boolean initFromCell) |
QSqlRecord | currentRecord() |
int | dateFormat() |
protected boolean | deleteCurrent() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | drawContents(QPainter p, int cx, int cy, int cw, int ch) |
protected void | endEdit(int row, int col, boolean accept, boolean replace) |
boolean | eventFilter(QObject o, QEvent e) |
String | falseText() |
protected int | fieldAlignment(QSqlField field) |
String | filter() |
protected void | finalize() Deletes the wrapped C++ instance |
void | find(String str, boolean caseSensitive, boolean backwards) |
boolean | findBuffer(QSqlIndex idx, int atHint) |
boolean | findBuffer(QSqlIndex idx) |
protected void | handleError(QSqlError e) |
void | hideColumn(int col) |
protected int | indexOf(int i) |
protected boolean | insertCurrent() |
void | installEditorFactory(QSqlEditorFactory f) |
void | installPropertyMap(QSqlPropertyMap m) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QTableItem | item(int row, int col) |
protected void | keyPressEvent(QKeyEvent arg1) |
QMetaObject | metaObject() |
String | nullText() |
int | numCols() |
int | numRows() |
void | paintCell(QPainter p, int row, int col, QRect cr, boolean selected, QColorGroup cg) |
protected void | paintField(QPainter p, QSqlField field, QRect cr, boolean selected) |
void | refresh(int mode) |
void | refresh() |
void | removeColumn(int col) |
protected void | repaintCell(int row, int col) |
protected void | reset() |
protected void | resizeData(int len) |
protected void | resizeEvent(QResizeEvent arg1) |
void | setAutoDelete(boolean enable) |
void | setAutoEdit(boolean autoEdit) |
void | setColumn(int col, String fieldName, String label, int width, QIconSet iconset) |
void | setColumn(int col, String fieldName, String label, int width) |
void | setColumn(int col, String fieldName, String label) |
void | setColumn(int col, String fieldName) |
void | setColumnStretchable(int col, boolean stretch) |
void | setColumnWidth(int col, int w) |
void | setConfirmCancels(boolean confirm) |
void | setConfirmDelete(boolean confirm) |
void | setConfirmEdits(boolean confirm) |
void | setConfirmInsert(boolean confirm) |
void | setConfirmUpdate(boolean confirm) |
void | setDateFormat(int f) |
void | setFalseText(String falseText) |
void | setFilter(String filter) |
void | setItem(int row, int col, QTableItem item) |
void | setNullText(String nullText) |
void | setNumCols(int c) |
void | setNumRows(int r) |
void | setPixmap(int row, int col, QPixmap pix) |
protected void | setSize(QSqlCursor sql) |
void | setSort(String[] sort) |
void | setSort(QSqlIndex sort) |
void | setSqlCursor(QSqlCursor cursor, boolean autoPopulate, boolean autoDelete) |
void | setSqlCursor(QSqlCursor cursor, boolean autoPopulate) |
void | setSqlCursor(QSqlCursor cursor) |
void | setSqlCursor() |
void | setTrueText(String trueText) |
void | showColumn(int col) |
ArrayList | sort() |
void | sortAscending(int col) |
void | sortColumn(int col, boolean ascending, boolean wholeRows) |
void | sortColumn(int col, boolean ascending) |
void | sortColumn(int col) |
void | sortDescending(int col) |
QSqlCursor | sqlCursor() |
void | swapColumns(int col1, int col2, boolean swapHeaders) |
void | swapColumns(int col1, int col2) |
void | takeItem(QTableItem i) |
String | text(int row, int col) |
static String | tr(String arg1, String arg2) |
static String | tr(String arg1) |
String | trueText() |
protected boolean | updateCurrent() |
QVariant | value(int row, int col) |