#include <xsqltablemodelproto.h>
Public Member Functions | |
XSqlTableModelProto (QObject *parent=0) | |
Q_INVOKABLE void | appendChild (XSqlTableNode *child) |
Q_INVOKABLE XSqlTableNode * | appendChild (const QString &tableName, ParameterList &relations) |
Q_INVOKABLE QModelIndex | buddy (const QModelIndex &index) const |
Q_INVOKABLE bool | canFetchMore (const QModelIndex &parent=QModelIndex()) const |
Q_INVOKABLE XSqlTableNode * | child (int index) |
Q_INVOKABLE XSqlTableNode * | child (const QString &tableName) |
Q_INVOKABLE QList< XSqlTableNode * > | children () |
Q_INVOKABLE void | clear () |
Q_INVOKABLE void | clearChildren () |
Q_INVOKABLE int | columnCount (const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE QVariant | data (const QModelIndex &item, int role=Qt::DisplayRole) const |
Q_INVOKABLE QSqlDatabase | database () const |
Q_INVOKABLE bool | dropMimeData (const QMimeData *data, int action, int row, int column, const QModelIndex &parent) |
Q_INVOKABLE int | editStrategy () const |
Q_INVOKABLE void | fetchMore (const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE int | fieldIndex (const QString &fieldName) const |
Q_INVOKABLE QString | filter () const |
Q_INVOKABLE int | flags (const QModelIndex &index) const |
Q_INVOKABLE bool | hasIndex (int row, int column, const QModelIndex &parent=QModelIndex()) const |
Q_INVOKABLE QVariant | headerData (int section, int orientation, int role=Qt::DisplayRole) const |
Q_INVOKABLE QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
Q_INVOKABLE bool | insertColumn (int column, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE bool | insertColumns (int column, int count, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE bool | insertRecord (int row, const QSqlRecord &record) |
Q_INVOKABLE bool | insertRow (int row, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE bool | isDirty (const QModelIndex &index) const |
Q_INVOKABLE QMap< int, QVariant > | itemData (const QModelIndex &index) const |
Q_INVOKABLE QSqlError | lastError () const |
Q_INVOKABLE void | load (int row) |
Q_INVOKABLE void | loadAll () |
Q_INVOKABLE QModelIndexList | match (const QModelIndex &start, int role, const QVariant &value, int hits=1, int flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const |
Q_INVOKABLE QMimeData * | mimeData (const QModelIndexList &indexes) const |
Q_INVOKABLE QStringList | mimeTypes () const |
Q_INVOKABLE int | nodeCount () |
Q_INVOKABLE ParameterList | parameters () |
Q_INVOKABLE QSqlIndex | primaryKey () const |
Q_INVOKABLE QSqlQuery | query () const |
Q_INVOKABLE QSqlRecord | record () const |
Q_INVOKABLE QSqlRecord | record (int row) const |
Q_INVOKABLE QSqlRelation | relation (int column) const |
Q_INVOKABLE QSqlTableModel * | relationModel (int column) const |
Q_INVOKABLE void | removeChild (int index) |
Q_INVOKABLE bool | removeColumn (int column, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE bool | removeColumns (int column, int count, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE void | revertRow (int row) |
Q_INVOKABLE int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Q_INVOKABLE bool | save () |
Q_INVOKABLE bool | select () |
Q_INVOKABLE void | set (ParameterList params) |
Q_INVOKABLE bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
Q_INVOKABLE void | setEditStrategy (int strategy) |
Q_INVOKABLE void | setFilter (const QString &filter) |
Q_INVOKABLE bool | setHeaderData (int section, int orientation, const QVariant &value, int role=Qt::EditRole) |
Q_INVOKABLE bool | setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles) |
Q_INVOKABLE void | setKeys (int keyColumns) |
Q_INVOKABLE bool | setRecord (int row, const QSqlRecord &record) |
Q_INVOKABLE void | setRelation (int column, const QSqlRelation &relation) |
Q_INVOKABLE void | setSort (int column, int order) |
Q_INVOKABLE void | setSupportedDragActions (int actions) |
Q_INVOKABLE void | setTable (const QString &tableName, int keyColumns) |
Q_INVOKABLE QModelIndex | sibling (int row, int column, const QModelIndex &index) const |
Q_INVOKABLE void | sort (int column, int order=Qt::AscendingOrder) |
Q_INVOKABLE QSize | span (const QModelIndex &index) const |
Q_INVOKABLE int | supportedDragActions () const |
Q_INVOKABLE int | supportedDropActions () const |
Q_INVOKABLE QString | tableName () const |
Q_INVOKABLE QString | toString () const |
XSqlTableModelProto::XSqlTableModelProto | ( | QObject * | parent = 0 | ) |
void XSqlTableModelProto::appendChild | ( | XSqlTableNode * | child | ) |
XSqlTableNode * XSqlTableModelProto::appendChild | ( | const QString & | tableName, |
ParameterList & | relations | ||
) |
QModelIndex XSqlTableModelProto::buddy | ( | const QModelIndex & | index | ) | const |
bool XSqlTableModelProto::canFetchMore | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
XSqlTableNode * XSqlTableModelProto::child | ( | int | index | ) |
XSqlTableNode * XSqlTableModelProto::child | ( | const QString & | tableName | ) |
QList< XSqlTableNode * > XSqlTableModelProto::children | ( | ) |
void XSqlTableModelProto::clear | ( | ) |
void XSqlTableModelProto::clearChildren | ( | ) |
int XSqlTableModelProto::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) |
QVariant XSqlTableModelProto::data | ( | const QModelIndex & | item, |
int | role = Qt::DisplayRole |
||
) | const |
QSqlDatabase XSqlTableModelProto::database | ( | ) | const |
bool XSqlTableModelProto::dropMimeData | ( | const QMimeData * | data, |
int | action, | ||
int | row, | ||
int | column, | ||
const QModelIndex & | parent | ||
) |
int XSqlTableModelProto::editStrategy | ( | ) | const |
void XSqlTableModelProto::fetchMore | ( | const QModelIndex & | parent = QModelIndex() | ) |
int XSqlTableModelProto::fieldIndex | ( | const QString & | fieldName | ) | const |
QString XSqlTableModelProto::filter | ( | ) | const |
int XSqlTableModelProto::flags | ( | const QModelIndex & | index | ) | const |
bool XSqlTableModelProto::hasIndex | ( | int | row, |
int | column, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const |
QVariant XSqlTableModelProto::headerData | ( | int | section, |
int | orientation, | ||
int | role = Qt::DisplayRole |
||
) | const |
QModelIndex XSqlTableModelProto::index | ( | int | row, |
int | column, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const |
bool XSqlTableModelProto::insertColumn | ( | int | column, |
const QModelIndex & | parent = QModelIndex() |
||
) |
bool XSqlTableModelProto::insertColumns | ( | int | column, |
int | count, | ||
const QModelIndex & | parent = QModelIndex() |
||
) |
bool XSqlTableModelProto::insertRecord | ( | int | row, |
const QSqlRecord & | record | ||
) |
bool XSqlTableModelProto::insertRow | ( | int | row, |
const QModelIndex & | parent = QModelIndex() |
||
) |
bool XSqlTableModelProto::insertRows | ( | int | row, |
int | count, | ||
const QModelIndex & | parent = QModelIndex() |
||
) |
bool XSqlTableModelProto::isDirty | ( | const QModelIndex & | index | ) | const |
QMap< int, QVariant > XSqlTableModelProto::itemData | ( | const QModelIndex & | index | ) | const |
QSqlError XSqlTableModelProto::lastError | ( | ) | const |
void XSqlTableModelProto::load | ( | int | row | ) |
void XSqlTableModelProto::loadAll | ( | ) |
QModelIndexList XSqlTableModelProto::match | ( | const QModelIndex & | start, |
int | role, | ||
const QVariant & | value, | ||
int | hits = 1 , |
||
int | flags = Qt::MatchFlags(Qt::MatchStartsWith | Qt::MatchWrap) |
||
) | const |
QMimeData * XSqlTableModelProto::mimeData | ( | const QModelIndexList & | indexes | ) | const |
QStringList XSqlTableModelProto::mimeTypes | ( | ) | const |
int XSqlTableModelProto::nodeCount | ( | ) |
ParameterList XSqlTableModelProto::parameters | ( | ) |
QSqlIndex XSqlTableModelProto::primaryKey | ( | ) | const |
QSqlQuery XSqlTableModelProto::query | ( | ) | const |
QSqlRecord XSqlTableModelProto::record | ( | ) | const |
QSqlRecord XSqlTableModelProto::record | ( | int | row | ) | const |
QSqlRelation XSqlTableModelProto::relation | ( | int | column | ) | const |
QSqlTableModel * XSqlTableModelProto::relationModel | ( | int | column | ) | const |
void XSqlTableModelProto::removeChild | ( | int | index | ) |
bool XSqlTableModelProto::removeColumn | ( | int | column, |
const QModelIndex & | parent = QModelIndex() |
||
) |
bool XSqlTableModelProto::removeColumns | ( | int | column, |
int | count, | ||
const QModelIndex & | parent = QModelIndex() |
||
) |
bool XSqlTableModelProto::removeRows | ( | int | row, |
int | count, | ||
const QModelIndex & | parent = QModelIndex() |
||
) |
void XSqlTableModelProto::revertRow | ( | int | row | ) |
int XSqlTableModelProto::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
bool XSqlTableModelProto::save | ( | ) |
bool XSqlTableModelProto::select | ( | ) |
void XSqlTableModelProto::set | ( | ParameterList | params | ) |
bool XSqlTableModelProto::setData | ( | const QModelIndex & | index, |
const QVariant & | value, | ||
int | role = Qt::EditRole |
||
) |
void XSqlTableModelProto::setEditStrategy | ( | int | strategy | ) |
void XSqlTableModelProto::setFilter | ( | const QString & | filter | ) |
bool XSqlTableModelProto::setHeaderData | ( | int | section, |
int | orientation, | ||
const QVariant & | value, | ||
int | role = Qt::EditRole |
||
) |
bool XSqlTableModelProto::setItemData | ( | const QModelIndex & | index, |
const QMap< int, QVariant > & | roles | ||
) |
void XSqlTableModelProto::setKeys | ( | int | keyColumns | ) |
bool XSqlTableModelProto::setRecord | ( | int | row, |
const QSqlRecord & | record | ||
) |
void XSqlTableModelProto::setRelation | ( | int | column, |
const QSqlRelation & | relation | ||
) |
void XSqlTableModelProto::setSort | ( | int | column, |
int | order | ||
) |
void XSqlTableModelProto::setSupportedDragActions | ( | int | actions | ) |
void XSqlTableModelProto::setTable | ( | const QString & | tableName, |
int | keyColumns | ||
) |
QModelIndex XSqlTableModelProto::sibling | ( | int | row, |
int | column, | ||
const QModelIndex & | index | ||
) | const |
void XSqlTableModelProto::sort | ( | int | column, |
int | order = Qt::AscendingOrder |
||
) |
QSize XSqlTableModelProto::span | ( | const QModelIndex & | index | ) | const |
int XSqlTableModelProto::supportedDragActions | ( | ) | const |
int XSqlTableModelProto::supportedDropActions | ( | ) | const |
QString XSqlTableModelProto::tableName | ( | ) | const |
QString XSqlTableModelProto::toString | ( | ) | const |
Generated on Fri Oct 7 2016 14:23:35 | xTuple ERP Programmer Reference, Version 4.2.0 | 1.8.10 |