Qt 5.15
Qt SQL
C++ Classes
QSqlTableModel
Qt 5.15.16 Reference Documentation
List of All Members for QSqlTableModel
This is the complete list of members for
QSqlTableModel
, including inherited members.
enum class
CheckIndexOption
typedef
CheckIndexOptions
enum
EditStrategy
enum
LayoutChangeHint
QSqlTableModel
(QObject *, QSqlDatabase )
beforeDelete
(int )
beforeInsert
(QSqlRecord &)
beforeUpdate
(int , QSqlRecord &)
dataChanged
(const QModelIndex &, const QModelIndex &, const QVector<int> &)
deleteLater
()
destroyed
(QObject *)
headerDataChanged
(Qt::Orientation , int , int )
layoutAboutToBeChanged
(const QList<QPersistentModelIndex> &, QAbstractItemModel::LayoutChangeHint )
layoutChanged
(const QList<QPersistentModelIndex> &, QAbstractItemModel::LayoutChangeHint )
objectNameChanged
(const QString &,
QPrivateSignal
)
primeInsert
(int , QSqlRecord &)
resetInternalData
()
revert
()
revertAll
()
select
() : bool
selectRow
(int ) : bool
submit
() : bool
submitAll
() : bool
~QSqlTableModel
()
beginInsertColumns
(const QModelIndex &, int , int )
beginInsertRows
(const QModelIndex &, int , int )
beginMoveColumns
(const QModelIndex &, int , int , const QModelIndex &, int ) : bool
beginMoveRows
(const QModelIndex &, int , int , const QModelIndex &, int ) : bool
beginRemoveColumns
(const QModelIndex &, int , int )
beginRemoveRows
(const QModelIndex &, int , int )
beginResetModel
()
blockSignals
(bool ) : bool
buddy
(const QModelIndex &) const : QModelIndex
canDropMimeData
(const QMimeData *, Qt::DropAction , int , int , const QModelIndex &) const : bool
canFetchMore
(const QModelIndex &) const : bool
changePersistentIndex
(const QModelIndex &, const QModelIndex &)
changePersistentIndexList
(const QModelIndexList &, const QModelIndexList &)
checkIndex
(const QModelIndex &, CheckIndexOptions ) const : bool
childEvent
(QChildEvent *)
children
() const : const QObjectList &
clear
()
columnCount
(const QModelIndex &) const : int
connect
(const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType ) : QMetaObject::Connection
connect
(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &, Qt::ConnectionType ) : QMetaObject::Connection
connect
(const QObject *, const char *, const char *, Qt::ConnectionType ) const : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction , const QObject *, PointerToMemberFunction , Qt::ConnectionType ) : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction , Functor ) : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction , const QObject *, Functor , Qt::ConnectionType ) : QMetaObject::Connection
connectNotify
(const QMetaMethod &)
createIndex
(int , int , void *) const : QModelIndex
createIndex
(int , int , quintptr ) const : QModelIndex
customEvent
(QEvent *)
data
(const QModelIndex &, int ) const : QVariant
database
() const : QSqlDatabase
deleteRowFromTable
(int ) : bool
disconnect
(const QObject *, const char *, const QObject *, const char *) : bool
disconnect
(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &) : bool
disconnect
(const char *, const QObject *, const char *) const : bool
disconnect
(const QObject *, const char *) const : bool
disconnect
(const QMetaObject::Connection &) : bool
disconnect
(const QObject *, PointerToMemberFunction , const QObject *, PointerToMemberFunction ) : bool
disconnectNotify
(const QMetaMethod &)
dropMimeData
(const QMimeData *, Qt::DropAction , int , int , const QModelIndex &) : bool
dumpObjectInfo
() const
dumpObjectTree
() const
dynamicPropertyNames
() const : QList<QByteArray>
editStrategy
() const : EditStrategy
endInsertColumns
()
endInsertRows
()
endMoveColumns
()
endMoveRows
()
endRemoveColumns
()
endRemoveRows
()
endResetModel
()
event
(QEvent *) : bool
eventFilter
(QObject *, QEvent *) : bool
fetchMore
(const QModelIndex &)
fieldIndex
(const QString &) const : int
filter
() const : QString
findChild
(const QString &, Qt::FindChildOptions ) const : T
findChildren
(const QString &, Qt::FindChildOptions ) const : QList<T>
findChildren
(const QRegularExpression &, Qt::FindChildOptions ) const : QList<T>
flags
(const QModelIndex &) const : Qt::ItemFlags
hasChildren
(const QModelIndex &) const : bool
hasIndex
(int , int , const QModelIndex &) const : bool
headerData
(int , Qt::Orientation , int ) const : QVariant
index
(int , int , const QModelIndex &) const : QModelIndex
indexInQuery
(const QModelIndex &) const : QModelIndex
inherits
(const char *) const : bool
insertColumn
(int , const QModelIndex &) : bool
insertColumns
(int , int , const QModelIndex &) : bool
insertRecord
(int , const QSqlRecord &) : bool
insertRow
(int , const QModelIndex &) : bool
insertRowIntoTable
(const QSqlRecord &) : bool
insertRows
(int , int , const QModelIndex &) : bool
installEventFilter
(QObject *)
isDirty
(const QModelIndex &) const : bool
isDirty
() const : bool
isSignalConnected
(const QMetaMethod &) const : bool
isWidgetType
() const : bool
isWindowType
() const : bool
itemData
(const QModelIndex &) const : QMap<int, QVariant>
killTimer
(int )
lastError
() const : QSqlError
match
(const QModelIndex &, int , const QVariant &, int , Qt::MatchFlags ) const : QModelIndexList
metaObject
() const : const QMetaObject *
mimeData
(const QModelIndexList &) const : QMimeData *
mimeTypes
() const : QStringList
moveColumn
(const QModelIndex &, int , const QModelIndex &, int ) : bool
moveColumns
(const QModelIndex &, int , int , const QModelIndex &, int ) : bool
moveRow
(const QModelIndex &, int , const QModelIndex &, int ) : bool
moveRows
(const QModelIndex &, int , int , const QModelIndex &, int ) : bool
moveToThread
(QThread *)
objectName
() const : QString
orderByClause
() const : QString
parent
(const QModelIndex &) const : QModelIndex
persistentIndexList
() const : QModelIndexList
primaryKey
() const : QSqlIndex
primaryValues
(int ) const : QSqlRecord
property
(const char *) const : QVariant
query
() const : QSqlQuery
queryChange
()
receivers
(const char *) const : int
record
() const : QSqlRecord
record
(int ) const : QSqlRecord
removeColumn
(int , const QModelIndex &) : bool
removeColumns
(int , int , const QModelIndex &) : bool
removeEventFilter
(QObject *)
removeRow
(int , const QModelIndex &) : bool
removeRows
(int , int , const QModelIndex &) : bool
revertRow
(int )
roleNames
() const : QHash<int, QByteArray>
rowCount
(const QModelIndex &) const : int
selectStatement
() const : QString
sender
() const : QObject *
senderSignalIndex
() const : int
setData
(const QModelIndex &, const QVariant &, int ) : bool
setEditStrategy
(EditStrategy )
setFilter
(const QString &)
setHeaderData
(int , Qt::Orientation , const QVariant &, int ) : bool
setItemData
(const QModelIndex &, const QMap<int, QVariant> &) : bool
setLastError
(const QSqlError &)
setObjectName
(const QString &)
setParent
(QObject *)
setPrimaryKey
(const QSqlIndex &)
setProperty
(const char *, const QVariant &) : bool
setQuery
(const QSqlQuery &)
setQuery
(const QString &, const QSqlDatabase &)
setRecord
(int , const QSqlRecord &) : bool
setSort
(int , Qt::SortOrder )
setTable
(const QString &)
sibling
(int , int , const QModelIndex &) const : QModelIndex
signalsBlocked
() const : bool
sort
(int , Qt::SortOrder )
span
(const QModelIndex &) const : QSize
startTimer
(int , Qt::TimerType ) : int
startTimer
(std::chrono::milliseconds , Qt::TimerType ) : int
staticMetaObject
:
supportedDragActions
() const : Qt::DropActions
supportedDropActions
() const : Qt::DropActions
tableName
() const : QString
thread
() const : QThread *
timerEvent
(QTimerEvent *)
tr
(const char *, const char *, int ) : QString
updateRowInTable
(int , const QSqlRecord &) : bool