eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.html

changeset 7015
b1a3094b33e1
parent 6942
2602857055c5
child 7273
391d6b7b1eff
diff -r 61172a5bc172 -r b1a3094b33e1 eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.html
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.html	Sun May 19 12:30:02 2019 +0200
+++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.DebuggerGeneralPage.html	Sun May 19 12:35:24 2019 +0200
@@ -32,6 +32,9 @@
 <tr>
 <td><a href="#DebuggerGeneralPage">DebuggerGeneralPage</a></td>
 <td>Class implementing the Debugger General configuration page.</td>
+</tr><tr>
+<td><a href="#PreviewModel">PreviewModel</a></td>
+<td>Class to show an example of the selected background colours for the debug viewer.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -124,6 +127,204 @@
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="PreviewModel" ID="PreviewModel"></a>
+<h2>PreviewModel</h2>
+<p>
+    Class to show an example of the selected background colours for the debug
+    viewer.
+</p>
+<h3>Derived from</h3>
+QAbstractItemModel
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#PreviewModel.__init__">PreviewModel</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#PreviewModel.columnCount">columnCount</a></td>
+<td>Public Qt slot to get the column count.</td>
+</tr><tr>
+<td><a href="#PreviewModel.data">data</a></td>
+<td>Public Qt slot get the role data of item.</td>
+</tr><tr>
+<td><a href="#PreviewModel.flags">flags</a></td>
+<td>Public Qt slot to get the item flags.</td>
+</tr><tr>
+<td><a href="#PreviewModel.index">index</a></td>
+<td>Public Qt slot to get the index of item at row:column of parent.</td>
+</tr><tr>
+<td><a href="#PreviewModel.parent">parent</a></td>
+<td>Public Qt slot to get the parent of the given child.</td>
+</tr><tr>
+<td><a href="#PreviewModel.rowCount">rowCount</a></td>
+<td>Public Qt slot to get the row count.</td>
+</tr><tr>
+<td><a href="#PreviewModel.setColor">setColor</a></td>
+<td>Public slot to update the background colour indexed by key.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="PreviewModel.__init__" ID="PreviewModel.__init__"></a>
+<h4>PreviewModel (Constructor)</h4>
+<b>PreviewModel</b>(<i></i>)
+<p>
+        Constructor
+</p><a NAME="PreviewModel.columnCount" ID="PreviewModel.columnCount"></a>
+<h4>PreviewModel.columnCount</h4>
+<b>columnCount</b>(<i>parent=QModelIndex()</i>)
+<p>
+        Public Qt slot to get the column count.
+</p><dl>
+<dt><i>parent</i> (QModelIndex)</dt>
+<dd>
+the model parent
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+number of columns
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+int
+</dd>
+</dl><a NAME="PreviewModel.data" ID="PreviewModel.data"></a>
+<h4>PreviewModel.data</h4>
+<b>data</b>(<i>index, role=Qt.DisplayRole</i>)
+<p>
+        Public Qt slot get the role data of item.
+</p><dl>
+<dt><i>index</i> (QModelIndex)</dt>
+<dd>
+the model index
+</dd><dt><i>role</i> (QtCore.Qt.ItemDataRole)</dt>
+<dd>
+the requested data role
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+role data of item
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+str, QBrush or None
+</dd>
+</dl><a NAME="PreviewModel.flags" ID="PreviewModel.flags"></a>
+<h4>PreviewModel.flags</h4>
+<b>flags</b>(<i>index</i>)
+<p>
+        Public Qt slot to get the item flags.
+</p><dl>
+<dt><i>index</i> (QModelIndex)</dt>
+<dd>
+of item
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+item flags
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+QtCore.Qt.ItemFlag
+</dd>
+</dl><a NAME="PreviewModel.index" ID="PreviewModel.index"></a>
+<h4>PreviewModel.index</h4>
+<b>index</b>(<i>row, column, parent=QModelIndex()</i>)
+<p>
+        Public Qt slot to get the index of item at row:column of parent.
+</p><dl>
+<dt><i>row</i> (int)</dt>
+<dd>
+number of rows
+</dd><dt><i>column</i> (int)</dt>
+<dd>
+number of columns
+</dd><dt><i>parent</i> (QModelIndex)</dt>
+<dd>
+the model parent
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+new model index for child
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+QModelIndex
+</dd>
+</dl><a NAME="PreviewModel.parent" ID="PreviewModel.parent"></a>
+<h4>PreviewModel.parent</h4>
+<b>parent</b>(<i>child</i>)
+<p>
+        Public Qt slot to get the parent of the given child.
+</p><dl>
+<dt><i>child</i> (QModelIndex)</dt>
+<dd>
+the model child node
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+new model index for parent
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+QModelIndex
+</dd>
+</dl><a NAME="PreviewModel.rowCount" ID="PreviewModel.rowCount"></a>
+<h4>PreviewModel.rowCount</h4>
+<b>rowCount</b>(<i>parent=QModelIndex()</i>)
+<p>
+        Public Qt slot to get the row count.
+</p><dl>
+<dt><i>parent</i> (QModelIndex)</dt>
+<dd>
+the model parent
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+number of rows
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+int
+</dd>
+</dl><a NAME="PreviewModel.setColor" ID="PreviewModel.setColor"></a>
+<h4>PreviewModel.setColor</h4>
+<b>setColor</b>(<i>key, bgcolour</i>)
+<p>
+        Public slot to update the background colour indexed by key.
+</p><dl>
+<dt><i>key</i> (str)</dt>
+<dd>
+the name of background
+</dd><dt><i>bgcolour</i> (QColor)</dt>
+<dd>
+the new background colour
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="create" ID="create"></a>
 <h2>create</h2>
 <b>create</b>(<i>dlg</i>)

eric ide

mercurial