The QHelpContentModel class provides a model that supplies content to views. 更多...
继承 QAbstractItemModel .
The QHelpContentModel class provides a model that supplies content to views.
重实现自 QAbstractItemModel.columnCount ().
Returns the number of columns under the given parent . Currently returns always 1.
Returns the help content item at the model index position index .
Creates new contents by querying the help system for contents specified for the customFilterName .
重实现自 QAbstractItemModel.data ().
Returns the data stored under the given role for the item referred to by the index .
重实现自 QAbstractItemModel.index ().
Returns the index of the item in the model specified by the given row , column and parent index.
Returns true if the contents are currently rebuilt, otherwise false.
重实现自 QAbstractItemModel.parent ().
Returns the parent of the model item with the given index , or QModelIndex() if it has no parent.
重实现自 QAbstractItemModel.rowCount ().
Returns the number of rows under the given parent .
This is the default overload of this signal.
This signal is emitted when the contents have been created.
This is the default overload of this signal.
This signal is emitted when the creation of the contents has started. The current contents are invalid from this point on until the signal contentsCreated () 是 emitted.
另请参阅 isCreatingContents ().