# QStandardItemModel Class Reference
## [[QtGui](index.htm) module]
该QStandardItemModel类提供用于存储自定义数据的通用模型。[More...](#details)
继承[QAbstractItemModel](qabstractitemmodel.html)。
### Methods
* `__init__ (self, QObject parent = None)`
* `__init__ (self, int rows, int columns, QObject parent = None)`
* `appendColumn (self, list-of-QStandardItem items)`
* `appendRow (self, list-of-QStandardItem items)`
* `appendRow (self, QStandardItem aitem)`
* `clear (self)`
* `int columnCount (self, QModelIndex parent = QModelIndex())`
* `QVariant data (self, QModelIndex index, int role = Qt.DisplayRole)`
* `bool dropMimeData (self, QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)`
* `list-of-QStandardItem findItems (self, QString text, Qt.MatchFlags flags = Qt.MatchExactly, int column = 0)`
* `Qt.ItemFlags flags (self, QModelIndex index)`
* `bool hasChildren (self, QModelIndex parent = QModelIndex())`
* `QVariant headerData (self, int section, Qt.Orientation orientation, int role = Qt.DisplayRole)`
* `QStandardItem horizontalHeaderItem (self, int column)`
* `QModelIndex index (self, int row, int column, QModelIndex parent = QModelIndex())`
* `QModelIndex indexFromItem (self, QStandardItem item)`
* `insertColumn (self, int column, list-of-QStandardItem items)`
* `bool insertColumn (self, int column, QModelIndex parent = QModelIndex())`
* `bool insertColumns (self, int column, int count, QModelIndex parent = QModelIndex())`
* `insertRow (self, int row, list-of-QStandardItem items)`
* `insertRow (self, int arow, QStandardItem aitem)`
* `bool insertRow (self, int row, QModelIndex parent = QModelIndex())`
* `bool insertRows (self, int row, int count, QModelIndex parent = QModelIndex())`
* `QStandardItem invisibleRootItem (self)`
* `QStandardItem item (self, int row, int column = 0)`
* `dict-of-int-QVariant itemData (self, QModelIndex index)`
* `QStandardItem itemFromIndex (self, QModelIndex index)`
* `QStandardItem itemPrototype (self)`
* `QMimeData mimeData (self, list-of-QModelIndex indexes)`
* `QStringList mimeTypes (self)`
* `QModelIndex parent (self, QModelIndex child)`
* `QObject parent (self)`
* `bool removeColumns (self, int column, int count, QModelIndex parent = QModelIndex())`
* `bool removeRows (self, int row, int count, QModelIndex parent = QModelIndex())`
* `int rowCount (self, QModelIndex parent = QModelIndex())`
* `setColumnCount (self, int columns)`
* `bool setData (self, QModelIndex index, QVariant value, int role = Qt.EditRole)`
* `bool setHeaderData (self, int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)`
* `setHorizontalHeaderItem (self, int column, QStandardItem item)`
* `setHorizontalHeaderLabels (self, QStringList labels)`
* `setItem (self, int row, int column, QStandardItem item)`
* `setItem (self, int arow, QStandardItem aitem)`
* `bool setItemData (self, QModelIndex index, dict-of-int-QVariant roles)`
* `setItemPrototype (self, QStandardItem item)`
* `setRowCount (self, int rows)`
* `setSortRole (self, int role)`
* `setVerticalHeaderItem (self, int row, QStandardItem item)`
* `setVerticalHeaderLabels (self, QStringList labels)`
* `sort (self, int column, Qt.SortOrder order = Qt.AscendingOrder)`
* `int sortRole (self)`
* `Qt.DropActions supportedDropActions (self)`
* `list-of-QStandardItem takeColumn (self, int column)`
* `QStandardItem takeHorizontalHeaderItem (self, int column)`
* `QStandardItem takeItem (self, int row, int column = 0)`
* `list-of-QStandardItem takeRow (self, int row)`
* `QStandardItem takeVerticalHeaderItem (self, int row)`
* `QStandardItem verticalHeaderItem (self, int row)`
### Qt Signals
* `void itemChanged (QStandardItem *)`
* * *
## Detailed Description
该QStandardItemModel类提供用于存储自定义数据的通用模型。
QStandardItemModel可以作为标准的Qt数据类型的存储库。它是一[Model/View Classes](index.htm)并且是Qt的一部分[model/view](index.htm)框架。
QStandardItemModel提供了一个典型的项目为基础的方法与模型的工作。在QStandardItemModel的项目是由提供[QStandardItem](qstandarditem.html)。
QStandardItemModel实现[QAbstractItemModel](qabstractitemmodel.html)接口,这意味着,该模型可以用来提供数据支持该接口(如任何视图[QListView](qlistview.html),[QTableView](qtableview.html)和[QTreeView](qtreeview.html),和你自己的自定义视图) 。对于性能和灵活性,你可能要继承[QAbstractItemModel](qabstractitemmodel.html)提供不同类型的数据存储库的支持。例如,本[QDirModel(obsolete)](qdirmodel.html)提供了一个模型界面到底层的文件系统。
当你想要一个列表或树,你可以创建一个空的QStandardItemModel和使用[appendRow](qstandarditemmodel.html#appendRow)( )将项目添加到模型中,并[item](qstandarditemmodel.html#item)()来存取项目。如果你的模型是一个表,通常需要传递的表的尺寸的QStandardItemModel的构造和使用[setItem](qstandarditemmodel.html#setItem)( )来定位的项目到表中。您也可以使用[setRowCount](qstandarditemmodel.html#setRowCount)()和[setColumnCount](qstandarditemmodel.html#setColumnCount)()来改变模型的尺寸。要插入的项目,使用[insertRow](qstandarditemmodel.html#insertRow)()或[insertColumn](qstandarditemmodel.html#insertColumn)( ) ,并删除项目,使用[removeRow](qabstractitemmodel.html#removeRow)()或[removeColumn](qabstractitemmodel.html#removeColumn)( ) 。
你可以设置你的模型的标题与标籤[setHorizontalHeaderLabels](qstandarditemmodel.html#setHorizontalHeaderLabels)()和[setVerticalHeaderLabels](qstandarditemmodel.html#setVerticalHeaderLabels)( ) 。
您可以在模型中的项目与搜索[findItems](qstandarditemmodel.html#findItems)() ,并且模型通过调用排序[sort](qstandarditemmodel.html#sort)( ) 。
Call [clear](qstandarditemmodel.html#clear)()从模型中删除所有项目。
QStandardItemModel的使用示例创建一个表:
```
QStandardItemModel model(4, 4);
for (int row = 0; row < 4; ++row) {
for (int column = 0; column < 4; ++column) {
[QStandardItem](qstandarditem.html) *item = new [QStandardItem](qstandarditem.html)([QString](qstring.html)("row %0, column %1").arg(row).arg(column));
model.setItem(row, column, item);
}
}
```
QStandardItemModel的使用示例创建树:
```
QStandardItemModel model;
[QStandardItem](qstandarditem.html) *parentItem = model.invisibleRootItem();
for (int i = 0; i < 4; ++i) {
[QStandardItem](qstandarditem.html) *item = new [QStandardItem](qstandarditem.html)([QString](qstring.html)("item %0").arg(i));
parentItem->appendRow(item);
parentItem = item;
}
```
设置模型的视图后,你通常需要响应用户操作,如被点击的项目。由于[QAbstractItemView](qabstractitemview.html)提供[QModelIndex](qmodelindex.html)为基础的信号和功能,你需要一种方法来获得[QStandardItem](qstandarditem.html)对应于一个给定的[QModelIndex](qmodelindex.html),反之亦然。[itemFromIndex](qstandarditemmodel.html#itemFromIndex)()和[indexFromItem](qstandarditemmodel.html#indexFromItem)( )提供这种映射。典型的用法[itemFromIndex](qstandarditemmodel.html#itemFromIndex)()包括:获取该项目的当前索引处的一个视图,并获得对应于由一个执行一个索引的资料[QAbstractItemView](qabstractitemview.html)信号,如[QAbstractItemView.clicked](qabstractitemview.html#clicked)( ) 。首先,你的观点的信号连接到您的班级插槽:
```
[QTreeView](qtreeview.html) *treeView = new [QTreeView](qtreeview.html)(this);
treeView->setModel(myStandardItemModel);
connect(treeView, SIGNAL(clicked([QModelIndex](qmodelindex.html))),
this, SLOT(clicked([QModelIndex](qmodelindex.html))));
```
当您收到信号,你叫[itemFromIndex](qstandarditemmodel.html#itemFromIndex)( )在给定的模型索引来获得一个指向文件:
```
void MyWidget.clicked(const [QModelIndex](qmodelindex.html) &index)
{
[QStandardItem](qstandarditem.html) *item = myStandardItemModel->itemFromIndex(index);
// Do stuff with the item ...
}
```
相反,你必须获得[QModelIndex](qmodelindex.html)当你要调用一个模型/视图函数,它接受一个索引作为参数的项目。您可以使用该模型的两种获取索引[indexFromItem](qstandarditemmodel.html#indexFromItem)()函数,或等价地,通过调用[QStandardItem.index](qstandarditem.html#index)():
```
treeView->scrollTo(item->index());
```
你当然不需要使用的项目为基础的方法,你可以代替完全依赖[QAbstractItemModel](qabstractitemmodel.html)接口与模型的工作,或者在两者的组合中适当的时候。
* * *
## Method Documentation
```
QStandardItemModel.__init__ (self, QObject parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个新的项目模型,给定_parent_。
```
QStandardItemModel.__init__ (self, int rows, int columns, QObject parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个新的项目模型,最初有_rows_行和_columns_列,并且具有给定_parent_。
```
QStandardItemModel.appendColumn (self, list-of-QStandardItem items)
```
该_items_说法有它的所有权转移给Qt的。
含追加一列_items_。如果有必要,该行数将增加至大小_items_。
这个函数中引入了Qt 4.2中。
**See also** [insertColumn](qstandarditemmodel.html#insertColumn)()和[appendRow](qstandarditemmodel.html#appendRow)( ) 。
```
QStandardItemModel.appendRow (self, list-of-QStandardItem items)
```
该_items_说法有它的所有权转移给Qt的。
含追加的行_items_。如果需要的话,列计数值增加到的大小_items_。
这个函数中引入了Qt 4.2中。
**See also** [insertRow](qstandarditemmodel.html#insertRow)()和[appendColumn](qstandarditemmodel.html#appendColumn)( ) 。
```
QStandardItemModel.appendRow (self, QStandardItem aitem)
```
该_aitem_说法有它的所有权转移给Qt的。
这是一个重载函数。
当建立一个列表,或者只有一列树,该功能提供了一种方便的方式来追加一个新_item_。
这个函数中引入了Qt 4.2中。
```
QStandardItemModel.clear (self)
```
从模型中删除所有项目(包括头项) ,并设置行数和列数为零。
**See also** [removeColumns](qstandarditemmodel.html#removeColumns)()和[removeRows](qstandarditemmodel.html#removeRows)( ) 。
```
int QStandardItemModel.columnCount (self, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.columnCount](qabstractitemmodel.html#columnCount)( ) 。
**See also** [setColumnCount](qstandarditemmodel.html#setColumnCount)( ) 。
```
QVariant QStandardItemModel.data (self, QModelIndex index, int role = Qt.DisplayRole)
```
从重新实现[QAbstractItemModel.data](qabstractitemmodel.html#data)( ) 。
**See also** [setData](qstandarditemmodel.html#setData)( ) 。
```
bool QStandardItemModel.dropMimeData (self, QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)
```
从重新实现[QAbstractItemModel.dropMimeData](qabstractitemmodel.html#dropMimeData)( ) 。
```
list-of-QStandardItem QStandardItemModel.findItems (self, QString text, Qt.MatchFlags flags = Qt.MatchExactly, int column = 0)
```
返回匹配给定的项目清单_text_,使用给定的_flags_在给定的_column_。
这个函数中引入了Qt 4.2中。
```
Qt.ItemFlags QStandardItemModel.flags (self, QModelIndex index)
```
[](index.htm)
[从重新实现](index.htm)[QAbstractItemModel.flags](qabstractitemmodel.html#flags)( ) 。
```
bool QStandardItemModel.hasChildren (self, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.hasChildren](qabstractitemmodel.html#hasChildren)( ) 。
```
QVariant QStandardItemModel.headerData (self, int section, Qt.Orientation orientation, int role = Qt.DisplayRole)
```
从重新实现[QAbstractItemModel.headerData](qabstractitemmodel.html#headerData)( ) 。
**See also** [setHeaderData](qstandarditemmodel.html#setHeaderData)( ) 。
```
QStandardItem QStandardItemModel.horizontalHeaderItem (self, int column)
```
[
返回水平标题项为_column_如果已经设置,否则返回0 。
这个函数中引入了Qt 4.2中。
](qstandarditem.html)
[**See also**](qstandarditem.html) [setHorizontalHeaderItem](qstandarditemmodel.html#setHorizontalHeaderItem)()和[verticalHeaderItem](qstandarditemmodel.html#verticalHeaderItem)( ) 。
```
QModelIndex QStandardItemModel.index (self, int row, int column, QModelIndex parent = QModelIndex())
```
[](qmodelindex.html)
[从重新实现](qmodelindex.html)[QAbstractItemModel.index](qabstractitemmodel.html#index)( ) 。
```
QModelIndex QStandardItemModel.indexFromItem (self, QStandardItem item)
```
[](qmodelindex.html)
[返回](qmodelindex.html)[QModelIndex](qmodelindex.html)用给定的相关联_item_。
当您要执行需要的操作使用此功能[QModelIndex](qmodelindex.html)该项目时,如[QAbstractItemView.scrollTo](qabstractitemview.html#scrollTo)( ) 。[QStandardItem.index](qstandarditem.html#index)( )是作为方便,它等效于调用这个函数。
这个函数中引入了Qt 4.2中。
**See also** [itemFromIndex](qstandarditemmodel.html#itemFromIndex)()和[QStandardItem.index](qstandarditem.html#index)( ) 。
```
QStandardItemModel.insertColumn (self, int column, list-of-QStandardItem items)
```
该_items_说法有它的所有权转移给Qt的。
在插入一列_column_ containing _items_。如果有必要,该行数将增加至大小_items_。
这个函数中引入了Qt 4.2中。
**See also** [takeColumn](qstandarditemmodel.html#takeColumn)( )[appendColumn](qstandarditemmodel.html#appendColumn)()和[insertRow](qstandarditemmodel.html#insertRow)( ) 。
```
bool QStandardItemModel.insertColumn (self, int column, QModelIndex parent = QModelIndex())
```
给定前插入一列_column_中的子项_parent_规定。返回True如果插入的列,否则返回False 。
**See also** [insertColumns](qstandarditemmodel.html#insertColumns)( )[insertRow](qstandarditemmodel.html#insertRow)()和[removeColumn](qabstractitemmodel.html#removeColumn)( ) 。
```
bool QStandardItemModel.insertColumns (self, int column, int count, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.insertColumns](qabstractitemmodel.html#insertColumns)( ) 。
```
QStandardItemModel.insertRow (self, int row, list-of-QStandardItem items)
```
该_items_说法有它的所有权转移给Qt的。
插入一个一行_row_ containing _items_。如果需要的话,列计数值增加到的大小_items_。
这个函数中引入了Qt 4.2中。
**See also** [takeRow](qstandarditemmodel.html#takeRow)( )[appendRow](qstandarditemmodel.html#appendRow)()和[insertColumn](qstandarditemmodel.html#insertColumn)( ) 。
```
QStandardItemModel.insertRow (self, int arow, QStandardItem aitem)
```
该_aitem_说法有它的所有权转移给Qt的。
给定前插入一个单行_row_中的子项_parent_规定。返回True如果被插入的行,否则返回False 。
**See also** [insertRows](qstandarditemmodel.html#insertRows)( )[insertColumn](qstandarditemmodel.html#insertColumn)()和[removeRow](qabstractitemmodel.html#removeRow)( ) 。
```
bool QStandardItemModel.insertRow (self, int row, QModelIndex parent = QModelIndex())
```
这是一个重载函数。
插入一个一行_row_ containing _item_。
当建立一个列表,或者只有一列树,该功能提供了一种方便的方式来追加新的单一项目。
这个函数中引入了Qt 4.2中。
```
bool QStandardItemModel.insertRows (self, int row, int count, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.insertRows](qabstractitemmodel.html#insertRows)( ) 。
```
QStandardItem QStandardItemModel.invisibleRootItem (self)
```
[
返回模型的无形之根项目。
](qstandarditem.html)
[看不见的根项目,通过提供对模型的顶层项目](qstandarditem.html)[QStandardItem](qstandarditem.html)的API ,从而可以写,可以治疗以统一的方式顶级项目及其子女的功能,例如,涉及树模型递归函数。
**Note:**调用[index()](qabstractitemmodel.html#index)在[QStandardItem](qstandarditem.html)从这个功能检索的对象是无效的。
这个函数中引入了Qt 4.2中。
```
QStandardItem QStandardItemModel.item (self, int row, int column = 0)
```
[
返回的项目为给定的_row_和_column_如果已经设置,否则返回0 。
这个函数中引入了Qt 4.2中。
](qstandarditem.html)
[**See also**](qstandarditem.html) [setItem](qstandarditemmodel.html#setItem)( )[takeItem](qstandarditemmodel.html#takeItem)()和[itemFromIndex](qstandarditemmodel.html#itemFromIndex)( ) 。
```
dict-of-int-QVariant QStandardItemModel.itemData (self, QModelIndex index)
```
从重新实现[QAbstractItemModel.itemData](qabstractitemmodel.html#itemData)( ) 。
**See also** [setItemData](qstandarditemmodel.html#setItemData)( ) 。
```
QStandardItem QStandardItemModel.itemFromIndex (self, QModelIndex index)
```
[](qstandarditem.html)
[返回一个指针](qstandarditem.html)[QStandardItem](qstandarditem.html)用给定的相关联_index_。
调用此函数通常是最初的一步处理时,[QModelIndex](qmodelindex.html)从一个基于视图的信号,如[QAbstractItemView.activated](qabstractitemview.html#activated)( ) 。在您的插槽,你叫itemFromIndex ( ) ,与[QModelIndex](qmodelindex.html)由信号作为参数进行,得到一个指向相应[QStandardItem](qstandarditem.html)。
注意,这个函数会懒洋洋地创建索引项(使用[itemPrototype](qstandarditemmodel.html#itemPrototype)( ) ) ,并将其设置在父项的子表,如果没有项目已经存在该索引。
If _index_是一个无效的指标,这个函数返回0 。
这个函数中引入了Qt 4.2中。
**See also** [indexFromItem](qstandarditemmodel.html#indexFromItem)( ) 。
```
QStandardItem QStandardItemModel.itemPrototype (self)
```
[](qstandarditem.html)
[返回产品原型所使用的模型。该模型使用的项目原型作为项目的工厂时,它需要构建随需应变的新项目(例如,当一个视图或项目委讬调用](qstandarditem.html)[setData](qstandarditemmodel.html#setData)())。
这个函数中引入了Qt 4.2中。
**See also** [setItemPrototype](qstandarditemmodel.html#setItemPrototype)( ) 。
```
QMimeData QStandardItemModel.mimeData (self, list-of-QModelIndex indexes)
```
[
该_QMimeData_结果
](qmimedata.html)
[从重新实现](qmimedata.html)[QAbstractItemModel.mimeData](qabstractitemmodel.html#mimeData)( ) 。
```
QStringList QStandardItemModel.mimeTypes (self)
```
从重新实现[QAbstractItemModel.mimeTypes](qabstractitemmodel.html#mimeTypes)( ) 。
```
QModelIndex QStandardItemModel.parent (self, QModelIndex child)
```
[](qmodelindex.html)
[从重新实现](qmodelindex.html)[QAbstractItemModel.parent](qabstractitemmodel.html#parent)( ) 。
```
QObject QStandardItemModel.parent (self)
```
[
```
bool QStandardItemModel.removeColumns (self, int column, int count, QModelIndex parent = QModelIndex())
```
](qobject.html)
[从重新实现](qobject.html)[QAbstractItemModel.removeColumns](qabstractitemmodel.html#removeColumns)( ) 。
```
bool QStandardItemModel.removeRows (self, int row, int count, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.removeRows](qabstractitemmodel.html#removeRows)( ) 。
```
int QStandardItemModel.rowCount (self, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.rowCount](qabstractitemmodel.html#rowCount)( ) 。
**See also** [setRowCount](qstandarditemmodel.html#setRowCount)( ) 。
```
QStandardItemModel.setColumnCount (self, int columns)
```
载列在这个模型数_columns_。如果它小于[columnCount](qstandarditemmodel.html#columnCount)() ,在不需要的列中的数据将被丢弃。
这个函数中引入了Qt 4.2中。
**See also** [columnCount](qstandarditemmodel.html#columnCount)()和[setRowCount](qstandarditemmodel.html#setRowCount)( ) 。
```
bool QStandardItemModel.setData (self, QModelIndex index, QVariant value, int role = Qt.EditRole)
```
从重新实现[QAbstractItemModel.setData](qabstractitemmodel.html#setData)( ) 。
**See also** [data](qstandarditemmodel.html#data)( ) 。
```
bool QStandardItemModel.setHeaderData (self, int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)
```
从重新实现[QAbstractItemModel.setHeaderData](qabstractitemmodel.html#setHeaderData)( ) 。
**See also** [headerData](qstandarditemmodel.html#headerData)( ) 。
```
QStandardItemModel.setHorizontalHeaderItem (self, int column, QStandardItem item)
```
该_item_说法有它的所有权转移给Qt的。
设置水平标题项为_column_至_item_。该模型考虑了项目的所有权。如果需要的话,列计数增加,以适应产品。以前的标题项(如果有的话)将被删除。
这个函数中引入了Qt 4.2中。
**See also** [horizontalHeaderItem](qstandarditemmodel.html#horizontalHeaderItem)( )[setHorizontalHeaderLabels](qstandarditemmodel.html#setHorizontalHeaderLabels)()和[setVerticalHeaderItem](qstandarditemmodel.html#setVerticalHeaderItem)( ) 。
```
QStandardItemModel.setHorizontalHeaderLabels (self, QStringList labels)
```
设置使用水平标题标籤_labels_。如果需要的话,列计数值增加到的大小_labels_。
这个函数中引入了Qt 4.2中。
**See also** [setHorizontalHeaderItem](qstandarditemmodel.html#setHorizontalHeaderItem)( ) 。
```
QStandardItemModel.setItem (self, int row, int column, QStandardItem item)
```
该_item_说法有它的所有权转移给Qt的。
设置项对于给定的_row_和_column_至_item_。该模型考虑了项目的所有权。如果必要,行数和列数都增加,以适应产品。在给定位置(如果有的话)上一个项目被删除。
这个函数中引入了Qt 4.2中。
**See also** [item](qstandarditemmodel.html#item)( ) 。
```
QStandardItemModel.setItem (self, int arow, QStandardItem aitem)
```
该_aitem_说法有它的所有权转移给Qt的。
这是一个重载函数。
```
bool QStandardItemModel.setItemData (self, QModelIndex index, dict-of-int-QVariant roles)
```
从重新实现[QAbstractItemModel.setItemData](qabstractitemmodel.html#setItemData)( ) 。
**See also** [itemData](qstandarditemmodel.html#itemData)( ) 。
```
QStandardItemModel.setItemPrototype (self, QStandardItem item)
```
该_item_说法有它的所有权转移给Qt的。
设置项的原型模型的指定的_item_。该模型采用原型的所有权。
该项目的原型作为一个[QStandardItem](qstandarditem.html)工厂,所依托的[QStandardItem.clone](qstandarditem.html#clone)()函数。提供自己的原型,子类[QStandardItem](qstandarditem.html),重新实现[QStandardItem.clone](qstandarditem.html#clone)()和set原型是您的自定义类的实例。每当[QStandardItemModel](qstandarditemmodel.html)需要按需创建一个项目(例如,视图或项目委讬呼叫时[setData](qstandarditemmodel.html#setData)( ) ) ) ,该新项目将是你的自定义类的实例。
这个函数中引入了Qt 4.2中。
**See also** [itemPrototype](qstandarditemmodel.html#itemPrototype)()和[QStandardItem.clone](qstandarditem.html#clone)( ) 。
```
QStandardItemModel.setRowCount (self, int rows)
```
设定排在这个模型数_rows_。如果它小于[rowCount](qstandarditemmodel.html#rowCount)() ,在不需要的行中的数据将被丢弃。
这个函数中引入了Qt 4.2中。
**See also** [rowCount](qstandarditemmodel.html#rowCount)()和[setColumnCount](qstandarditemmodel.html#setColumnCount)( ) 。
```
QStandardItemModel.setSortRole (self, int role)
```
```
QStandardItemModel.setVerticalHeaderItem (self, int row, QStandardItem item)
```
该_item_说法有它的所有权转移给Qt的。
设置垂直标题项为_row_至_item_。该模型考虑了项目的所有权。如果必要,行计数增加,以适应产品。以前的标题项(如果有的话)将被删除。
这个函数中引入了Qt 4.2中。
**See also** [verticalHeaderItem](qstandarditemmodel.html#verticalHeaderItem)( )[setVerticalHeaderLabels](qstandarditemmodel.html#setVerticalHeaderLabels)()和[setHorizontalHeaderItem](qstandarditemmodel.html#setHorizontalHeaderItem)( ) 。
```
QStandardItemModel.setVerticalHeaderLabels (self, QStringList labels)
```
设置使用垂直标题标籤_labels_。如果有必要,该行数将增加至大小_labels_。
这个函数中引入了Qt 4.2中。
**See also** [setVerticalHeaderItem](qstandarditemmodel.html#setVerticalHeaderItem)( ) 。
```
QStandardItemModel.sort (self, int column, Qt.SortOrder order = Qt.AscendingOrder)
```
从重新实现[QAbstractItemModel.sort](qabstractitemmodel.html#sort)( ) 。
```
int QStandardItemModel.sortRole (self)
```
```
Qt.DropActions QStandardItemModel.supportedDropActions (self)
```
[](index.htm)
[从重新实现](index.htm)[QAbstractItemModel.supportedDropActions](qabstractitemmodel.html#supportedDropActions)( ) 。
[QStandardItemModel](qstandarditemmodel.html)支持复制和移动两种。
```
list-of-QStandardItem QStandardItemModel.takeColumn (self, int column)
```
该_list-of-QStandardItem_结果
删除给定的_column_不删除的列项,并返回指针列表的删除的项。该模型释放的物品的所有权。在尚未设定的列项,列表中的相应指针将是0 。
这个函数中引入了Qt 4.2中。
**See also** [takeRow](qstandarditemmodel.html#takeRow)( ) 。
```
QStandardItem QStandardItemModel.takeHorizontalHeaderItem (self, int column)
```
[
该_QStandardItem_结果
删除在水平标题项_column_从标题而不删除它,并返回一个指向的项目。该模型发布该项目的所有权。
这个函数中引入了Qt 4.2中。
](qstandarditem.html)
[**See also**](qstandarditem.html) [horizontalHeaderItem](qstandarditemmodel.html#horizontalHeaderItem)()和[takeVerticalHeaderItem](qstandarditemmodel.html#takeVerticalHeaderItem)( ) 。
```
QStandardItem QStandardItemModel.takeItem (self, int row, int column = 0)
```
[
该_QStandardItem_结果
删除的项目(_row_,_column_)而不删除它。该模型发布该项目的所有权。
这个函数中引入了Qt 4.2中。
](qstandarditem.html)
[**See also**](qstandarditem.html) [item](qstandarditemmodel.html#item)( )[takeRow](qstandarditemmodel.html#takeRow)()和[takeColumn](qstandarditemmodel.html#takeColumn)( ) 。
```
list-of-QStandardItem QStandardItemModel.takeRow (self, int row)
```
该_list-of-QStandardItem_结果
删除给定的_row_不删除的行项目,并返回指针列表的删除的项目。该模型释放的物品的所有权。对于没有被设置的行中的项目,列表中的相应指针将是0 。
这个函数中引入了Qt 4.2中。
**See also** [takeColumn](qstandarditemmodel.html#takeColumn)( ) 。
```
QStandardItem QStandardItemModel.takeVerticalHeaderItem (self, int row)
```
[
该_QStandardItem_结果
删除在垂直标题项_row_从标题而不删除它,并返回一个指向的项目。该模型发布该项目的所有权。
这个函数中引入了Qt 4.2中。
](qstandarditem.html)
[**See also**](qstandarditem.html) [verticalHeaderItem](qstandarditemmodel.html#verticalHeaderItem)()和[takeHorizontalHeaderItem](qstandarditemmodel.html#takeHorizontalHeaderItem)( ) 。
```
QStandardItem QStandardItemModel.verticalHeaderItem (self, int row)
```
[
返回行的垂直标题项_row_如果已经设置,否则返回0 。
这个函数中引入了Qt 4.2中。
](qstandarditem.html)
[**See also**](qstandarditem.html) [setVerticalHeaderItem](qstandarditemmodel.html#setVerticalHeaderItem)()和[horizontalHeaderItem](qstandarditemmodel.html#horizontalHeaderItem)( ) 。
* * *
## Qt Signal Documentation
```
void itemChanged (QStandardItem *)
```
这是该信号的默认超载。
这个信号被发射时的数据_item_已经改变。
这个函数中引入了Qt 4.2中。
- PyQt4 中文文档
- PyQt Class Reference
- QAbstractAnimation Class Reference
- QAbstractButton Class Reference
- QAbstractEventDispatcher Class Reference
- QAbstractExtensionFactory Class Reference
- QAbstractExtensionManager Class Reference
- QAbstractFileEngine Class Reference
- QAbstractFileEngineHandler Class Reference
- QAbstractFileEngineIterator Class Reference
- QAbstractFormBuilder Class Reference
- QAbstractGraphicsShapeItem Class Reference
- QAbstractItemDelegate Class Reference
- QAbstractItemModel Class Reference
- QAbstractItemView Class Reference
- QAbstractListModel Class Reference
- QAbstractMessageHandler Class Reference
- QAbstractNetworkCache Class Reference
- QAbstractPrintDialog Class Reference
- QAbstractProxyModel Class Reference
- QAbstractScrollArea Class Reference
- QAbstractSlider Class Reference
- QAbstractSocket Class Reference
- QAbstractSpinBox Class Reference
- QAbstractState Class Reference
- QAbstractTableModel Class Reference
- QAbstractTextDocumentLayout Class Reference
- QAbstractTransition Class Reference
- QAbstractUriResolver Class Reference
- QAbstractVideoBuffer Class Reference
- QAbstractVideoSurface Class Reference
- QAbstractXmlNodeModel Class Reference
- QAbstractXmlReceiver Class Reference
- QAction Class Reference
- QActionEvent Class Reference
- QActionGroup Class Reference
- QAnimationGroup Class Reference
- QApplication Class Reference
- QAssistantClient Class Reference
- QAudio Class Reference
- QAudioDeviceInfo Class Reference
- QAudioFormat Class Reference
- QAudioInput Class Reference
- QAudioOutput Class Reference
- QAuthenticator Class Reference
- QBasicTimer Class Reference
- QBitArray Class Reference
- QBitmap Class Reference
- QBoxLayout Class Reference
- QBrush Class Reference
- QBuffer Class Reference
- QButtonGroup Class Reference
- QByteArray Class Reference
- QByteArrayMatcher Class Reference
- QCalendarWidget Class Reference
- QChar Class Reference
- QCheckBox Class Reference
- QChildEvent Class Reference
- QClipboard Class Reference
- QCloseEvent Class Reference
- QColor Class Reference
- QColorDialog Class Reference
- QColumnView Class Reference
- QComboBox Class Reference
- QCommandLinkButton Class Reference
- QCommonStyle Class Reference
- QCompleter Class Reference
- QConicalGradient Class Reference
- QContextMenuEvent Class Reference
- QCoreApplication Class Reference
- QCryptographicHash Class Reference
- QCursor Class Reference
- QDataStream Class Reference
- QDataWidgetMapper Class Reference
- QDate Class Reference
- QDateEdit Class Reference
- QDateTime Class Reference
- QDateTimeEdit Class Reference
- QDBus Class Reference
- QDBusAbstractAdaptor Class Reference
- QDBusAbstractInterface Class Reference
- QDBusArgument Class Reference
- QDBusConnection Class Reference
- QDBusConnectionInterface Class Reference
- QDBusError Class Reference
- QDBusInterface Class Reference
- QDBusMessage Class Reference
- QDBusObjectPath Class Reference
- QDBusPendingCall Class Reference
- QDBusPendingCallWatcher Class Reference
- QDBusPendingReply Class Reference
- QDBusReply Class Reference
- QDBusServiceWatcher Class Reference
- QDBusSignature Class Reference
- QDBusUnixFileDescriptor Class Reference
- QDBusVariant Class Reference
- QDeclarativeComponent Class Reference
- QDeclarativeContext Class Reference
- QDeclarativeEngine Class Reference
- QDeclarativeError Class Reference
- QDeclarativeExpression Class Reference
- QDeclarativeExtensionPlugin Class Reference
- QDeclarativeImageProvider Class Reference
- QDeclarativeItem Class Reference
- QDeclarativeListReference Class Reference
- QDeclarativeNetworkAccessManagerFactory Class Reference
- QDeclarativeParserStatus Class Reference
- QDeclarativeProperty Class Reference
- QDeclarativePropertyMap Class Reference
- QDeclarativePropertyValueSource Class Reference
- QDeclarativeScriptString Class Reference
- QDeclarativeView Class Reference
- QDesignerActionEditorInterface Class Reference
- QDesignerContainerExtension Class Reference
- QDesignerCustomWidgetCollectionInterface Class Reference
- QDesignerCustomWidgetInterface Class Reference
- QDesignerFormEditorInterface Class Reference
- QDesignerFormWindowCursorInterface Class Reference
- QDesignerFormWindowInterface Class Reference
- QDesignerFormWindowManagerInterface Class Reference
- QDesignerMemberSheetExtension Class Reference
- QDesignerObjectInspectorInterface Class Reference
- QDesignerPropertyEditorInterface Class Reference
- QDesignerPropertySheetExtension Class Reference
- QDesignerTaskMenuExtension Class Reference
- QDesignerWidgetBoxInterface Class Reference
- QDesktopServices Class Reference
- QDesktopWidget Class Reference
- QDial Class Reference
- QDialog Class Reference
- QDialogButtonBox Class Reference
- QDir Class Reference
- QDirIterator Class Reference
- QDirModel Class Reference
- QDockWidget Class Reference
- QDomAttr Class Reference
- QDomCDATASection Class Reference
- QDomCharacterData Class Reference
- QDomComment Class Reference
- QDomDocument Class Reference
- QDomDocumentFragment Class Reference
- QDomDocumentType Class Reference
- QDomElement Class Reference
- QDomEntity Class Reference
- QDomEntityReference Class Reference
- QDomImplementation Class Reference
- QDomNamedNodeMap Class Reference
- QDomNode Class Reference
- QDomNodeList Class Reference
- QDomNotation Class Reference
- QDomProcessingInstruction Class Reference
- QDomText Class Reference
- QDoubleSpinBox Class Reference
- QDoubleValidator Class Reference
- QDrag Class Reference
- QDragEnterEvent Class Reference
- QDragLeaveEvent Class Reference
- QDragMoveEvent Class Reference
- QDropEvent Class Reference
- QDynamicPropertyChangeEvent Class Reference
- QEasingCurve Class Reference
- QElapsedTimer Class Reference
- QErrorMessage Class Reference
- QEvent Class Reference
- QEventLoop Class Reference
- QEventTransition Class Reference
- QExtensionFactory Class Reference
- QExtensionManager Class Reference
- QFile Class Reference
- QFileDialog Class Reference
- QFileIconProvider Class Reference
- QFileInfo Class Reference
- QFileOpenEvent Class Reference
- QFileSystemModel Class Reference
- QFileSystemWatcher Class Reference
- QFinalState Class Reference
- QFocusEvent Class Reference
- QFocusFrame Class Reference
- QFont Class Reference
- QFontComboBox Class Reference
- QFontDatabase Class Reference
- QFontDialog Class Reference
- QFontInfo Class Reference
- QFontMetrics Class Reference
- QFontMetricsF Class Reference
- QFormBuilder Class Reference
- QFormLayout Class Reference
- QFrame Class Reference
- QFSFileEngine Class Reference
- QFtp Class Reference
- QGenericArgument Class Reference
- QGenericReturnArgument Class Reference
- QGesture Class Reference
- QGestureEvent Class Reference
- QGestureRecognizer Class Reference
- QGL Class Reference
- QGLBuffer Class Reference
- QGLColormap Class Reference
- QGLContext Class Reference
- QGLFormat Class Reference
- QGLFramebufferObject Class Reference
- QGLFramebufferObjectFormat Class Reference
- QGLPixelBuffer Class Reference
- QGLShader Class Reference
- QGLShaderProgram Class Reference
- QGLWidget Class Reference
- QGlyphRun Class Reference
- QGradient Class Reference
- QGraphicsAnchor Class Reference
- QGraphicsAnchorLayout Class Reference
- QGraphicsBlurEffect Class Reference
- QGraphicsColorizeEffect Class Reference
- QGraphicsDropShadowEffect Class Reference
- QGraphicsEffect Class Reference
- QGraphicsEllipseItem Class Reference
- QGraphicsGridLayout Class Reference
- QGraphicsItem Class Reference
- QGraphicsItemAnimation Class Reference
- QGraphicsItemGroup Class Reference
- QGraphicsLayout Class Reference
- QGraphicsLayoutItem Class Reference
- QGraphicsLinearLayout Class Reference
- QGraphicsLineItem Class Reference
- QGraphicsObject Class Reference
- QGraphicsOpacityEffect Class Reference
- QGraphicsPathItem Class Reference
- QGraphicsPixmapItem Class Reference
- QGraphicsPolygonItem Class Reference
- QGraphicsProxyWidget Class Reference
- QGraphicsRectItem Class Reference
- QGraphicsRotation Class Reference
- QGraphicsScale Class Reference
- QGraphicsScene Class Reference
- QGraphicsSceneContextMenuEvent Class Reference
- QGraphicsSceneDragDropEvent Class Reference
- QGraphicsSceneEvent Class Reference
- QGraphicsSceneHelpEvent Class Reference
- QGraphicsSceneHoverEvent Class Reference
- QGraphicsSceneMouseEvent Class Reference
- QGraphicsSceneMoveEvent Class Reference
- QGraphicsSceneResizeEvent Class Reference
- QGraphicsSceneWheelEvent Class Reference
- QGraphicsSimpleTextItem Class Reference
- QGraphicsSvgItem Class Reference
- QGraphicsTextItem Class Reference
- QGraphicsTransform Class Reference
- QGraphicsView Class Reference
- QGraphicsWebView Class Reference
- QGraphicsWidget Class Reference
- QGridLayout Class Reference
- QGroupBox Class Reference
- QHBoxLayout Class Reference
- QHeaderView Class Reference
- QHelpContentItem Class Reference
- QHelpContentModel Class Reference
- QHelpContentWidget Class Reference
- QHelpEngine Class Reference
- QHelpEngineCore Class Reference
- QHelpEvent Class Reference
- QHelpIndexModel Class Reference
- QHelpIndexWidget Class Reference
- QHelpSearchEngine Class Reference
- QHelpSearchQuery Class Reference
- QHelpSearchQueryWidget Class Reference
- QHelpSearchResultWidget Class Reference
- QHideEvent Class Reference
- QHistoryState Class Reference
- QHostAddress Class Reference
- QHostInfo Class Reference
- QHoverEvent Class Reference
- QHttp Class Reference
- QHttpHeader Class Reference
- QHttpMultiPart Class Reference
- QHttpPart Class Reference
- QHttpRequestHeader Class Reference
- QHttpResponseHeader Class Reference
- QIcon Class Reference
- QIconDragEvent Class Reference
- QIconEngine Class Reference
- QIconEngineV2 Class Reference
- QIdentityProxyModel Class Reference
- QImage Class Reference
- QImageIOHandler Class Reference
- QImageReader Class Reference
- QImageWriter Class Reference
- QInputContext Class Reference
- QInputContextFactory Class Reference
- QInputDialog Class Reference
- QInputEvent Class Reference
- QInputMethodEvent Class Reference
- QIntValidator Class Reference
- QIODevice Class Reference
- QItemDelegate Class Reference
- QItemEditorCreatorBase Class Reference
- QItemEditorFactory Class Reference
- QItemSelection Class Reference
- QItemSelectionModel Class Reference
- QItemSelectionRange Class Reference
- QKeyEvent Class Reference
- QKeyEventTransition Class Reference
- QKeySequence Class Reference
- QLabel Class Reference
- QLatin1Char Class Reference
- QLatin1String Class Reference
- QLayout Class Reference
- QLayoutItem Class Reference
- QLCDNumber Class Reference
- QLibrary Class Reference
- QLibraryInfo Class Reference
- QLine Class Reference
- QLinearGradient Class Reference
- QLineEdit Class Reference
- QLineF Class Reference
- QListView Class Reference
- QListWidget Class Reference
- QListWidgetItem Class Reference
- QLocale Class Reference
- QLocalServer Class Reference
- QLocalSocket Class Reference
- QMainWindow Class Reference
- QMargins Class Reference
- QMatrix Class Reference
- QMatrix2x2 Class Reference
- QMatrix2x3 Class Reference
- QMatrix2x4 Class Reference
- QMatrix3x2 Class Reference
- QMatrix3x3 Class Reference
- QMatrix3x4 Class Reference
- QMatrix4x2 Class Reference
- QMatrix4x3 Class Reference
- QMatrix4x4 Class Reference
- QMdiArea Class Reference
- QMdiSubWindow Class Reference
- QMenu Class Reference
- QMenuBar Class Reference
- QMessageBox Class Reference
- QMetaClassInfo Class Reference
- QMetaEnum Class Reference
- QMetaMethod Class Reference
- QMetaObject Class Reference
- QMetaProperty Class Reference
- QMetaType Class Reference
- QMimeData Class Reference
- QMimeSource Class Reference
- QModelIndex Class Reference
- QMouseEvent Class Reference
- QMouseEventTransition Class Reference
- QMoveEvent Class Reference
- QMovie Class Reference
- QMutex Class Reference
- QMutexLocker Class Reference
- QNetworkAccessManager Class Reference
- QNetworkAddressEntry Class Reference
- QNetworkCacheMetaData Class Reference
- QNetworkConfiguration Class Reference
- QNetworkConfigurationManager Class Reference
- QNetworkCookie Class Reference
- QNetworkCookieJar Class Reference
- QNetworkDiskCache Class Reference
- QNetworkInterface Class Reference
- QNetworkProxy Class Reference
- QNetworkProxyFactory Class Reference
- QNetworkProxyQuery Class Reference
- QNetworkReply Class Reference
- QNetworkRequest Class Reference
- QNetworkSession Class Reference
- QObject Class Reference
- QObjectCleanupHandler Class Reference
- QPageSetupDialog Class Reference
- QPaintDevice Class Reference
- QPaintEngine Class Reference
- QPaintEngineState Class Reference
- QPainter Class Reference
- QPainterPath Class Reference
- QPainterPathStroker Class Reference
- QPaintEvent Class Reference
- QPalette Class Reference
- QPanGesture Class Reference
- QParallelAnimationGroup Class Reference
- QPauseAnimation Class Reference
- QPen Class Reference
- QPersistentModelIndex Class Reference
- QPicture Class Reference
- QPictureIO Class Reference
- QPinchGesture Class Reference
- QPixmap Class Reference
- QPixmapCache Class Reference
- QPlainTextDocumentLayout Class Reference
- QPlainTextEdit Class Reference
- QPluginLoader Class Reference
- QPoint Class Reference
- QPointF Class Reference
- QPolygon Class Reference
- QPolygonF Class Reference
- QPrintDialog Class Reference
- QPrintEngine Class Reference
- QPrinter Class Reference
- QPrinterInfo Class Reference
- QPrintPreviewDialog Class Reference
- QPrintPreviewWidget Class Reference
- QProcess Class Reference
- QProcessEnvironment Class Reference
- QProgressBar Class Reference
- QProgressDialog Class Reference
- QPropertyAnimation Class Reference
- QProxyModel Class Reference
- QPushButton Class Reference
- QPyDeclarativePropertyValueSource Class Reference
- QPyDesignerContainerExtension Class Reference
- QPyDesignerCustomWidgetCollectionPlugin Class Reference
- QPyDesignerCustomWidgetPlugin Class Reference
- QPyDesignerMemberSheetExtension Class Reference
- QPyDesignerPropertySheetExtension Class Reference
- QPyDesignerTaskMenuExtension Class Reference
- QPyNullVariant Class Reference
- QPyTextObject Class Reference
- QQuaternion Class Reference
- QRadialGradient Class Reference
- QRadioButton Class Reference
- QRawFont Class Reference
- QReadLocker Class Reference
- QReadWriteLock Class Reference
- QRect Class Reference
- QRectF Class Reference
- QRegExp Class Reference
- QRegExpValidator Class Reference
- QRegion Class Reference
- QResizeEvent Class Reference
- QResource Class Reference
- QRubberBand Class Reference
- QRunnable Class Reference
- QScriptClass Class Reference
- QScriptClassPropertyIterator Class Reference
- QScriptContext Class Reference
- QScriptContextInfo Class Reference
- QScriptEngine Class Reference
- QScriptEngineAgent Class Reference
- QScriptEngineDebugger Class Reference
- QScriptString Class Reference
- QScriptSyntaxCheckResult Class Reference
- QScriptValue Class Reference
- QScriptValueIterator Class Reference
- QScrollArea Class Reference
- QScrollBar Class Reference
- QSemaphore Class Reference
- QSequentialAnimationGroup Class Reference
- QSessionManager Class Reference
- QSettings Class Reference
- QSharedMemory Class Reference
- QShortcut Class Reference
- QShortcutEvent Class Reference
- QShowEvent Class Reference
- QSignalMapper Class Reference
- QSignalTransition Class Reference
- QSimpleXmlNodeModel Class Reference
- QSize Class Reference
- QSizeF Class Reference
- QSizeGrip Class Reference
- QSizePolicy Class Reference
- QSlider Class Reference
- QSocketNotifier Class Reference
- QSortFilterProxyModel Class Reference
- QSound Class Reference
- QSourceLocation Class Reference
- QSpacerItem Class Reference
- QSpinBox Class Reference
- QSplashScreen Class Reference
- QSplitter Class Reference
- QSplitterHandle Class Reference
- QSql Class Reference
- QSqlDatabase Class Reference
- QSqlDriver Class Reference
- QSqlDriverCreatorBase Class Reference
- QSqlError Class Reference
- QSqlField Class Reference
- QSqlIndex Class Reference
- QSqlQuery Class Reference
- QSqlQueryModel Class Reference
- QSqlRecord Class Reference
- QSqlRelation Class Reference
- QSqlRelationalDelegate Class Reference
- QSqlRelationalTableModel Class Reference
- QSqlResult Class Reference
- QSqlTableModel Class Reference
- Qt4.7文档翻译:Qt样式单参考,Qt Style Sheets Reference
- QSsl Class Reference
- QSslCertificate Class Reference
- QSslCipher Class Reference
- QSslConfiguration Class Reference
- QSslError Class Reference
- QSslKey Class Reference
- QSslSocket Class Reference
- QStackedLayout Class Reference
- QStackedWidget Class Reference
- QStandardItem Class Reference
- QStandardItemModel Class Reference
- QState Class Reference
- QStateMachine Class Reference
- QStaticText Class Reference
- QStatusBar Class Reference
- QStatusTipEvent Class Reference
- QString Class Reference
- QStringList Class Reference
- QStringListModel Class Reference
- QStringMatcher Class Reference
- QStringRef Class Reference
- QStyle Class Reference
- QStyledItemDelegate Class Reference
- QStyleFactory Class Reference
- QStyleHintReturn Class Reference
- QStyleHintReturnMask Class Reference
- QStyleHintReturnVariant Class Reference
- QStyleOption Class Reference
- QStyleOptionButton Class Reference
- QStyleOptionComboBox Class Reference
- QStyleOptionComplex Class Reference
- QStyleOptionDockWidget Class Reference
- QStyleOptionDockWidgetV2 Class Reference
- QStyleOptionFocusRect Class Reference
- QStyleOptionFrame Class Reference
- QStyleOptionFrameV2 Class Reference
- QStyleOptionFrameV3 Class Reference
- QStyleOptionGraphicsItem Class Reference
- QStyleOptionGroupBox Class Reference
- QStyleOptionHeader Class Reference
- QStyleOptionMenuItem Class Reference
- QStyleOptionProgressBar Class Reference
- QStyleOptionProgressBarV2 Class Reference
- QStyleOptionRubberBand Class Reference
- QStyleOptionSizeGrip Class Reference
- QStyleOptionSlider Class Reference
- QStyleOptionSpinBox Class Reference
- QStyleOptionTab Class Reference
- QStyleOptionTabBarBase Class Reference
- QStyleOptionTabBarBaseV2 Class Reference
- QStyleOptionTabV2 Class Reference
- QStyleOptionTabV3 Class Reference
- QStyleOptionTabWidgetFrame Class Reference
- QStyleOptionTabWidgetFrameV2 Class Reference
- QStyleOptionTitleBar Class Reference
- QStyleOptionToolBar Class Reference
- QStyleOptionToolBox Class Reference
- QStyleOptionToolBoxV2 Class Reference
- QStyleOptionToolButton Class Reference
- QStyleOptionViewItem Class Reference
- QStyleOptionViewItemV2 Class Reference
- QStyleOptionViewItemV3 Class Reference
- QStyleOptionViewItemV4 Class Reference
- QStylePainter Class Reference
- QSvgGenerator Class Reference
- QSvgRenderer Class Reference
- QSvgWidget Class Reference
- QSwipeGesture Class Reference
- QSyntaxHighlighter Class Reference
- QSysInfo Class Reference
- QSystemLocale Class Reference
- QSystemSemaphore Class Reference
- QSystemTrayIcon Class Reference
- Qt Class Reference
- QTabBar Class Reference
- QTabletEvent Class Reference
- QTableView Class Reference
- QTableWidget Class Reference
- QTableWidgetItem Class Reference
- QTableWidgetSelectionRange Class Reference
- QTabWidget Class Reference
- QTapAndHoldGesture Class Reference
- QTapGesture Class Reference
- QTcpServer Class Reference
- QTcpSocket Class Reference
- QTemporaryFile Class Reference
- QTest Class Reference
- QTextBlock Class Reference
- QTextBlockFormat Class Reference
- QTextBlockGroup Class Reference
- QTextBlockUserData Class Reference
- QTextBoundaryFinder Class Reference
- QTextBrowser Class Reference
- QTextCharFormat Class Reference
- QTextCodec Class Reference
- QTextCursor Class Reference
- QTextDecoder Class Reference
- QTextDocument Class Reference
- QTextDocumentFragment Class Reference
- QTextDocumentWriter Class Reference
- QTextEdit Class Reference
- QTextEncoder Class Reference
- QTextFormat Class Reference
- QTextFragment Class Reference
- QTextFrame Class Reference
- QTextFrameFormat Class Reference
- QTextImageFormat Class Reference
- QTextInlineObject Class Reference
- QTextItem Class Reference
- QTextLayout Class Reference
- QTextLength Class Reference
- QTextLine Class Reference
- QTextList Class Reference
- QTextListFormat Class Reference
- QTextObject Class Reference
- QTextObjectInterface Class Reference
- QTextOption Class Reference
- QTextStream Class Reference
- QTextTable Class Reference
- QTextTableCell Class Reference
- QTextTableCellFormat Class Reference
- QTextTableFormat Class Reference
- QThread Class Reference
- QThreadPool Class Reference
- QTime Class Reference
- QTimeEdit Class Reference
- QTimeLine Class Reference
- QTimer Class Reference
- QTimerEvent Class Reference
- QToolBar Class Reference
- QToolBox Class Reference
- QToolButton Class Reference
- QToolTip Class Reference
- QTouchEvent Class Reference
- Reference
- QTransform Class Reference
- QTranslator Class Reference
- QTreeView Class Reference
- QTreeWidget Class Reference
- QTreeWidgetItem Class Reference
- QTreeWidgetItemIterator Class Reference
- QUdpSocket Class Reference
- QUndoCommand Class Reference
- QUndoGroup Class Reference
- QUndoStack Class Reference
- QUndoView Class Reference
- QUrl Class Reference
- QUrlInfo Class Reference
- QUuid Class Reference
- QValidator Class Reference
- QVariant Class Reference
- QVariantAnimation Class Reference
- QVBoxLayout Class Reference
- QVector2D Class Reference
- QVector3D Class Reference
- QVector4D Class Reference
- QVideoFrame Class Reference
- QVideoSurfaceFormat Class Reference
- QWaitCondition Class Reference
- QWebDatabase Class Reference
- QWebElement Class Reference
- QWebElementCollection Class Reference
- QWebFrame Class Reference
- QWebHistory Class Reference
- QWebHistoryInterface Class Reference
- QWebHistoryItem Class Reference
- QWebHitTestResult Class Reference
- QWebInspector Class Reference
- QWebPage Class Reference
- QWebPluginFactory Class Reference
- QWebSecurityOrigin Class Reference
- QWebSettings Class Reference
- QWebView Class Reference
- QWhatsThis Class Reference
- QWhatsThisClickedEvent Class Reference
- QWheelEvent Class Reference
- QWidget Class Reference
- QWidgetAction Class Reference
- QWidgetItem Class Reference
- QWindowStateChangeEvent Class Reference
- QWizard Class Reference
- QWizardPage Class Reference
- QWorkspace Class Reference
- QWriteLocker Class Reference
- QX11EmbedContainer Class Reference
- QX11EmbedWidget Class Reference
- QX11Info Class Reference
- QXmlAttributes Class Reference
- QXmlContentHandler Class Reference
- QXmlDeclHandler Class Reference
- QXmlDefaultHandler Class Reference
- QXmlDTDHandler Class Reference
- QXmlEntityResolver Class Reference
- QXmlErrorHandler Class Reference
- QXmlFormatter Class Reference
- QXmlInputSource Class Reference
- QXmlItem Class Reference
- QXmlLexicalHandler Class Reference
- QXmlLocator Class Reference
- QXmlName Class Reference
- QXmlNamePool Class Reference
- QXmlNamespaceSupport Class Reference
- QXmlNodeModelIndex Class Reference
- QXmlParseException Class Reference
- QXmlQuery Class Reference
- QXmlReader Class Reference
- QXmlResultItems Class Reference
- QXmlSchema Class Reference
- QXmlSchemaValidator Class Reference
- QXmlSerializer Class Reference
- QXmlSimpleReader Class Reference
- QXmlStreamAttribute Class Reference
- QXmlStreamAttributes Class Reference
- QXmlStreamEntityDeclaration Class Reference
- QXmlStreamEntityResolver Class Reference
- QXmlStreamNamespaceDeclaration Class Reference
- QXmlStreamNotationDeclaration Class Reference
- QXmlStreamReader Class Reference
- QXmlStreamWriter Class Reference