Documentation/Source/eric5.Helpviewer.Passwords.PasswordModel.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.Helpviewer.Passwords.PasswordModel.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Helpviewer.Passwords.PasswordModel.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Helpviewer.Passwords.PasswordModel</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#102;&#111;&#114; &#112;&#97;&#115;&#115;w&#111;&#114;&#100; &#109;&#97;&#110;&#97;&#103;&#101;&#109;&#101;&#110;&#116;.
+Module implementing a model for password management.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#PasswordModel">PasswordModel</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#102;&#111;&#114; &#112;&#97;&#115;&#115;w&#111;&#114;&#100; &#109;&#97;&#110;&#97;&#103;&#101;&#109;&#101;&#110;&#116;.</td>
+<td>Class implementing a model for password management.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="PasswordModel" ID="PasswordModel"></a>
 <h2>PasswordModel</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#102;&#111;&#114; &#112;&#97;&#115;&#115;w&#111;&#114;&#100; &#109;&#97;&#110;&#97;&#103;&#101;&#109;&#101;&#110;&#116;.
+    Class implementing a model for password management.
 </p>
 <h3>Derived from</h3>
 QAbstractTableModel
@@ -55,160 +55,160 @@
 <table>
 <tr>
 <td><a href="#PasswordModel.__init__">PasswordModel</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#PasswordModel.__passwordsChanged">__passwordsChanged</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#103;&#105;&#115;&#116;&#101;&#114;&#101;&#100; &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115;.</td>
+<td>Private slot handling a change of the registered passwords.</td>
 </tr><tr>
 <td><a href="#PasswordModel.columnCount">columnCount</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get the number of columns of the model.</td>
 </tr><tr>
 <td><a href="#PasswordModel.data">data</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get data from the model.</td>
 </tr><tr>
 <td><a href="#PasswordModel.headerData">headerData</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;.</td>
+<td>Public method to get the header data.</td>
 </tr><tr>
 <td><a href="#PasswordModel.removeRows">removeRows</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to remove entries from the model.</td>
 </tr><tr>
 <td><a href="#PasswordModel.rowCount">rowCount</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get the number of rows of the model.</td>
 </tr><tr>
 <td><a href="#PasswordModel.setShowPasswords">setShowPasswords</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100;&#115; &#116;&#111; &#115;&#104;&#111;w &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115;.</td>
+<td>Public methods to show passwords.</td>
 </tr><tr>
 <td><a href="#PasswordModel.showPasswords">showPasswords</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#101;, &#105;&#102; &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115; &#115;&#104;&#97;&#108;&#108; &#98;&#101; &#115;&#104;&#111;w&#110;.</td>
+<td>Public method to indicate, if passwords shall be shown.</td>
 </tr>
 </table>
 <a NAME="PasswordModel.__init__" ID="PasswordModel.__init__"></a>
 <h4>PasswordModel (Constructor)</h4>
 <b>PasswordModel</b>(<i>manager, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>manager</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#115;&#115;w&#111;&#114;&#100; &#109;&#97;&#110;&#97;&#103;&#101;&#114; (&#80;&#97;&#115;&#115;w&#111;&#114;&#100;&#77;&#97;&#110;&#97;&#103;&#101;&#114;)
+reference to the password manager (PasswordManager)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;)
+reference to the parent object (QObject)
 </dd>
 </dl><a NAME="PasswordModel.__passwordsChanged" ID="PasswordModel.__passwordsChanged"></a>
 <h4>PasswordModel.__passwordsChanged</h4>
 <b>__passwordsChanged</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#103;&#105;&#115;&#116;&#101;&#114;&#101;&#100; &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115;.
+        Private slot handling a change of the registered passwords.
 </p><a NAME="PasswordModel.columnCount" ID="PasswordModel.columnCount"></a>
 <h4>PasswordModel.columnCount</h4>
 <b>columnCount</b>(<i>parent = QModelIndex()</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get the number of columns of the model.
 </p><dl>
 <dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (QModelIndex)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of columns (integer)
 </dd>
 </dl><a NAME="PasswordModel.data" ID="PasswordModel.data"></a>
 <h4>PasswordModel.data</h4>
 <b>data</b>(<i>index, role</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get data from the model.
 </p><dl>
 <dt><i>index</i></dt>
 <dd>
-&#105;&#110;&#100;&#101;x &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#111;&#114; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+index to get data for (QModelIndex)
 </dd><dt><i>role</i></dt>
 <dd>
-&#114;&#111;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+role of the data to retrieve (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#100;&#97;&#116;&#97;
+requested data
 </dd>
 </dl><a NAME="PasswordModel.headerData" ID="PasswordModel.headerData"></a>
 <h4>PasswordModel.headerData</h4>
 <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;.
+        Public method to get the header data.
 </p><dl>
 <dt><i>section</i></dt>
 <dd>
-&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+section number (integer)
 </dd><dt><i>orientation</i></dt>
 <dd>
-&#104;&#101;&#97;&#100;&#101;&#114; &#111;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; (&#81;&#116;.&#79;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;)
+header orientation (Qt.Orientation)
 </dd><dt><i>role</i></dt>
 <dd>
-&#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+data role (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;
+header data
 </dd>
 </dl><a NAME="PasswordModel.removeRows" ID="PasswordModel.removeRows"></a>
 <h4>PasswordModel.removeRows</h4>
 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to remove entries from the model.
 </p><dl>
 <dt><i>row</i></dt>
 <dd>
-&#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+start row (integer)
 </dd><dt><i>count</i></dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of rows to remove (integer)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (QModelIndex)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating success (boolean)
 </dd>
 </dl><a NAME="PasswordModel.rowCount" ID="PasswordModel.rowCount"></a>
 <h4>PasswordModel.rowCount</h4>
 <b>rowCount</b>(<i>parent = QModelIndex()</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get the number of rows of the model.
 </p><dl>
 <dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (QModelIndex)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of rows (integer)
 </dd>
 </dl><a NAME="PasswordModel.setShowPasswords" ID="PasswordModel.setShowPasswords"></a>
 <h4>PasswordModel.setShowPasswords</h4>
 <b>setShowPasswords</b>(<i>on</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100;&#115; &#116;&#111; &#115;&#104;&#111;w &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115;.
+        Public methods to show passwords.
 </p><dl>
 <dt><i>on</i></dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#105;&#102; &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115; &#115;&#104;&#97;&#108;&#108; &#98;&#101; &#115;&#104;&#111;w&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating if passwords shall be shown (boolean)
 </dd>
 </dl><a NAME="PasswordModel.showPasswords" ID="PasswordModel.showPasswords"></a>
 <h4>PasswordModel.showPasswords</h4>
 <b>showPasswords</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#101;, &#105;&#102; &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115; &#115;&#104;&#97;&#108;&#108; &#98;&#101; &#115;&#104;&#111;w&#110;.
+        Public method to indicate, if passwords shall be shown.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#105;&#102; &#112;&#97;&#115;&#115;w&#111;&#114;&#100;&#115; &#115;&#104;&#97;&#108;&#108; &#98;&#101; &#115;&#104;&#111;w&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating if passwords shall be shown (boolean)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial