File: qhelpcontentmodel.html

package info (click to toggle)
python-qt4 4.7.3-1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 28,504 kB
  • ctags: 4,680
  • sloc: python: 28,738; cpp: 8,897; sh: 245; xml: 243; makefile: 150
file content (36 lines) | stat: -rw-r--r-- 7,176 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QHelpContentModel Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QHelpContentModel Class Reference<br /><sup><sup>[<a href="qthelp.html">QtHelp</a> module]</sup></sup></h1><p>The QHelpContentModel class provides a model that supplies content to views. <a href="#details">More...</a></p>
<p>Inherits <a href="qabstractitemmodel.html">QAbstractItemModel</a>.</p><h3>Methods</h3><ul><li><div class="fn" />int <b><a href="qhelpcontentmodel.html#columnCount">columnCount</a></b> (<i>self</i>, QModelIndex&#160;<i>parent</i>&#160;=&#160;QModelIndex())</li><li><div class="fn" />QHelpContentItem <b><a href="qhelpcontentmodel.html#contentItemAt">contentItemAt</a></b> (<i>self</i>, QModelIndex)</li><li><div class="fn" /><b><a href="qhelpcontentmodel.html#createContents">createContents</a></b> (<i>self</i>, QString)</li><li><div class="fn" />QVariant <b><a href="qhelpcontentmodel.html#data">data</a></b> (<i>self</i>, QModelIndex, int)</li><li><div class="fn" />QModelIndex <b><a href="qhelpcontentmodel.html#index">index</a></b> (<i>self</i>, int, int, QModelIndex&#160;<i>parent</i>&#160;=&#160;QModelIndex())</li><li><div class="fn" />bool <b><a href="qhelpcontentmodel.html#isCreatingContents">isCreatingContents</a></b> (<i>self</i>)</li><li><div class="fn" />QModelIndex <b><a href="qhelpcontentmodel.html#parent">parent</a></b> (<i>self</i>, QModelIndex)</li><li><div class="fn" />int <b><a href="qhelpcontentmodel.html#rowCount">rowCount</a></b> (<i>self</i>, QModelIndex&#160;<i>parent</i>&#160;=&#160;QModelIndex())</li></ul><h3>Qt Signals</h3><ul><li><div class="fn" />void <b><a href="qhelpcontentmodel.html#contentsCreated">contentsCreated</a></b> ()</li><li><div class="fn" />void <b><a href="qhelpcontentmodel.html#contentsCreationStarted">contentsCreationStarted</a></b> ()</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QHelpContentModel class provides a model that supplies content to views.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="columnCount" />int QHelpContentModel.columnCount (<i>self</i>, <a href="qmodelindex.html">QModelIndex</a>&#160;<i>parent</i>&#160;=&#160;QModelIndex())</h3><p>Reimplemented from <a href="qabstractitemmodel.html#columnCount">QAbstractItemModel.columnCount</a>().</p>
<p>Returns the number of columns under the given <i>parent</i>. Currently returns always 1.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/contentItemAt" />
<h3 class="fn"><a name="contentItemAt" /><a href="qhelpcontentitem.html">QHelpContentItem</a> QHelpContentModel.contentItemAt (<i>self</i>, <a href="qmodelindex.html">QModelIndex</a>)</h3><p>Returns the help content item at the model index position <i>index</i>.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/contentsCreated" />
<h3 class="fn"><a name="createContents" />QHelpContentModel.createContents (<i>self</i>, QString)</h3><p>Creates new contents by querying the help system for contents specified for the <i>customFilterName</i>.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/data" />
<h3 class="fn"><a name="data" />QVariant QHelpContentModel.data (<i>self</i>, <a href="qmodelindex.html">QModelIndex</a>, int)</h3><p>Reimplemented from <a href="qabstractitemmodel.html#data">QAbstractItemModel.data</a>().</p>
<p>Returns the data stored under the given <i>role</i> for the item referred to by the <i>index</i>.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/index" />
<h3 class="fn"><a name="index" /><a href="qmodelindex.html">QModelIndex</a> QHelpContentModel.index (<i>self</i>, int, int, <a href="qmodelindex.html">QModelIndex</a>&#160;<i>parent</i>&#160;=&#160;QModelIndex())</h3><p>Reimplemented from <a href="qabstractitemmodel.html#index">QAbstractItemModel.index</a>().</p>
<p>Returns the index of the item in the model specified by the given <i>row</i>, <i>column</i> and <i>parent</i> index.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/isCreatingContents" />
<h3 class="fn"><a name="isCreatingContents" />bool QHelpContentModel.isCreatingContents (<i>self</i>)</h3><p>Returns true if the contents are currently rebuilt, otherwise false.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/parent" />
<h3 class="fn"><a name="parent" /><a href="qmodelindex.html">QModelIndex</a> QHelpContentModel.parent (<i>self</i>, <a href="qmodelindex.html">QModelIndex</a>)</h3><p>Reimplemented from <a href="qabstractitemmodel.html#parent">QAbstractItemModel.parent</a>().</p>
<p>Returns the parent of the model item with the given <i>index</i>, or QModelIndex() if it has no parent.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/rowCount" />
<h3 class="fn"><a name="rowCount" />int QHelpContentModel.rowCount (<i>self</i>, <a href="qmodelindex.html">QModelIndex</a>&#160;<i>parent</i>&#160;=&#160;QModelIndex())</h3><p>Reimplemented from <a href="qabstractitemmodel.html#rowCount">QAbstractItemModel.rowCount</a>().</p>
<p>Returns the number of rows under the given <i>parent</i>.</p>
<p /><hr /><h2>Qt Signal Documentation</h2><h3 class="fn"><a name="contentsCreated" />void contentsCreated ()</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when the contents have been created.</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/contentsCreationStarted" />
<h3 class="fn"><a name="contentsCreationStarted" />void contentsCreationStarted ()</h3><p>This is the default overload of this signal.</p><p>This signal is emitted when the creation of the contents has started. The current contents are invalid from this point on until the signal <a href="qhelpcontentmodel.html#contentsCreated">contentsCreated</a>() is emitted.</p>
<p>See also <a href="qhelpcontentmodel.html#isCreatingContents">isCreatingContents</a>().</p>
<a name="//apple_ref/cpp/instm/QHelpContentModel/createContents" />
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.7.3 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.6.2</td></tr></table></div></address></body></html>