QAbstractListModel
#include <QtCore/QAbstractListModel>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QAbstractListModel
Overview
Inheritance
QAbstractItemModel | ||
QAbstractListModel |
Public Functions Index
QAbstractListModel (QObject *parent=0) | |
~QAbstractListModel () | |
virtual bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
virtual QModelIndex | index (int row, int column=0, const QModelIndex &parent=QModelIndex()) const |
virtual QModelIndex | buddy (const QModelIndex &index) const ![]() |
virtual bool | canFetchMore (const QModelIndex &parent) const ![]() |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const =0![]() |
virtual void | fetchMore (const QModelIndex &parent)![]() |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const ![]() |
bool | hasIndex (int row, int column, const QModelIndex &parent=QModelIndex()) const ![]() |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const ![]() |
bool | insertColumn (int column, const QModelIndex &parent=QModelIndex())![]() |
virtual bool | insertColumns (int column, int count, const QModelIndex &parent=QModelIndex())![]() |
bool | insertRow (int row, const QModelIndex &parent=QModelIndex())![]() |
virtual bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex())![]() |
virtual QMap< int, QVariant > | itemData (const QModelIndex &index) const ![]() |
virtual QModelIndexList | match (const QModelIndex &start, int role, const QVariant &value, int hits=1, Qt::MatchFlags flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const ![]() |
virtual QMimeData * | mimeData (const QModelIndexList &indexes) const ![]() |
virtual QStringList | mimeTypes () const ![]() |
QAbstractItemModel (QObject *parent=0)![]() | |
bool | removeColumn (int column, const QModelIndex &parent=QModelIndex())![]() |
virtual bool | removeColumns (int column, int count, const QModelIndex &parent=QModelIndex())![]() |
bool | removeRow (int row, const QModelIndex &parent=QModelIndex())![]() |
virtual bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex())![]() |
const QHash< int, QByteArray > & | roleNames () const ![]() |
int | rowCount (const QModelIndex &parent=QModelIndex()) const =0![]() |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)![]() |
virtual bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole)![]() |
virtual bool | setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles)![]() |
void | setSupportedDragActions (Qt::DropActions)![]() |
QModelIndex | sibling (int row, int column, const QModelIndex &idx) const ![]() |
virtual void | sort (int column, Qt::SortOrder order=Qt::AscendingOrder)![]() |
virtual QSize | span (const QModelIndex &index) const ![]() |
Qt::DropActions | supportedDragActions () const ![]() |
virtual Qt::DropActions | supportedDropActions () const ![]() |
Protected Functions Index
QAbstractListModel (QAbstractItemModelPrivate &dd, QObject *parent) | |
void | beginInsertColumns (const QModelIndex &parent, int first, int last)![]() |
void | beginInsertRows (const QModelIndex &parent, int first, int last)![]() |
bool | beginMoveColumns (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationColumn)![]() |
bool | beginMoveRows (const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationRow)![]() |
void | beginRemoveColumns (const QModelIndex &parent, int first, int last)![]() |
void | beginRemoveRows (const QModelIndex &parent, int first, int last)![]() |
void | beginResetModel ()![]() |
void | changePersistentIndex (const QModelIndex &from, const QModelIndex &to)![]() |
void | changePersistentIndexList (const QModelIndexList &from, const QModelIndexList &to)![]() |
QModelIndex | createIndex (int row, int column, void *data=0) const ![]() |
QModelIndex | createIndex (int row, int column, int id) const ![]() |
QModelIndex | createIndex (int row, int column, quint32 id) const ![]() |
bool | decodeData (int row, int column, const QModelIndex &parent, QDataStream &stream)![]() |
void | encodeData (const QModelIndexList &indexes, QDataStream &stream) const ![]() |
void | endInsertColumns ()![]() |
void | endInsertRows ()![]() |
void | endMoveColumns ()![]() |
void | endMoveRows ()![]() |
void | endRemoveColumns ()![]() |
void | endRemoveRows ()![]() |
void | endResetModel ()![]() |
QModelIndexList | persistentIndexList () const ![]() |
QAbstractItemModel (QAbstractItemModelPrivate &dd, QObject *parent=0)![]() | |
void | reset ()![]() |
void | setRoleNames (const QHash< int, QByteArray > &roleNames)![]() |
Signals Index
Only has inherited signals
void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)![]() |
void | headerDataChanged (Qt::Orientation orientation, int first, int last)![]() |
void | layoutAboutToBeChanged ()![]() |
void | layoutChanged ()![]() |
Public Functions
Destructor.
virtual bool
virtualQModelIndex
virtualQModelIndex 
virtual bool 
virtual void 
virtual Qt::ItemFlags 
bool 
virtualQVariant 
bool 
virtual bool 
bool 
virtual bool 
virtualQModelIndexList 
virtualQMimeData * 
virtualQStringList 
bool 
virtual bool 
bool 
virtual bool 
const QHash< int, QByteArray > & 
int 
virtual bool 
virtual bool 
virtual bool 
void 
virtual void 
virtualQSize 
Qt::DropActions 
virtual Qt::DropActions 
Protected Functions
void 
void 
bool 
bool 
void 
void 
void 
void 
void 
bool 
void 
void 
void 
void 
void 
void 
void 
void 
void 
void 
Public Slots
(Only has inherited public slots)
virtual void 
virtual bool 
Signals
(Only has inherited signals)
void 
void 
void 
void 
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy