#include <xtableview.h>
|
virtual QString | filter () |
|
virtual void | insert () |
|
virtual QAbstractItemDelegate * | itemDelegateForColumn (const QString column) |
|
virtual QAbstractItemDelegate * | itemDelegateForColumn (int column) |
|
virtual void | populate (int p) |
|
virtual void | removeSelected () |
|
virtual void | revertAll () |
|
virtual int | rowCount () |
|
virtual int | rowCountVisible () |
|
virtual void | save () |
|
virtual void | select () |
|
virtual QVariant | selectedValue (int column) |
|
virtual void | selectRow (int index) |
|
virtual void | setColumnEditor (const QString column, const QString editor) |
|
virtual void | setColumnEditor (int column, const QString editor) |
|
virtual void | setColumnFormat (const QString column, int format) |
|
virtual void | setColumnTextAlignment (const QString column, int alignment) |
|
virtual void | setColumnTextAlignment (int column, int alignment) |
|
virtual void | setDataWidgetMap (XDataWidgetMapper *mapper) |
|
virtual void | setFilter (const QString filter) |
|
virtual void | setForegroundColor (int row, int col, QString color) |
|
virtual void | setItemDelegateForColumn (const QString column, QAbstractItemDelegate *delegate) |
|
virtual void | setItemDelegateForColumn (int column, QAbstractItemDelegate *delegate) |
|
virtual void | setModel (QAbstractItemModel *model=0) |
|
virtual void | setPrimaryKeyColumns (int p) |
|
virtual void | setRowForegroundColor (int row, QString color) |
|
virtual void | setSchemaName (QString p) |
|
virtual void | setTableName (QString p) |
|
virtual void | setValue (int row, int column, QVariant value) |
|
virtual void | sShowMenu (const QPoint &) |
|
virtual QVariant | value (int row, int column) |
|
|
virtual void | resizeEvent (QResizeEvent *) |
|
virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
|
◆ primaryKeyCoulmns
int XTableView::primaryKeyCoulmns |
|
readwrite |
◆ schemaName
QString XTableView::schemaName |
|
readwrite |
◆ tableName
QString XTableView::tableName |
|
readwrite |
◆ XTableView()
XTableView::XTableView |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~XTableView()
XTableView::~XTableView |
( |
| ) |
|
◆ columnIndex()
int XTableView::columnIndex |
( |
const QString |
column | ) |
|
◆ columnNameFromLogicalIndex()
QString XTableView::columnNameFromLogicalIndex |
( |
const int |
logicalIndex | ) |
const |
◆ dataChanged
void XTableView::dataChanged |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
signal |
◆ filter
QString XTableView::filter |
( |
| ) |
|
|
virtualslot |
◆ insert
void XTableView::insert |
( |
| ) |
|
|
virtualslot |
◆ isRowHidden()
Q_INVOKABLE bool XTableView::isRowHidden |
( |
int |
row | ) |
|
|
inline |
◆ itemDelegateForColumn [1/2]
QAbstractItemDelegate * XTableView::itemDelegateForColumn |
( |
const QString |
column | ) |
|
|
virtualslot |
◆ itemDelegateForColumn [2/2]
virtual QAbstractItemDelegate* XTableView::itemDelegateForColumn |
( |
int |
column | ) |
|
|
inlinevirtualslot |
◆ mapper()
◆ model()
◆ newModel
◆ populate
void XTableView::populate |
( |
int |
p | ) |
|
|
virtualslot |
◆ populateMenu
void XTableView::populateMenu |
( |
QMenu * |
, |
|
|
QModelIndex |
|
|
) |
| |
|
signal |
◆ primaryKeyColumns()
int XTableView::primaryKeyColumns |
( |
| ) |
const |
|
inline |
◆ removeSelected
void XTableView::removeSelected |
( |
| ) |
|
|
virtualslot |
◆ resizeEvent()
void XTableView::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
protectedvirtual |
◆ revertAll
void XTableView::revertAll |
( |
| ) |
|
|
virtualslot |
◆ rowCount
int XTableView::rowCount |
( |
| ) |
|
|
virtualslot |
◆ rowCountVisible
int XTableView::rowCountVisible |
( |
| ) |
|
|
virtualslot |
◆ rowSelected
void XTableView::rowSelected |
( |
int |
| ) |
|
|
signal |
◆ save
void XTableView::save |
( |
| ) |
|
|
virtualslot |
◆ saved
void XTableView::saved |
( |
| ) |
|
|
signal |
◆ schemaName()
QString XTableView::schemaName |
( |
| ) |
const |
|
inline |
◆ select
void XTableView::select |
( |
| ) |
|
|
virtualslot |
◆ selectedValue
QVariant XTableView::selectedValue |
( |
int |
column | ) |
|
|
virtualslot |
◆ selectionChanged()
void XTableView::selectionChanged |
( |
const QItemSelection & |
selected, |
|
|
const QItemSelection & |
deselected |
|
) |
| |
|
protectedvirtual |
◆ selectRow
void XTableView::selectRow |
( |
int |
index | ) |
|
|
virtualslot |
◆ setColumn()
void XTableView::setColumn |
( |
const QString & |
label, |
|
|
int |
width, |
|
|
int |
alignment, |
|
|
bool |
visible, |
|
|
const QString & |
colname |
|
) |
| |
◆ setColumnEditor [1/2]
void XTableView::setColumnEditor |
( |
const QString |
column, |
|
|
const QString |
editor |
|
) |
| |
|
virtualslot |
◆ setColumnEditor [2/2]
void XTableView::setColumnEditor |
( |
int |
column, |
|
|
const QString |
editor |
|
) |
| |
|
virtualslot |
◆ setColumnFormat
void XTableView::setColumnFormat |
( |
const QString |
column, |
|
|
int |
format |
|
) |
| |
|
virtualslot |
◆ setColumnLocked() [1/2]
void XTableView::setColumnLocked |
( |
const int |
pColumn, |
|
|
bool |
pLocked |
|
) |
| |
|
virtual |
◆ setColumnLocked() [2/2]
void XTableView::setColumnLocked |
( |
const QString & |
pColname, |
|
|
bool |
pLocked |
|
) |
| |
|
virtual |
◆ setColumnRole()
void XTableView::setColumnRole |
( |
const QString |
column, |
|
|
int |
role, |
|
|
QVariant |
value |
|
) |
| |
|
virtual |
◆ setColumnTextAlignment [1/2]
void XTableView::setColumnTextAlignment |
( |
const QString |
column, |
|
|
int |
alignment |
|
) |
| |
|
virtualslot |
◆ setColumnTextAlignment [2/2]
void XTableView::setColumnTextAlignment |
( |
int |
column, |
|
|
int |
alignment |
|
) |
| |
|
virtualslot |
◆ setColumnVisible()
void XTableView::setColumnVisible |
( |
int |
pColumn, |
|
|
bool |
pVisible |
|
) |
| |
|
virtual |
◆ setDataWidgetMap
◆ setFilter
void XTableView::setFilter |
( |
const QString |
filter | ) |
|
|
virtualslot |
◆ setForegroundColor
void XTableView::setForegroundColor |
( |
int |
row, |
|
|
int |
col, |
|
|
QString |
color |
|
) |
| |
|
virtualslot |
◆ setItemDelegateForColumn [1/2]
void XTableView::setItemDelegateForColumn |
( |
const QString |
column, |
|
|
QAbstractItemDelegate * |
delegate |
|
) |
| |
|
virtualslot |
◆ setItemDelegateForColumn [2/2]
virtual void XTableView::setItemDelegateForColumn |
( |
int |
column, |
|
|
QAbstractItemDelegate * |
delegate |
|
) |
| |
|
inlinevirtualslot |
◆ setModel
void XTableView::setModel |
( |
QAbstractItemModel * |
model = 0 | ) |
|
|
virtualslot |
◆ setPrimaryKeyColumns
virtual void XTableView::setPrimaryKeyColumns |
( |
int |
p | ) |
|
|
inlinevirtualslot |
◆ setRowForegroundColor
void XTableView::setRowForegroundColor |
( |
int |
row, |
|
|
QString |
color |
|
) |
| |
|
virtualslot |
◆ setSchemaName
virtual void XTableView::setSchemaName |
( |
QString |
p | ) |
|
|
inlinevirtualslot |
◆ setTable()
void XTableView::setTable |
( |
| ) |
|
◆ setTableName
virtual void XTableView::setTableName |
( |
QString |
p | ) |
|
|
inlinevirtualslot |
◆ setValue
void XTableView::setValue |
( |
int |
row, |
|
|
int |
column, |
|
|
QVariant |
value |
|
) |
| |
|
virtualslot |
◆ sShowMenu
void XTableView::sShowMenu |
( |
const QPoint & |
pntThis | ) |
|
|
virtualslot |
◆ tableName()
QString XTableView::tableName |
( |
| ) |
const |
|
inline |
◆ throwScriptException()
bool XTableView::throwScriptException |
( |
const QString & |
message | ) |
|
◆ valid
void XTableView::valid |
( |
bool |
| ) |
|
|
signal |
◆ value
QVariant XTableView::value |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
|
virtualslot |
The documentation for this class was generated from the following files:
- xtableview.h
- xtableview.cpp