XTreeView Class Reference
#include <xtreeview.h>
List of all members.
Classes |
struct | ColumnProps |
Properties |
int | primaryKeyCoulmns |
QString | schemaName |
QString | tableName |
Public Member Functions |
| XTreeView (QWidget *parent=0) |
| ~XTreeView () |
Q_INVOKABLE QString | columnNameFromLogicalIndex (const int logicalIndex) const |
Q_INVOKABLE bool | isRowHidden (int row) |
int | primaryKeyColumns () const |
QString | schemaName () const |
Q_INVOKABLE void | setColumn (const QString &label, int width, int alignment, bool visible, const QString &colname) |
virtual Q_INVOKABLE void | setColumnLocked (const int pColumn, bool pLocked) |
virtual Q_INVOKABLE void | setColumnLocked (const QString &pColname, bool pLocked) |
virtual Q_INVOKABLE void | setColumnVisible (int, bool) |
Q_INVOKABLE void | setTable () |
QString | tableName () const |
bool | throwScriptException (const QString &message) |
Public Slots |
virtual void | insert () |
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 | setDataWidgetMap (XDataWidgetMapper *mapper) |
virtual void | setModel (XSqlTableModel *model=0) |
virtual void | setPrimaryKeyColumns (int p) |
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) |
Signals |
void | newModel (XSqlTableModel *model) |
void | populateMenu (QMenu *, QModelIndex) |
void | rowSelected (int) |
void | saved () |
void | valid (bool) |
Protected Member Functions |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
virtual void | setRelations () |
Constructor & Destructor Documentation
XTreeView::XTreeView |
( |
QWidget * |
parent = 0 |
) |
|
XTreeView::~XTreeView |
( |
|
) |
|
Member Function Documentation
QString XTreeView::columnNameFromLogicalIndex |
( |
const int |
logicalIndex |
) |
const |
void XTreeView::insert |
( |
|
) |
[virtual, slot] |
bool XTreeView::isRowHidden |
( |
int |
row |
) |
|
void XTreeView::populate |
( |
int |
p |
) |
[virtual, slot] |
int XTreeView::primaryKeyColumns |
( |
|
) |
const [inline] |
void XTreeView::removeSelected |
( |
|
) |
[virtual, slot] |
void XTreeView::resizeEvent |
( |
QResizeEvent * |
e |
) |
[protected, virtual] |
void XTreeView::revertAll |
( |
|
) |
[virtual, slot] |
int XTreeView::rowCount |
( |
|
) |
[virtual, slot] |
int XTreeView::rowCountVisible |
( |
|
) |
[virtual, slot] |
void XTreeView::rowSelected |
( |
int |
|
) |
[signal] |
void XTreeView::save |
( |
|
) |
[virtual, slot] |
void XTreeView::saved |
( |
|
) |
[signal] |
QString XTreeView::schemaName |
( |
|
) |
const [inline] |
void XTreeView::select |
( |
|
) |
[virtual, slot] |
QVariant XTreeView::selectedValue |
( |
int |
column |
) |
[virtual, slot] |
void XTreeView::selectRow |
( |
int |
index |
) |
[virtual, slot] |
void XTreeView::setColumn |
( |
const QString & |
label, |
|
|
int |
width, |
|
|
int |
alignment, |
|
|
bool |
visible, |
|
|
const QString & |
colname | |
|
) |
| | |
void XTreeView::setColumnLocked |
( |
const int |
pColumn, |
|
|
bool |
pLocked | |
|
) |
| | [virtual] |
void XTreeView::setColumnLocked |
( |
const QString & |
pColname, |
|
|
bool |
pLocked | |
|
) |
| | [virtual] |
void XTreeView::setColumnVisible |
( |
int |
pColumn, |
|
|
bool |
pVisible | |
|
) |
| | [virtual] |
void XTreeView::setModel |
( |
XSqlTableModel * |
model = 0 |
) |
[virtual, slot] |
virtual void XTreeView::setPrimaryKeyColumns |
( |
int |
p |
) |
[inline, virtual, slot] |
void XTreeView::setRelations |
( |
|
) |
[protected, virtual] |
virtual void XTreeView::setSchemaName |
( |
QString |
p |
) |
[inline, virtual, slot] |
void XTreeView::setTable |
( |
|
) |
|
virtual void XTreeView::setTableName |
( |
QString |
p |
) |
[inline, virtual, slot] |
void XTreeView::setValue |
( |
int |
row, |
|
|
int |
column, |
|
|
QVariant |
value | |
|
) |
| | [virtual, slot] |
void XTreeView::sShowMenu |
( |
const QPoint & |
pntThis |
) |
[virtual, slot] |
QString XTreeView::tableName |
( |
|
) |
const [inline] |
bool XTreeView::throwScriptException |
( |
const QString & |
message |
) |
|
void XTreeView::valid |
( |
bool |
|
) |
[signal] |
QVariant XTreeView::value |
( |
int |
row, |
|
|
int |
column | |
|
) |
| | [virtual, slot] |
Property Documentation
int XTreeView::primaryKeyCoulmns [read, write] |
QString XTreeView::schemaName [read, write] |
QString XTreeView::tableName [read, write] |
The documentation for this class was generated from the following files: