diff -r babe80d84a3e -r 7eb04391adf7 eric6/Documentation/Source/eric6.WebBrowser.Passwords.PasswordModel.html --- a/eric6/Documentation/Source/eric6.WebBrowser.Passwords.PasswordModel.html Mon Sep 09 18:52:08 2019 +0200 +++ b/eric6/Documentation/Source/eric6.WebBrowser.Passwords.PasswordModel.html Thu Oct 03 11:12:10 2019 +0200 @@ -18,201 +18,266 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>eric6.WebBrowser.Passwords.PasswordModel</h1> + <p> Module implementing a model for password management. </p> <h3>Global Attributes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> + <table> + <tr> <td><a href="#PasswordModel">PasswordModel</a></td> <td>Class implementing a model for password management.</td> </tr> </table> <h3>Functions</h3> + <table> <tr><td>None</td></tr> </table> -<hr /><hr /> +<hr /> +<hr /> <a NAME="PasswordModel" ID="PasswordModel"></a> <h2>PasswordModel</h2> + <p> Class implementing a model for password 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="#PasswordModel.__init__">PasswordModel</a></td> <td>Constructor</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.__passwordsChanged">__passwordsChanged</a></td> <td>Private slot handling a change of the registered passwords.</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.columnCount">columnCount</a></td> <td>Public method to get the number of columns of the model.</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.data">data</a></td> <td>Public method to get data from the model.</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.headerData">headerData</a></td> <td>Public method to get the header data.</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.removeRows">removeRows</a></td> <td>Public method to remove entries from the model.</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.rowCount">rowCount</a></td> <td>Public method to get the number of rows of the model.</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.setShowPasswords">setShowPasswords</a></td> <td>Public methods to show passwords.</td> -</tr><tr> +</tr> +<tr> <td><a href="#PasswordModel.showPasswords">showPasswords</a></td> <td>Public method to indicate, if passwords shall be shown.</td> </tr> </table> <h3>Static Methods</h3> + <table> <tr><td>None</td></tr> </table> + <a NAME="PasswordModel.__init__" ID="PasswordModel.__init__"></a> <h4>PasswordModel (Constructor)</h4> <b>PasswordModel</b>(<i>manager, parent=None</i>) + <p> Constructor -</p><dl> +</p> +<dl> + <dt><i>manager</i></dt> <dd> reference to the password manager (PasswordManager) -</dd><dt><i>parent</i></dt> +</dd> +<dt><i>parent</i></dt> <dd> reference to the parent object (QObject) </dd> -</dl><a NAME="PasswordModel.__passwordsChanged" ID="PasswordModel.__passwordsChanged"></a> +</dl> +<a NAME="PasswordModel.__passwordsChanged" ID="PasswordModel.__passwordsChanged"></a> <h4>PasswordModel.__passwordsChanged</h4> <b>__passwordsChanged</b>(<i></i>) + <p> Private slot handling a change of the registered passwords. -</p><a NAME="PasswordModel.columnCount" ID="PasswordModel.columnCount"></a> +</p> +<a NAME="PasswordModel.columnCount" ID="PasswordModel.columnCount"></a> <h4>PasswordModel.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="PasswordModel.data" ID="PasswordModel.data"></a> +</dl> +<a NAME="PasswordModel.data" ID="PasswordModel.data"></a> <h4>PasswordModel.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="PasswordModel.headerData" ID="PasswordModel.headerData"></a> +</dl> +<a NAME="PasswordModel.headerData" ID="PasswordModel.headerData"></a> <h4>PasswordModel.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="PasswordModel.removeRows" ID="PasswordModel.removeRows"></a> +</dl> +<a NAME="PasswordModel.removeRows" ID="PasswordModel.removeRows"></a> <h4>PasswordModel.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="PasswordModel.rowCount" ID="PasswordModel.rowCount"></a> +</dl> +<a NAME="PasswordModel.rowCount" ID="PasswordModel.rowCount"></a> <h4>PasswordModel.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) </dd> -</dl><a NAME="PasswordModel.setShowPasswords" ID="PasswordModel.setShowPasswords"></a> +</dl> +<a NAME="PasswordModel.setShowPasswords" ID="PasswordModel.setShowPasswords"></a> <h4>PasswordModel.setShowPasswords</h4> <b>setShowPasswords</b>(<i>on</i>) + <p> Public methods to show passwords. -</p><dl> +</p> +<dl> + <dt><i>on</i></dt> <dd> flag indicating if passwords shall be shown (boolean) </dd> -</dl><a NAME="PasswordModel.showPasswords" ID="PasswordModel.showPasswords"></a> +</dl> +<a NAME="PasswordModel.showPasswords" ID="PasswordModel.showPasswords"></a> <h4>PasswordModel.showPasswords</h4> <b>showPasswords</b>(<i></i>) + <p> Public method to indicate, if passwords shall be shown. -</p><dl> +</p> +<dl> <dt>Returns:</dt> <dd> flag indicating if passwords shall be shown (boolean)