NAME
Qt::Gui::QStandardItemModel
PUBLIC METHODS
- QStandardItemModel(QObject * parent)
- QStandardItemModel(QObject * parent = 0)
- QStandardItemModel(int rows, int columns, QObject * parent)
- QStandardItemModel(int rows, int columns, QObject * parent = 0)
- ~QStandardItemModel()
- void appendColumn(const QList<QStandardItem *> & items)
- void appendRow(const QList<QStandardItem *> & items)
- void appendRow(QStandardItem * item)
- void clear()
- int columnCount(const QModelIndex & parent)
- int columnCount(const QModelIndex & parent = QModelIndex())
- QVariant data(const QModelIndex & index, int role)
- QVariant data(const QModelIndex & index, int role = Qt::DisplayRole)
- bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent)
- QList<QStandardItem *> findItems(const QString & text, QFlags<Qt::MatchFlag> flags, int column)
- QList<QStandardItem *> findItems(const QString & text, QFlags<Qt::MatchFlag> flags, int column = 0)
- QList<QStandardItem *> findItems(const QString & text, QFlags<Qt::MatchFlag> flags = Qt::MatchExactly, int column = 0)
- QFlags<Qt::ItemFlag> flags(const QModelIndex & index)
- bool hasChildren(const QModelIndex & parent)
- bool hasChildren(const QModelIndex & parent = QModelIndex())
- QVariant headerData(int section, Qt::Orientation orientation, int role)
- QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole)
- QStandardItem * horizontalHeaderItem(int column)
- QModelIndex index(int row, int column, const QModelIndex & parent)
- QModelIndex index(int row, int column, const QModelIndex & parent = QModelIndex())
- QModelIndex indexFromItem(const QStandardItem * item)
- void insertColumn(int column, const QList<QStandardItem *> & items)
- bool insertColumn(int column, const QModelIndex & parent)
- bool insertColumn(int column, const QModelIndex & parent = QModelIndex())
- bool insertColumns(int column, int count, const QModelIndex & parent)
- bool insertColumns(int column, int count, const QModelIndex & parent = QModelIndex())
- void insertRow(int row, const QList<QStandardItem *> & items)
- void insertRow(int row, QStandardItem * item)
- bool insertRow(int row, const QModelIndex & parent)
- bool insertRow(int row, const QModelIndex & parent = QModelIndex())
- bool insertRows(int row, int count, const QModelIndex & parent)
- bool insertRows(int row, int count, const QModelIndex & parent = QModelIndex())
- QStandardItem * invisibleRootItem()
- QStandardItem * item(int row, int column)
- QStandardItem * item(int row, int column = 0)
- QMap<int,QVariant> itemData(const QModelIndex & index)
- QStandardItem * itemFromIndex(const QModelIndex & index)
- const QStandardItem * itemPrototype()
- QMimeData * mimeData(const QList<QModelIndex> & indexes)
- QStringList mimeTypes()
- QModelIndex parent(const QModelIndex & child)
- bool removeColumns(int column, int count, const QModelIndex & parent)
- bool removeColumns(int column, int count, const QModelIndex & parent = QModelIndex())
- bool removeRows(int row, int count, const QModelIndex & parent)
- bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex())
- int rowCount(const QModelIndex & parent)
- int rowCount(const QModelIndex & parent = QModelIndex())
- void setColumnCount(int columns)
- bool setData(const QModelIndex & index, const QVariant & value, int role)
- bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole)
- bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role)
- bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role = Qt::EditRole)
- void setHorizontalHeaderItem(int column, QStandardItem * item)
- void setHorizontalHeaderLabels(const QStringList & labels)
- void setItem(int row, QStandardItem * item)
- void setItem(int row, int column, QStandardItem * item)
- bool setItemData(const QModelIndex & index, const QMap<int,QVariant> & roles)
- void setItemPrototype(const QStandardItem * item)
- void setRowCount(int rows)
- void setSortRole(int role)
- void setVerticalHeaderItem(int row, QStandardItem * item)
- void setVerticalHeaderLabels(const QStringList & labels)
- void sort(int column, Qt::SortOrder order)
- void sort(int column, Qt::SortOrder order = Qt::AscendingOrder)
- int sortRole()
- QFlags<Qt::DropAction> supportedDropActions()
- QList<QStandardItem *> takeColumn(int column)
- QStandardItem * takeHorizontalHeaderItem(int column)
- QStandardItem * takeItem(int row, int column)
- QStandardItem * takeItem(int row, int column = 0)
- QList<QStandardItem *> takeRow(int row)
- QStandardItem * takeVerticalHeaderItem(int row)
- QStandardItem * verticalHeaderItem(int row)
ENUM VALUES
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.