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

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
equal deleted inserted replaced
16:892c1787d666 17:edde1fe80b3e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Helpviewer.Passwords.PasswordModel</title>
6 <style>
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n'
8 </style>
9 </head>
10 <body><a NAME="top" ID="top"></a>
11 <h1>eric5.Helpviewer.Passwords.PasswordModel</h1>
12 <p>
13 &#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;.
14 </p>
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#PasswordModel">PasswordModel</a></td>
23 <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>
24 </tr>
25 </table>
26 <h3>Functions</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <hr /><hr />
31 <a NAME="PasswordModel" ID="PasswordModel"></a>
32 <h2>PasswordModel</h2>
33 <p>
34 &#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;.
35 </p>
36 <h3>Derived from</h3>
37 QAbstractTableModel
38 <h3>Class Attributes</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <h3>Methods</h3>
43 <table>
44 <tr>
45 <td><a href="#PasswordModel.__init__">PasswordModel</a></td>
46 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
47 </tr><tr>
48 <td><a href="#PasswordModel.__passwordsChanged">__passwordsChanged</a></td>
49 <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>
50 </tr><tr>
51 <td><a href="#PasswordModel.columnCount">columnCount</a></td>
52 <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>
53 </tr><tr>
54 <td><a href="#PasswordModel.data">data</a></td>
55 <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>
56 </tr><tr>
57 <td><a href="#PasswordModel.headerData">headerData</a></td>
58 <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>
59 </tr><tr>
60 <td><a href="#PasswordModel.removeRows">removeRows</a></td>
61 <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>
62 </tr><tr>
63 <td><a href="#PasswordModel.rowCount">rowCount</a></td>
64 <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>
65 </tr><tr>
66 <td><a href="#PasswordModel.setShowPasswords">setShowPasswords</a></td>
67 <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>
68 </tr><tr>
69 <td><a href="#PasswordModel.showPasswords">showPasswords</a></td>
70 <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>
71 </tr>
72 </table>
73 <a NAME="PasswordModel.__init__" ID="PasswordModel.__init__"></a>
74 <h4>PasswordModel (Constructor)</h4>
75 <b>PasswordModel</b>(<i>manager, parent = None</i>)
76 <p>
77 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
78 </p><dl>
79 <dt><i>manager</i></dt>
80 <dd>
81 &#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;)
82 </dd><dt><i>parent</i></dt>
83 <dd>
84 &#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;)
85 </dd>
86 </dl><a NAME="PasswordModel.__passwordsChanged" ID="PasswordModel.__passwordsChanged"></a>
87 <h4>PasswordModel.__passwordsChanged</h4>
88 <b>__passwordsChanged</b>(<i></i>)
89 <p>
90 &#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;.
91 </p><a NAME="PasswordModel.columnCount" ID="PasswordModel.columnCount"></a>
92 <h4>PasswordModel.columnCount</h4>
93 <b>columnCount</b>(<i>parent = QModelIndex()</i>)
94 <p>
95 &#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;.
96 </p><dl>
97 <dt><i>parent</i></dt>
98 <dd>
99 &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
100 </dd>
101 </dl><dl>
102 <dt>Returns:</dt>
103 <dd>
104 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
105 </dd>
106 </dl><a NAME="PasswordModel.data" ID="PasswordModel.data"></a>
107 <h4>PasswordModel.data</h4>
108 <b>data</b>(<i>index, role</i>)
109 <p>
110 &#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;.
111 </p><dl>
112 <dt><i>index</i></dt>
113 <dd>
114 &#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)
115 </dd><dt><i>role</i></dt>
116 <dd>
117 &#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;)
118 </dd>
119 </dl><dl>
120 <dt>Returns:</dt>
121 <dd>
122 &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#100;&#97;&#116;&#97;
123 </dd>
124 </dl><a NAME="PasswordModel.headerData" ID="PasswordModel.headerData"></a>
125 <h4>PasswordModel.headerData</h4>
126 <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>)
127 <p>
128 &#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;.
129 </p><dl>
130 <dt><i>section</i></dt>
131 <dd>
132 &#115;&#101;&#99;&#116;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
133 </dd><dt><i>orientation</i></dt>
134 <dd>
135 &#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;)
136 </dd><dt><i>role</i></dt>
137 <dd>
138 &#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
139 </dd>
140 </dl><dl>
141 <dt>Returns:</dt>
142 <dd>
143 &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;
144 </dd>
145 </dl><a NAME="PasswordModel.removeRows" ID="PasswordModel.removeRows"></a>
146 <h4>PasswordModel.removeRows</h4>
147 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>)
148 <p>
149 &#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;.
150 </p><dl>
151 <dt><i>row</i></dt>
152 <dd>
153 &#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
154 </dd><dt><i>count</i></dt>
155 <dd>
156 &#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;)
157 </dd><dt><i>parent</i></dt>
158 <dd>
159 &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
160 </dd>
161 </dl><dl>
162 <dt>Returns:</dt>
163 <dd>
164 &#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;)
165 </dd>
166 </dl><a NAME="PasswordModel.rowCount" ID="PasswordModel.rowCount"></a>
167 <h4>PasswordModel.rowCount</h4>
168 <b>rowCount</b>(<i>parent = QModelIndex()</i>)
169 <p>
170 &#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;.
171 </p><dl>
172 <dt><i>parent</i></dt>
173 <dd>
174 &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
175 </dd>
176 </dl><dl>
177 <dt>Returns:</dt>
178 <dd>
179 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
180 </dd>
181 </dl><a NAME="PasswordModel.setShowPasswords" ID="PasswordModel.setShowPasswords"></a>
182 <h4>PasswordModel.setShowPasswords</h4>
183 <b>setShowPasswords</b>(<i>on</i>)
184 <p>
185 &#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;.
186 </p><dl>
187 <dt><i>on</i></dt>
188 <dd>
189 &#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;)
190 </dd>
191 </dl><a NAME="PasswordModel.showPasswords" ID="PasswordModel.showPasswords"></a>
192 <h4>PasswordModel.showPasswords</h4>
193 <b>showPasswords</b>(<i></i>)
194 <p>
195 &#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;.
196 </p><dl>
197 <dt>Returns:</dt>
198 <dd>
199 &#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;)
200 </dd>
201 </dl>
202 <div align="right"><a href="#top">Up</a></div>
203 <hr />
204 </body></html>

eric ide

mercurial