diff -r 1779dc278077 -r 391d6b7b1eff eric6/Documentation/Source/eric6.WebBrowser.ZoomManager.ZoomValuesModel.html --- a/eric6/Documentation/Source/eric6.WebBrowser.ZoomManager.ZoomValuesModel.html Wed Sep 25 19:40:31 2019 +0200 +++ b/eric6/Documentation/Source/eric6.WebBrowser.ZoomManager.ZoomValuesModel.html Wed Sep 25 19:42:44 2019 +0200 @@ -18,175 +18,231 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>eric6.WebBrowser.ZoomManager.ZoomValuesModel</h1> + <p> Module implementing a model for zoom values management. </p> <h3>Global Attributes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> + <table> + <tr> <td><a href="#ZoomValuesModel">ZoomValuesModel</a></td> <td>Class implementing a model for zoom values management.</td> </tr> </table> <h3>Functions</h3> + <table> <tr><td>None</td></tr> </table> -<hr /><hr /> +<hr /> +<hr /> <a NAME="ZoomValuesModel" ID="ZoomValuesModel"></a> <h2>ZoomValuesModel</h2> + <p> Class implementing a model for zoom values management. </p> <h3>Derived from</h3> QAbstractTableModel <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="#ZoomValuesModel.__init__">ZoomValuesModel</a></td> <td>Constructor</td> -</tr><tr> +</tr> +<tr> <td><a href="#ZoomValuesModel.__zoomValuesChanged">__zoomValuesChanged</a></td> <td>Private slot handling a change of the registered zoom values.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ZoomValuesModel.columnCount">columnCount</a></td> <td>Public method to get the number of columns of the model.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ZoomValuesModel.data">data</a></td> <td>Public method to get data from the model.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ZoomValuesModel.headerData">headerData</a></td> <td>Public method to get the header data.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ZoomValuesModel.removeRows">removeRows</a></td> <td>Public method to remove entries from the model.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ZoomValuesModel.rowCount">rowCount</a></td> <td>Public method to get the number of rows of the model.</td> </tr> </table> <h3>Static Methods</h3> + <table> <tr><td>None</td></tr> </table> + <a NAME="ZoomValuesModel.__init__" ID="ZoomValuesModel.__init__"></a> <h4>ZoomValuesModel (Constructor)</h4> <b>ZoomValuesModel</b>(<i>manager, parent=None</i>) + <p> Constructor -</p><dl> +</p> +<dl> + <dt><i>manager</i></dt> <dd> reference to the zoom values manager (ZoomManager) -</dd><dt><i>parent</i></dt> +</dd> +<dt><i>parent</i></dt> <dd> reference to the parent object (QObject) </dd> -</dl><a NAME="ZoomValuesModel.__zoomValuesChanged" ID="ZoomValuesModel.__zoomValuesChanged"></a> +</dl> +<a NAME="ZoomValuesModel.__zoomValuesChanged" ID="ZoomValuesModel.__zoomValuesChanged"></a> <h4>ZoomValuesModel.__zoomValuesChanged</h4> <b>__zoomValuesChanged</b>(<i></i>) + <p> Private slot handling a change of the registered zoom values. -</p><a NAME="ZoomValuesModel.columnCount" ID="ZoomValuesModel.columnCount"></a> +</p> +<a NAME="ZoomValuesModel.columnCount" ID="ZoomValuesModel.columnCount"></a> <h4>ZoomValuesModel.columnCount</h4> <b>columnCount</b>(<i>parent=None</i>) + <p> Public method to get the number of columns of the model. -</p><dl> +</p> +<dl> + <dt><i>parent</i></dt> <dd> parent index (QModelIndex) (Unused) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> number of columns (integer) </dd> -</dl><a NAME="ZoomValuesModel.data" ID="ZoomValuesModel.data"></a> +</dl> +<a NAME="ZoomValuesModel.data" ID="ZoomValuesModel.data"></a> <h4>ZoomValuesModel.data</h4> <b>data</b>(<i>index, role</i>) + <p> Public method to get data from the model. -</p><dl> +</p> +<dl> + <dt><i>index</i></dt> <dd> index to get data for (QModelIndex) -</dd><dt><i>role</i></dt> +</dd> +<dt><i>role</i></dt> <dd> role of the data to retrieve (integer) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> requested data </dd> -</dl><a NAME="ZoomValuesModel.headerData" ID="ZoomValuesModel.headerData"></a> +</dl> +<a NAME="ZoomValuesModel.headerData" ID="ZoomValuesModel.headerData"></a> <h4>ZoomValuesModel.headerData</h4> <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) + <p> Public method to get the header data. -</p><dl> +</p> +<dl> + <dt><i>section</i></dt> <dd> section number (integer) -</dd><dt><i>orientation</i></dt> +</dd> +<dt><i>orientation</i></dt> <dd> header orientation (Qt.Orientation) -</dd><dt><i>role</i></dt> +</dd> +<dt><i>role</i></dt> <dd> data role (integer) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> header data </dd> -</dl><a NAME="ZoomValuesModel.removeRows" ID="ZoomValuesModel.removeRows"></a> +</dl> +<a NAME="ZoomValuesModel.removeRows" ID="ZoomValuesModel.removeRows"></a> <h4>ZoomValuesModel.removeRows</h4> <b>removeRows</b>(<i>row, count, parent=None</i>) + <p> Public method to remove entries from the model. -</p><dl> +</p> +<dl> + <dt><i>row</i></dt> <dd> start row (integer) -</dd><dt><i>count</i></dt> +</dd> +<dt><i>count</i></dt> <dd> number of rows to remove (integer) -</dd><dt><i>parent</i></dt> +</dd> +<dt><i>parent</i></dt> <dd> parent index (QModelIndex) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> flag indicating success (boolean) </dd> -</dl><a NAME="ZoomValuesModel.rowCount" ID="ZoomValuesModel.rowCount"></a> +</dl> +<a NAME="ZoomValuesModel.rowCount" ID="ZoomValuesModel.rowCount"></a> <h4>ZoomValuesModel.rowCount</h4> <b>rowCount</b>(<i>parent=None</i>) + <p> Public method to get the number of rows of the model. -</p><dl> +</p> +<dl> + <dt><i>parent</i></dt> <dd> parent index (QModelIndex) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> number of rows (integer)