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 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)
- 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)
- 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, 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)
- QStandardItem * itemFromIndex(const QModelIndex & index)
- const QStandardItem * itemPrototype()
- 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)
- 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()
- QStandardItem * takeHorizontalHeaderItem(int column)
- QStandardItem * takeItem(int row, int column)
- QStandardItem * takeItem(int row, int column = 0)
- 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.