#include <xtreeview.h>
Classes | |
| struct | ColumnProps |
Properties | |
| int | primaryKeyCoulmns |
| QString | schemaName |
| QString | tableName |
Public Member Functions | |
| XTreeView (QWidget *parent=0) | |
| ~XTreeView () | |
| Q_INVOKABLE int | columnIndex (const QString column) |
| Q_INVOKABLE QString | columnNameFromLogicalIndex (const int logicalIndex) const |
| virtual bool | ignoreGeometrySizing () |
| Q_INVOKABLE bool | isRowHidden (int row) |
| Q_INVOKABLE XDataWidgetMapper * | mapper () |
| Q_INVOKABLE XSqlTableModel * | model () |
| 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 | setColumnRole (const QString column, int role, QVariant value) |
| virtual Q_INVOKABLE void | setColumnVisible (int, bool) |
| virtual void | setGeometry (int x, int y, int w, int h) |
| virtual void | setIgnoreGeometrySizing (bool ignore) |
| Q_INVOKABLE void | setTable () |
| QString | tableName () const |
| bool | throwScriptException (const QString &message) |
Public Slots | |
| virtual int | currentIndex () |
| virtual QString | filter () |
| 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 | 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 | setModel (XSqlTableModel *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) |
Signals | |
| void | dataChanged (int row, int col) |
| 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) |
| XTreeView::XTreeView | ( | QWidget * | parent = 0 |
) |
| XTreeView::~XTreeView | ( | ) |
| int XTreeView::columnIndex | ( | const QString | column | ) |
| QString XTreeView::columnNameFromLogicalIndex | ( | const int | logicalIndex | ) | const |
| int XTreeView::currentIndex | ( | ) | [virtual, slot] |
| void XTreeView::dataChanged | ( | int | row, | |
| int | col | |||
| ) | [signal] |
| QString XTreeView::filter | ( | ) | [virtual, slot] |
| virtual bool XTreeView::ignoreGeometrySizing | ( | ) | [inline, virtual] |
| void XTreeView::insert | ( | ) | [virtual, slot] |
| bool XTreeView::isRowHidden | ( | int | row | ) |
| Q_INVOKABLE XDataWidgetMapper* XTreeView::mapper | ( | ) | [inline] |
| Q_INVOKABLE XSqlTableModel* XTreeView::model | ( | ) | [inline] |
| void XTreeView::newModel | ( | XSqlTableModel * | model | ) | [signal] |
| void XTreeView::populate | ( | int | p | ) | [virtual, slot] |
| void XTreeView::populateMenu | ( | QMenu * | , | |
| QModelIndex | ||||
| ) | [signal] |
| int XTreeView::primaryKeyColumns | ( | ) | const [inline] |
| void XTreeView::removeSelected | ( | ) | [virtual, slot] |
| void XTreeView::resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractItemView.
| 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::selectionChanged | ( | const QItemSelection & | selected, | |
| const QItemSelection & | deselected | |||
| ) | [protected, virtual] |
Reimplemented from QAbstractItemView.
| void XTreeView::selectRow | ( | int | index | ) | [virtual, slot] |
| void XTreeView::setColumn | ( | const QString & | label, | |
| int | width, | |||
| int | alignment, | |||
| bool | visible, | |||
| const QString & | colname | |||
| ) |
| void XTreeView::setColumnEditor | ( | int | column, | |
| const QString | editor | |||
| ) | [virtual, slot] |
| void XTreeView::setColumnFormat | ( | const QString | column, | |
| int | format | |||
| ) | [virtual, slot] |
| void XTreeView::setColumnLocked | ( | const int | pColumn, | |
| bool | pLocked | |||
| ) | [virtual] |
| void XTreeView::setColumnLocked | ( | const QString & | pColname, | |
| bool | pLocked | |||
| ) | [virtual] |
| void XTreeView::setColumnTextAlignment | ( | const QString | column, | |
| int | alignment | |||
| ) | [virtual, slot] |
| void XTreeView::setColumnTextAlignment | ( | int | column, | |
| int | alignment | |||
| ) | [virtual, slot] |
| void XTreeView::setColumnVisible | ( | int | pColumn, | |
| bool | pVisible | |||
| ) | [virtual] |
| void XTreeView::setDataWidgetMap | ( | XDataWidgetMapper * | mapper | ) | [virtual, slot] |
| void XTreeView::setFilter | ( | const QString | filter | ) | [virtual, slot] |
| void XTreeView::setForegroundColor | ( | int | row, | |
| int | col, | |||
| QString | color | |||
| ) | [virtual, slot] |
| void XTreeView::setGeometry | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) | [virtual] |
Reimplemented from QWidget.
| virtual void XTreeView::setIgnoreGeometrySizing | ( | bool | ignore | ) | [inline, virtual] |
| void XTreeView::setModel | ( | XSqlTableModel * | model = 0 |
) | [virtual, slot] |
| virtual void XTreeView::setPrimaryKeyColumns | ( | int | p | ) | [inline, virtual, slot] |
| void XTreeView::setRowForegroundColor | ( | int | row, | |
| QString | color | |||
| ) | [virtual, slot] |
| 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] |
int XTreeView::primaryKeyCoulmns [read, write] |
QString XTreeView::schemaName [read, write] |
QString XTreeView::tableName [read, write] |
| Generated on Tue Apr 20 12:03:58 2010 | xTuple ERP Programmer Reference, Version 3.5.0 |
1.6.1
|