src/eric7/Documentation/Source/eric7.WebBrowser.Passwords.PasswordModel.html

branch
eric7
changeset 10436
f6881d10e995
parent 10259
b51dfacef37f
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
104 <p> 104 <p>
105 Constructor 105 Constructor
106 </p> 106 </p>
107 <dl> 107 <dl>
108 108
109 <dt><i>manager</i></dt> 109 <dt><i>manager</i> (PasswordManager)</dt>
110 <dd> 110 <dd>
111 reference to the password manager (PasswordManager) 111 reference to the password manager
112 </dd> 112 </dd>
113 <dt><i>parent</i></dt> 113 <dt><i>parent</i> (QObject)</dt>
114 <dd> 114 <dd>
115 reference to the parent object (QObject) 115 reference to the parent object
116 </dd> 116 </dd>
117 </dl> 117 </dl>
118 <a NAME="PasswordModel.__passwordsChanged" ID="PasswordModel.__passwordsChanged"></a> 118 <a NAME="PasswordModel.__passwordsChanged" ID="PasswordModel.__passwordsChanged"></a>
119 <h4>PasswordModel.__passwordsChanged</h4> 119 <h4>PasswordModel.__passwordsChanged</h4>
120 <b>__passwordsChanged</b>(<i></i>) 120 <b>__passwordsChanged</b>(<i></i>)
129 <p> 129 <p>
130 Public method to get the number of columns of the model. 130 Public method to get the number of columns of the model.
131 </p> 131 </p>
132 <dl> 132 <dl>
133 133
134 <dt><i>parent</i></dt> 134 <dt><i>parent</i> (QModelIndex)</dt>
135 <dd> 135 <dd>
136 parent index (QModelIndex) (Unused) 136 parent index (Unused)
137 </dd> 137 </dd>
138 </dl> 138 </dl>
139 <dl> 139 <dl>
140 <dt>Return:</dt> 140 <dt>Return:</dt>
141 <dd> 141 <dd>
142 number of columns (integer) 142 number of columns
143 </dd>
144 </dl>
145 <dl>
146 <dt>Return Type:</dt>
147 <dd>
148 int
143 </dd> 149 </dd>
144 </dl> 150 </dl>
145 <a NAME="PasswordModel.data" ID="PasswordModel.data"></a> 151 <a NAME="PasswordModel.data" ID="PasswordModel.data"></a>
146 <h4>PasswordModel.data</h4> 152 <h4>PasswordModel.data</h4>
147 <b>data</b>(<i>index, role</i>) 153 <b>data</b>(<i>index, role</i>)
149 <p> 155 <p>
150 Public method to get data from the model. 156 Public method to get data from the model.
151 </p> 157 </p>
152 <dl> 158 <dl>
153 159
154 <dt><i>index</i></dt> 160 <dt><i>index</i> (QModelIndex)</dt>
155 <dd> 161 <dd>
156 index to get data for (QModelIndex) 162 index to get data for
157 </dd> 163 </dd>
158 <dt><i>role</i></dt> 164 <dt><i>role</i> (int)</dt>
159 <dd> 165 <dd>
160 role of the data to retrieve (integer) 166 role of the data to retrieve
161 </dd> 167 </dd>
162 </dl> 168 </dl>
163 <dl> 169 <dl>
164 <dt>Return:</dt> 170 <dt>Return:</dt>
165 <dd> 171 <dd>
166 requested data 172 requested data
173 </dd>
174 </dl>
175 <dl>
176 <dt>Return Type:</dt>
177 <dd>
178 Any
167 </dd> 179 </dd>
168 </dl> 180 </dl>
169 <a NAME="PasswordModel.headerData" ID="PasswordModel.headerData"></a> 181 <a NAME="PasswordModel.headerData" ID="PasswordModel.headerData"></a>
170 <h4>PasswordModel.headerData</h4> 182 <h4>PasswordModel.headerData</h4>
171 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) 183 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>)
173 <p> 185 <p>
174 Public method to get the header data. 186 Public method to get the header data.
175 </p> 187 </p>
176 <dl> 188 <dl>
177 189
178 <dt><i>section</i></dt> 190 <dt><i>section</i> (int)</dt>
179 <dd> 191 <dd>
180 section number (integer) 192 section number
181 </dd> 193 </dd>
182 <dt><i>orientation</i></dt> 194 <dt><i>orientation</i> (Qt.Orientation)</dt>
183 <dd> 195 <dd>
184 header orientation (Qt.Orientation) 196 header orientation
185 </dd> 197 </dd>
186 <dt><i>role</i></dt> 198 <dt><i>role</i> (Qt.ItemDataRole)</dt>
187 <dd> 199 <dd>
188 data role (Qt.ItemDataRole) 200 data role
189 </dd> 201 </dd>
190 </dl> 202 </dl>
191 <dl> 203 <dl>
192 <dt>Return:</dt> 204 <dt>Return:</dt>
193 <dd> 205 <dd>
194 header data 206 header data
207 </dd>
208 </dl>
209 <dl>
210 <dt>Return Type:</dt>
211 <dd>
212 Any
195 </dd> 213 </dd>
196 </dl> 214 </dl>
197 <a NAME="PasswordModel.removeRows" ID="PasswordModel.removeRows"></a> 215 <a NAME="PasswordModel.removeRows" ID="PasswordModel.removeRows"></a>
198 <h4>PasswordModel.removeRows</h4> 216 <h4>PasswordModel.removeRows</h4>
199 <b>removeRows</b>(<i>row, count, parent=None</i>) 217 <b>removeRows</b>(<i>row, count, parent=None</i>)
201 <p> 219 <p>
202 Public method to remove entries from the model. 220 Public method to remove entries from the model.
203 </p> 221 </p>
204 <dl> 222 <dl>
205 223
206 <dt><i>row</i></dt> 224 <dt><i>row</i> (int)</dt>
207 <dd> 225 <dd>
208 start row (integer) 226 start row
209 </dd> 227 </dd>
210 <dt><i>count</i></dt> 228 <dt><i>count</i> (int)</dt>
211 <dd> 229 <dd>
212 number of rows to remove (integer) 230 number of rows to remove
213 </dd> 231 </dd>
214 <dt><i>parent</i></dt> 232 <dt><i>parent</i> (QModelIndex)</dt>
215 <dd> 233 <dd>
216 parent index (QModelIndex) 234 parent index
217 </dd> 235 </dd>
218 </dl> 236 </dl>
219 <dl> 237 <dl>
220 <dt>Return:</dt> 238 <dt>Return:</dt>
221 <dd> 239 <dd>
222 flag indicating success (boolean) 240 flag indicating success
241 </dd>
242 </dl>
243 <dl>
244 <dt>Return Type:</dt>
245 <dd>
246 bool
223 </dd> 247 </dd>
224 </dl> 248 </dl>
225 <a NAME="PasswordModel.rowCount" ID="PasswordModel.rowCount"></a> 249 <a NAME="PasswordModel.rowCount" ID="PasswordModel.rowCount"></a>
226 <h4>PasswordModel.rowCount</h4> 250 <h4>PasswordModel.rowCount</h4>
227 <b>rowCount</b>(<i>parent=None</i>) 251 <b>rowCount</b>(<i>parent=None</i>)
229 <p> 253 <p>
230 Public method to get the number of rows of the model. 254 Public method to get the number of rows of the model.
231 </p> 255 </p>
232 <dl> 256 <dl>
233 257
234 <dt><i>parent</i></dt> 258 <dt><i>parent</i> (QModelIndex)</dt>
235 <dd> 259 <dd>
236 parent index (QModelIndex) 260 parent index
237 </dd> 261 </dd>
238 </dl> 262 </dl>
239 <dl> 263 <dl>
240 <dt>Return:</dt> 264 <dt>Return:</dt>
241 <dd> 265 <dd>
242 number of rows (integer) 266 number of rows
267 </dd>
268 </dl>
269 <dl>
270 <dt>Return Type:</dt>
271 <dd>
272 int
243 </dd> 273 </dd>
244 </dl> 274 </dl>
245 <a NAME="PasswordModel.setShowPasswords" ID="PasswordModel.setShowPasswords"></a> 275 <a NAME="PasswordModel.setShowPasswords" ID="PasswordModel.setShowPasswords"></a>
246 <h4>PasswordModel.setShowPasswords</h4> 276 <h4>PasswordModel.setShowPasswords</h4>
247 <b>setShowPasswords</b>(<i>on</i>) 277 <b>setShowPasswords</b>(<i>on</i>)
249 <p> 279 <p>
250 Public methods to show passwords. 280 Public methods to show passwords.
251 </p> 281 </p>
252 <dl> 282 <dl>
253 283
254 <dt><i>on</i></dt> 284 <dt><i>on</i> (bool)</dt>
255 <dd> 285 <dd>
256 flag indicating if passwords shall be shown (boolean) 286 flag indicating if passwords shall be shown
257 </dd> 287 </dd>
258 </dl> 288 </dl>
259 <a NAME="PasswordModel.showPasswords" ID="PasswordModel.showPasswords"></a> 289 <a NAME="PasswordModel.showPasswords" ID="PasswordModel.showPasswords"></a>
260 <h4>PasswordModel.showPasswords</h4> 290 <h4>PasswordModel.showPasswords</h4>
261 <b>showPasswords</b>(<i></i>) 291 <b>showPasswords</b>(<i></i>)
264 Public method to indicate, if passwords shall be shown. 294 Public method to indicate, if passwords shall be shown.
265 </p> 295 </p>
266 <dl> 296 <dl>
267 <dt>Return:</dt> 297 <dt>Return:</dt>
268 <dd> 298 <dd>
269 flag indicating if passwords shall be shown (boolean) 299 flag indicating if passwords shall be shown
300 </dd>
301 </dl>
302 <dl>
303 <dt>Return Type:</dt>
304 <dd>
305 bool
270 </dd> 306 </dd>
271 </dl> 307 </dl>
272 <div align="right"><a href="#top">Up</a></div> 308 <div align="right"><a href="#top">Up</a></div>
273 <hr /> 309 <hr />
274 </body></html> 310 </body></html>

eric ide

mercurial