|
| XSqlTableModel (QObject *parent=0) |
|
| ~XSqlTableModel () |
|
virtual Q_INVOKABLE void | appendChild (XSqlTableNode *child) |
|
virtual Q_INVOKABLE XSqlTableNode * | appendChild (const QString &tableName, ParameterList &relations) |
|
Q_INVOKABLE void | applyColumnRole (int column, int role, QVariant value) |
|
Q_INVOKABLE void | applyColumnRoles () |
|
Q_INVOKABLE void | applyColumnRoles (int row) |
|
void | beforeDelete (int row) |
|
void | beforeInsert (QSqlRecord &record) |
|
void | beforeUpdate (int row, QSqlRecord &record) |
|
bool | blockSignals (bool block) |
|
virtual Q_INVOKABLE QModelIndex | buddy (const QModelIndex &index) const |
|
static::QString | buildFilter (ParameterList ¶ms) |
|
static::ParameterList | buildParams (XSqlTableModel *parent, int row, ParameterList relations) |
|
virtual bool | canDropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const |
|
virtual Q_INVOKABLE bool | canFetchMore (const QModelIndex &parent=QModelIndex()) const |
|
virtual Q_INVOKABLE XSqlTableNode * | child (int index) |
|
virtual Q_INVOKABLE XSqlTableNode * | child (const QString &tableName) |
|
const QObjectList & | children () const |
|
virtual Q_INVOKABLE QList< XSqlTableNode * > | children () |
|
virtual Q_INVOKABLE void | clear () |
|
virtual Q_INVOKABLE void | clearChildren () |
|
virtual Q_INVOKABLE int | columnCount (const QModelIndex &parent=QModelIndex()) const |
|
void | columnsAboutToBeInserted (const QModelIndex &parent, int first, int last) |
|
void | columnsAboutToBeMoved (const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn) |
|
void | columnsAboutToBeRemoved (const QModelIndex &parent, int first, int last) |
|
void | columnsInserted (const QModelIndex &parent, int first, int last) |
|
void | columnsMoved (const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column) |
|
void | columnsRemoved (const QModelIndex &parent, int first, int last) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
virtual Q_INVOKABLE QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
|
QSqlDatabase | database () const |
|
void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector< int > &roles) |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
|
bool | disconnect (const QObject *receiver, const char *method) const |
|
virtual Q_INVOKABLE bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
EditStrategy | editStrategy () const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
virtual Q_INVOKABLE void | fetchMore (const QModelIndex &parent=QModelIndex()) |
|
int | fieldIndex (const QString &fieldName) const |
|
QString | filter () const |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const |
|
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
|
Q_INVOKABLE QVariant | formatValue (const QVariant &dataValue, const QVariant &formatValue) const |
|
virtual bool | hasChildren (const QModelIndex &parent) const |
|
virtual Q_INVOKABLE bool | hasIndex (int row, int column, const QModelIndex &parent=QModelIndex()) const |
|
virtual Q_INVOKABLE QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
|
bool | inherits (const char *className) const |
|
virtual Q_INVOKABLE bool | insertColumn (int column, const QModelIndex &parent=QModelIndex()) |
|
virtual Q_INVOKABLE bool | insertColumns (int column, int count, const QModelIndex &parent=QModelIndex()) |
|
bool | insertRecord (int row, const QSqlRecord &record) |
|
virtual Q_INVOKABLE bool | insertRow (int row, const QModelIndex &parent=QModelIndex()) |
|
virtual Q_INVOKABLE bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isDirty (const QModelIndex &index) const |
|
bool | isDirty () const |
|
bool | isWidgetType () const |
|
bool | isWindowType () const |
|
virtual Q_INVOKABLE QMap< int, QVariant > | itemData (const QModelIndex &index) const |
|
void | killTimer (int id) |
|
virtual Q_INVOKABLE QSqlError | lastError () const |
|
void | layoutAboutToBeChanged (const QList< QPersistentModelIndex > &parents, QAbstractItemModel::LayoutChangeHint hint) |
|
void | layoutChanged (const QList< QPersistentModelIndex > &parents, QAbstractItemModel::LayoutChangeHint hint) |
|
virtual Q_INVOKABLE void | load (int row) |
|
virtual Q_INVOKABLE void | loadAll () |
|
virtual Q_INVOKABLE QModelIndexList | match (const QModelIndex &start, int role, const QVariant &value, int hits=1, Qt::MatchFlags flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const |
|
virtual const QMetaObject * | metaObject () const |
|
virtual Q_INVOKABLE QMimeData * | mimeData (const QModelIndexList &indexes) const |
|
virtual Q_INVOKABLE QStringList | mimeTypes () const |
|
void | modelAboutToBeReset () |
|
void | modelReset () |
|
bool | moveColumn (const QModelIndex &sourceParent, int sourceColumn, const QModelIndex &destinationParent, int destinationChild) |
|
virtual bool | moveColumns (const QModelIndex &sourceParent, int sourceColumn, int count, const QModelIndex &destinationParent, int destinationChild) |
|
bool | moveRow (const QModelIndex &sourceParent, int sourceRow, const QModelIndex &destinationParent, int destinationChild) |
|
virtual bool | moveRows (const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) |
|
void | moveToThread (QThread *targetThread) |
|
virtual Q_INVOKABLE int | nodeCount () const |
|
QString | objectName () const |
|
void | objectNameChanged (const QString &objectName) |
|
virtual Q_INVOKABLE ParameterList | parameters () |
|
QObject * | parent () const |
|
virtual QModelIndex | parent (const QModelIndex &index) const =0 |
|
QSqlIndex | primaryKey () const |
|
void | primeInsert (int row, QSqlRecord &record) |
|
QVariant | property (const char *name) const |
|
virtual Q_INVOKABLE QSqlQuery | query () const |
|
QSqlRecord | record () const |
|
QSqlRecord | record (int row) const |
|
virtual Q_INVOKABLE QSqlRelation | relation (int column) const |
|
virtual Q_INVOKABLE QSqlTableModel * | relationModel (int column) const |
|
virtual Q_INVOKABLE void | removeChild (int index) |
|
virtual Q_INVOKABLE bool | removeColumn (int column, const QModelIndex &parent=QModelIndex()) |
|
virtual bool | removeColumns (int column, int count, const QModelIndex &parent) |
|
void | removeEventFilter (QObject *obj) |
|
bool | removeRow (int row, const QModelIndex &parent) |
|
virtual bool | removeRows (int row, int count, const QModelIndex &parent) |
|
virtual void | revert () |
|
void | revertAll () |
|
virtual void | revertRow (int row) |
|
virtual QHash< int, QByteArray > | roleNames () const |
|
virtual int | rowCount (const QModelIndex &parent) const |
|
void | rowsAboutToBeInserted (const QModelIndex &parent, int start, int end) |
|
void | rowsAboutToBeMoved (const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow) |
|
void | rowsAboutToBeRemoved (const QModelIndex &parent, int first, int last) |
|
void | rowsInserted (const QModelIndex &parent, int first, int last) |
|
void | rowsMoved (const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row) |
|
void | rowsRemoved (const QModelIndex &parent, int first, int last) |
|
virtual Q_INVOKABLE bool | save () |
|
Q_INVOKABLE bool | select () |
|
virtual bool | selectRow (int row) |
|
virtual Q_INVOKABLE QString | selectStatement () const |
|
virtual Q_INVOKABLE void | set (ParameterList params) |
|
Q_INVOKABLE void | setColumnRole (int column, int role, QVariant value) |
|
Q_INVOKABLE bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
|
virtual void | setEditStrategy (EditStrategy strategy) |
|
virtual void | setFilter (const QString &filter) |
|
virtual Q_INVOKABLE bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole) |
|
virtual Q_INVOKABLE bool | setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles) |
|
void | setJoinMode (QSqlRelationalTableModel::JoinMode joinMode) |
|
Q_INVOKABLE void | setKeys (int keyColumns) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
void | setQuery (const QString &query, const QSqlDatabase &db) |
|
bool | setRecord (int row, const QSqlRecord &values) |
|
virtual Q_INVOKABLE void | setRelation (int column, const QSqlRelation &relation) |
|
virtual void | setSort (int column, Qt::SortOrder order) |
|
void | setSupportedDragActions (Qt::DropActions actions) |
|
virtual void | setTable (const QString &table) |
|
virtual Q_INVOKABLE void | setTable (const QString &tableName, int keyColumns) |
|
virtual Q_INVOKABLE QModelIndex | sibling (int row, int column, const QModelIndex &index) const |
|
bool | signalsBlocked () const |
|
virtual void | sort (int column, Qt::SortOrder order) |
|
virtual Q_INVOKABLE QSize | span (const QModelIndex &index) const |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
virtual bool | submit () |
|
bool | submitAll () |
|
virtual Q_INVOKABLE Qt::DropActions | supportedDragActions () const |
|
virtual Q_INVOKABLE Qt::DropActions | supportedDropActions () const |
|
QString | tableName () const |
|
QThread * | thread () const |
|
virtual Q_INVOKABLE QString | toString () const |
|