src/eric7/Documentation/Source/eric7.WebBrowser.Bookmarks.AddBookmarkDialog.html

branch
eric7
changeset 10479
856476537696
parent 10436
f6881d10e995
child 10684
58c7f23ae1cb
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.WebBrowser.Bookmarks.AddBookmarkDialog</h1> 9 <h1>eric7.WebBrowser.Bookmarks.AddBookmarkDialog</h1>
10
11 <p> 10 <p>
12 Module implementing a dialog to add a bookmark or a bookmark folder. 11 Module implementing a dialog to add a bookmark or a bookmark folder.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15 15 <table>
16 <table> 16 <tr><td>None</td></tr>
17 <tr><td>None</td></tr> 17 </table>
18 </table> 18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20 20 <table>
21 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#AddBookmarkDialog">AddBookmarkDialog</a></td> 22 <td><a href="#AddBookmarkDialog">AddBookmarkDialog</a></td>
25 <td>Class implementing a dialog to add a bookmark or a bookmark folder.</td> 23 <td>Class implementing a dialog to add a bookmark or a bookmark folder.</td>
26 </tr> 24 </tr>
27 <tr> 25 <tr>
28 <td><a href="#AddBookmarkProxyModel">AddBookmarkProxyModel</a></td> 26 <td><a href="#AddBookmarkProxyModel">AddBookmarkProxyModel</a></td>
29 <td>Class implementing a proxy model used by the AddBookmarkDialog dialog.</td> 27 <td>Class implementing a proxy model used by the AddBookmarkDialog dialog.</td>
30 </tr> 28 </tr>
31 </table> 29 </table>
30
32 <h3>Functions</h3> 31 <h3>Functions</h3>
33 32 <table>
34 <table> 33 <tr><td>None</td></tr>
35 <tr><td>None</td></tr> 34 </table>
36 </table> 35
37 <hr /> 36 <hr />
38 <hr /> 37 <hr />
39 <a NAME="AddBookmarkDialog" ID="AddBookmarkDialog"></a> 38 <a NAME="AddBookmarkDialog" ID="AddBookmarkDialog"></a>
40 <h2>AddBookmarkDialog</h2> 39 <h2>AddBookmarkDialog</h2>
41
42 <p> 40 <p>
43 Class implementing a dialog to add a bookmark or a bookmark folder. 41 Class implementing a dialog to add a bookmark or a bookmark folder.
44 </p> 42 </p>
43
45 <h3>Derived from</h3> 44 <h3>Derived from</h3>
46 QDialog, Ui_AddBookmarkDialog 45 QDialog, Ui_AddBookmarkDialog
47 <h3>Class Attributes</h3> 46 <h3>Class Attributes</h3>
48 47 <table>
49 <table> 48 <tr><td>None</td></tr>
50 <tr><td>None</td></tr> 49 </table>
51 </table> 50
52 <h3>Class Methods</h3> 51 <h3>Class Methods</h3>
53 52 <table>
54 <table> 53 <tr><td>None</td></tr>
55 <tr><td>None</td></tr> 54 </table>
56 </table> 55
57 <h3>Methods</h3> 56 <h3>Methods</h3>
58 57 <table>
59 <table>
60
61 <tr> 58 <tr>
62 <td><a href="#AddBookmarkDialog.__init__">AddBookmarkDialog</a></td> 59 <td><a href="#AddBookmarkDialog.__init__">AddBookmarkDialog</a></td>
63 <td>Constructor</td> 60 <td>Constructor</td>
64 </tr> 61 </tr>
65 <tr> 62 <tr>
109 <tr> 106 <tr>
110 <td><a href="#AddBookmarkDialog.url">url</a></td> 107 <td><a href="#AddBookmarkDialog.url">url</a></td>
111 <td>Public method to get the URL of the bookmark.</td> 108 <td>Public method to get the URL of the bookmark.</td>
112 </tr> 109 </tr>
113 </table> 110 </table>
111
114 <h3>Static Methods</h3> 112 <h3>Static Methods</h3>
115 113 <table>
116 <table> 114 <tr><td>None</td></tr>
117 <tr><td>None</td></tr> 115 </table>
118 </table> 116
119 117
120 <a NAME="AddBookmarkDialog.__init__" ID="AddBookmarkDialog.__init__"></a> 118 <a NAME="AddBookmarkDialog.__init__" ID="AddBookmarkDialog.__init__"></a>
121 <h4>AddBookmarkDialog (Constructor)</h4> 119 <h4>AddBookmarkDialog (Constructor)</h4>
122 <b>AddBookmarkDialog</b>(<i>parent=None, bookmarksManager=None</i>) 120 <b>AddBookmarkDialog</b>(<i>parent=None, bookmarksManager=None</i>)
123
124 <p> 121 <p>
125 Constructor 122 Constructor
126 </p> 123 </p>
124
127 <dl> 125 <dl>
128 126
129 <dt><i>parent</i> (QWidget)</dt> 127 <dt><i>parent</i> (QWidget)</dt>
130 <dd> 128 <dd>
131 reference to the parent widget 129 reference to the parent widget
136 </dd> 134 </dd>
137 </dl> 135 </dl>
138 <a NAME="AddBookmarkDialog.accept" ID="AddBookmarkDialog.accept"></a> 136 <a NAME="AddBookmarkDialog.accept" ID="AddBookmarkDialog.accept"></a>
139 <h4>AddBookmarkDialog.accept</h4> 137 <h4>AddBookmarkDialog.accept</h4>
140 <b>accept</b>(<i></i>) 138 <b>accept</b>(<i></i>)
141
142 <p> 139 <p>
143 Public slot handling the acceptance of the dialog. 140 Public slot handling the acceptance of the dialog.
144 </p> 141 </p>
142
145 <a NAME="AddBookmarkDialog.addedNode" ID="AddBookmarkDialog.addedNode"></a> 143 <a NAME="AddBookmarkDialog.addedNode" ID="AddBookmarkDialog.addedNode"></a>
146 <h4>AddBookmarkDialog.addedNode</h4> 144 <h4>AddBookmarkDialog.addedNode</h4>
147 <b>addedNode</b>(<i></i>) 145 <b>addedNode</b>(<i></i>)
148
149 <p> 146 <p>
150 Public method to get a reference to the added bookmark node. 147 Public method to get a reference to the added bookmark node.
151 </p> 148 </p>
149
152 <dl> 150 <dl>
153 <dt>Return:</dt> 151 <dt>Return:</dt>
154 <dd> 152 <dd>
155 reference to the added bookmark node 153 reference to the added bookmark node
156 </dd> 154 </dd>
162 </dd> 160 </dd>
163 </dl> 161 </dl>
164 <a NAME="AddBookmarkDialog.currentIndex" ID="AddBookmarkDialog.currentIndex"></a> 162 <a NAME="AddBookmarkDialog.currentIndex" ID="AddBookmarkDialog.currentIndex"></a>
165 <h4>AddBookmarkDialog.currentIndex</h4> 163 <h4>AddBookmarkDialog.currentIndex</h4>
166 <b>currentIndex</b>(<i></i>) 164 <b>currentIndex</b>(<i></i>)
167
168 <p> 165 <p>
169 Public method to get the current index. 166 Public method to get the current index.
170 </p> 167 </p>
168
171 <dl> 169 <dl>
172 <dt>Return:</dt> 170 <dt>Return:</dt>
173 <dd> 171 <dd>
174 current index 172 current index
175 </dd> 173 </dd>
181 </dd> 179 </dd>
182 </dl> 180 </dl>
183 <a NAME="AddBookmarkDialog.description" ID="AddBookmarkDialog.description"></a> 181 <a NAME="AddBookmarkDialog.description" ID="AddBookmarkDialog.description"></a>
184 <h4>AddBookmarkDialog.description</h4> 182 <h4>AddBookmarkDialog.description</h4>
185 <b>description</b>(<i></i>) 183 <b>description</b>(<i></i>)
186
187 <p> 184 <p>
188 Public method to get the description of the bookmark. 185 Public method to get the description of the bookmark.
189 </p> 186 </p>
187
190 <dl> 188 <dl>
191 <dt>Return:</dt> 189 <dt>Return:</dt>
192 <dd> 190 <dd>
193 description of the bookamrk 191 description of the bookamrk
194 </dd> 192 </dd>
200 </dd> 198 </dd>
201 </dl> 199 </dl>
202 <a NAME="AddBookmarkDialog.isFolder" ID="AddBookmarkDialog.isFolder"></a> 200 <a NAME="AddBookmarkDialog.isFolder" ID="AddBookmarkDialog.isFolder"></a>
203 <h4>AddBookmarkDialog.isFolder</h4> 201 <h4>AddBookmarkDialog.isFolder</h4>
204 <b>isFolder</b>(<i></i>) 202 <b>isFolder</b>(<i></i>)
205
206 <p> 203 <p>
207 Public method to test, if the dialog is in "Add Folder" mode. 204 Public method to test, if the dialog is in "Add Folder" mode.
208 </p> 205 </p>
206
209 <dl> 207 <dl>
210 <dt>Return:</dt> 208 <dt>Return:</dt>
211 <dd> 209 <dd>
212 flag indicating "Add Folder" mode 210 flag indicating "Add Folder" mode
213 </dd> 211 </dd>
219 </dd> 217 </dd>
220 </dl> 218 </dl>
221 <a NAME="AddBookmarkDialog.setCurrentIndex" ID="AddBookmarkDialog.setCurrentIndex"></a> 219 <a NAME="AddBookmarkDialog.setCurrentIndex" ID="AddBookmarkDialog.setCurrentIndex"></a>
222 <h4>AddBookmarkDialog.setCurrentIndex</h4> 220 <h4>AddBookmarkDialog.setCurrentIndex</h4>
223 <b>setCurrentIndex</b>(<i>idx</i>) 221 <b>setCurrentIndex</b>(<i>idx</i>)
224
225 <p> 222 <p>
226 Public method to set the current index. 223 Public method to set the current index.
227 </p> 224 </p>
225
228 <dl> 226 <dl>
229 227
230 <dt><i>idx</i> (QModelIndex)</dt> 228 <dt><i>idx</i> (QModelIndex)</dt>
231 <dd> 229 <dd>
232 current index to be set 230 current index to be set
233 </dd> 231 </dd>
234 </dl> 232 </dl>
235 <a NAME="AddBookmarkDialog.setDescription" ID="AddBookmarkDialog.setDescription"></a> 233 <a NAME="AddBookmarkDialog.setDescription" ID="AddBookmarkDialog.setDescription"></a>
236 <h4>AddBookmarkDialog.setDescription</h4> 234 <h4>AddBookmarkDialog.setDescription</h4>
237 <b>setDescription</b>(<i>description</i>) 235 <b>setDescription</b>(<i>description</i>)
238
239 <p> 236 <p>
240 Public method to set the description of the new bookmark. 237 Public method to set the description of the new bookmark.
241 </p> 238 </p>
239
242 <dl> 240 <dl>
243 241
244 <dt><i>description</i> (str)</dt> 242 <dt><i>description</i> (str)</dt>
245 <dd> 243 <dd>
246 description of the bookamrk 244 description of the bookamrk
247 </dd> 245 </dd>
248 </dl> 246 </dl>
249 <a NAME="AddBookmarkDialog.setFolder" ID="AddBookmarkDialog.setFolder"></a> 247 <a NAME="AddBookmarkDialog.setFolder" ID="AddBookmarkDialog.setFolder"></a>
250 <h4>AddBookmarkDialog.setFolder</h4> 248 <h4>AddBookmarkDialog.setFolder</h4>
251 <b>setFolder</b>(<i>folder</i>) 249 <b>setFolder</b>(<i>folder</i>)
252
253 <p> 250 <p>
254 Public method to set the dialog to "Add Folder" mode. 251 Public method to set the dialog to "Add Folder" mode.
255 </p> 252 </p>
253
256 <dl> 254 <dl>
257 255
258 <dt><i>folder</i> (bool)</dt> 256 <dt><i>folder</i> (bool)</dt>
259 <dd> 257 <dd>
260 flag indicating "Add Folder" mode 258 flag indicating "Add Folder" mode
261 </dd> 259 </dd>
262 </dl> 260 </dl>
263 <a NAME="AddBookmarkDialog.setTitle" ID="AddBookmarkDialog.setTitle"></a> 261 <a NAME="AddBookmarkDialog.setTitle" ID="AddBookmarkDialog.setTitle"></a>
264 <h4>AddBookmarkDialog.setTitle</h4> 262 <h4>AddBookmarkDialog.setTitle</h4>
265 <b>setTitle</b>(<i>title</i>) 263 <b>setTitle</b>(<i>title</i>)
266
267 <p> 264 <p>
268 Public method to set the title of the new bookmark. 265 Public method to set the title of the new bookmark.
269 </p> 266 </p>
267
270 <dl> 268 <dl>
271 269
272 <dt><i>title</i> (str)</dt> 270 <dt><i>title</i> (str)</dt>
273 <dd> 271 <dd>
274 title of the bookmark 272 title of the bookmark
275 </dd> 273 </dd>
276 </dl> 274 </dl>
277 <a NAME="AddBookmarkDialog.setUrl" ID="AddBookmarkDialog.setUrl"></a> 275 <a NAME="AddBookmarkDialog.setUrl" ID="AddBookmarkDialog.setUrl"></a>
278 <h4>AddBookmarkDialog.setUrl</h4> 276 <h4>AddBookmarkDialog.setUrl</h4>
279 <b>setUrl</b>(<i>url</i>) 277 <b>setUrl</b>(<i>url</i>)
280
281 <p> 278 <p>
282 Public slot to set the URL of the new bookmark. 279 Public slot to set the URL of the new bookmark.
283 </p> 280 </p>
281
284 <dl> 282 <dl>
285 283
286 <dt><i>url</i> (str)</dt> 284 <dt><i>url</i> (str)</dt>
287 <dd> 285 <dd>
288 URL of the bookmark 286 URL of the bookmark
289 </dd> 287 </dd>
290 </dl> 288 </dl>
291 <a NAME="AddBookmarkDialog.title" ID="AddBookmarkDialog.title"></a> 289 <a NAME="AddBookmarkDialog.title" ID="AddBookmarkDialog.title"></a>
292 <h4>AddBookmarkDialog.title</h4> 290 <h4>AddBookmarkDialog.title</h4>
293 <b>title</b>(<i></i>) 291 <b>title</b>(<i></i>)
294
295 <p> 292 <p>
296 Public method to get the title of the bookmark. 293 Public method to get the title of the bookmark.
297 </p> 294 </p>
295
298 <dl> 296 <dl>
299 <dt>Return:</dt> 297 <dt>Return:</dt>
300 <dd> 298 <dd>
301 title of the bookmark 299 title of the bookmark
302 </dd> 300 </dd>
308 </dd> 306 </dd>
309 </dl> 307 </dl>
310 <a NAME="AddBookmarkDialog.url" ID="AddBookmarkDialog.url"></a> 308 <a NAME="AddBookmarkDialog.url" ID="AddBookmarkDialog.url"></a>
311 <h4>AddBookmarkDialog.url</h4> 309 <h4>AddBookmarkDialog.url</h4>
312 <b>url</b>(<i></i>) 310 <b>url</b>(<i></i>)
313
314 <p> 311 <p>
315 Public method to get the URL of the bookmark. 312 Public method to get the URL of the bookmark.
316 </p> 313 </p>
314
317 <dl> 315 <dl>
318 <dt>Return:</dt> 316 <dt>Return:</dt>
319 <dd> 317 <dd>
320 URL of the bookmark 318 URL of the bookmark
321 </dd> 319 </dd>
329 <div align="right"><a href="#top">Up</a></div> 327 <div align="right"><a href="#top">Up</a></div>
330 <hr /> 328 <hr />
331 <hr /> 329 <hr />
332 <a NAME="AddBookmarkProxyModel" ID="AddBookmarkProxyModel"></a> 330 <a NAME="AddBookmarkProxyModel" ID="AddBookmarkProxyModel"></a>
333 <h2>AddBookmarkProxyModel</h2> 331 <h2>AddBookmarkProxyModel</h2>
334
335 <p> 332 <p>
336 Class implementing a proxy model used by the AddBookmarkDialog dialog. 333 Class implementing a proxy model used by the AddBookmarkDialog dialog.
337 </p> 334 </p>
335
338 <h3>Derived from</h3> 336 <h3>Derived from</h3>
339 QSortFilterProxyModel 337 QSortFilterProxyModel
340 <h3>Class Attributes</h3> 338 <h3>Class Attributes</h3>
341 339 <table>
342 <table> 340 <tr><td>None</td></tr>
343 <tr><td>None</td></tr> 341 </table>
344 </table> 342
345 <h3>Class Methods</h3> 343 <h3>Class Methods</h3>
346 344 <table>
347 <table> 345 <tr><td>None</td></tr>
348 <tr><td>None</td></tr> 346 </table>
349 </table> 347
350 <h3>Methods</h3> 348 <h3>Methods</h3>
351 349 <table>
352 <table>
353
354 <tr> 350 <tr>
355 <td><a href="#AddBookmarkProxyModel.__init__">AddBookmarkProxyModel</a></td> 351 <td><a href="#AddBookmarkProxyModel.__init__">AddBookmarkProxyModel</a></td>
356 <td>Constructor</td> 352 <td>Constructor</td>
357 </tr> 353 </tr>
358 <tr> 354 <tr>
370 <tr> 366 <tr>
371 <td><a href="#AddBookmarkProxyModel.hasChildren">hasChildren</a></td> 367 <td><a href="#AddBookmarkProxyModel.hasChildren">hasChildren</a></td>
372 <td>Public method to check, if a parent node has some children.</td> 368 <td>Public method to check, if a parent node has some children.</td>
373 </tr> 369 </tr>
374 </table> 370 </table>
371
375 <h3>Static Methods</h3> 372 <h3>Static Methods</h3>
376 373 <table>
377 <table> 374 <tr><td>None</td></tr>
378 <tr><td>None</td></tr> 375 </table>
379 </table> 376
380 377
381 <a NAME="AddBookmarkProxyModel.__init__" ID="AddBookmarkProxyModel.__init__"></a> 378 <a NAME="AddBookmarkProxyModel.__init__" ID="AddBookmarkProxyModel.__init__"></a>
382 <h4>AddBookmarkProxyModel (Constructor)</h4> 379 <h4>AddBookmarkProxyModel (Constructor)</h4>
383 <b>AddBookmarkProxyModel</b>(<i>parent=None</i>) 380 <b>AddBookmarkProxyModel</b>(<i>parent=None</i>)
384
385 <p> 381 <p>
386 Constructor 382 Constructor
387 </p> 383 </p>
384
388 <dl> 385 <dl>
389 386
390 <dt><i>parent</i> (QObject)</dt> 387 <dt><i>parent</i> (QObject)</dt>
391 <dd> 388 <dd>
392 reference to the parent object 389 reference to the parent object
393 </dd> 390 </dd>
394 </dl> 391 </dl>
395 <a NAME="AddBookmarkProxyModel.columnCount" ID="AddBookmarkProxyModel.columnCount"></a> 392 <a NAME="AddBookmarkProxyModel.columnCount" ID="AddBookmarkProxyModel.columnCount"></a>
396 <h4>AddBookmarkProxyModel.columnCount</h4> 393 <h4>AddBookmarkProxyModel.columnCount</h4>
397 <b>columnCount</b>(<i>parent</i>) 394 <b>columnCount</b>(<i>parent</i>)
398
399 <p> 395 <p>
400 Public method to return the number of columns. 396 Public method to return the number of columns.
401 </p> 397 </p>
398
402 <dl> 399 <dl>
403 400
404 <dt><i>parent</i> (QModelIndex)</dt> 401 <dt><i>parent</i> (QModelIndex)</dt>
405 <dd> 402 <dd>
406 index of the parent 403 index of the parent
419 </dd> 416 </dd>
420 </dl> 417 </dl>
421 <a NAME="AddBookmarkProxyModel.filterAcceptsColumn" ID="AddBookmarkProxyModel.filterAcceptsColumn"></a> 418 <a NAME="AddBookmarkProxyModel.filterAcceptsColumn" ID="AddBookmarkProxyModel.filterAcceptsColumn"></a>
422 <h4>AddBookmarkProxyModel.filterAcceptsColumn</h4> 419 <h4>AddBookmarkProxyModel.filterAcceptsColumn</h4>
423 <b>filterAcceptsColumn</b>(<i>sourceColumn, sourceParent</i>) 420 <b>filterAcceptsColumn</b>(<i>sourceColumn, sourceParent</i>)
424
425 <p> 421 <p>
426 Public method to determine, if the column is acceptable. 422 Public method to determine, if the column is acceptable.
427 </p> 423 </p>
424
428 <dl> 425 <dl>
429 426
430 <dt><i>sourceColumn</i> (int)</dt> 427 <dt><i>sourceColumn</i> (int)</dt>
431 <dd> 428 <dd>
432 column number in the source model 429 column number in the source model
449 </dd> 446 </dd>
450 </dl> 447 </dl>
451 <a NAME="AddBookmarkProxyModel.filterAcceptsRow" ID="AddBookmarkProxyModel.filterAcceptsRow"></a> 448 <a NAME="AddBookmarkProxyModel.filterAcceptsRow" ID="AddBookmarkProxyModel.filterAcceptsRow"></a>
452 <h4>AddBookmarkProxyModel.filterAcceptsRow</h4> 449 <h4>AddBookmarkProxyModel.filterAcceptsRow</h4>
453 <b>filterAcceptsRow</b>(<i>sourceRow, sourceParent</i>) 450 <b>filterAcceptsRow</b>(<i>sourceRow, sourceParent</i>)
454
455 <p> 451 <p>
456 Public method to determine, if the row is acceptable. 452 Public method to determine, if the row is acceptable.
457 </p> 453 </p>
454
458 <dl> 455 <dl>
459 456
460 <dt><i>sourceRow</i> (int)</dt> 457 <dt><i>sourceRow</i> (int)</dt>
461 <dd> 458 <dd>
462 row number in the source model 459 row number in the source model
479 </dd> 476 </dd>
480 </dl> 477 </dl>
481 <a NAME="AddBookmarkProxyModel.hasChildren" ID="AddBookmarkProxyModel.hasChildren"></a> 478 <a NAME="AddBookmarkProxyModel.hasChildren" ID="AddBookmarkProxyModel.hasChildren"></a>
482 <h4>AddBookmarkProxyModel.hasChildren</h4> 479 <h4>AddBookmarkProxyModel.hasChildren</h4>
483 <b>hasChildren</b>(<i>parent=None</i>) 480 <b>hasChildren</b>(<i>parent=None</i>)
484
485 <p> 481 <p>
486 Public method to check, if a parent node has some children. 482 Public method to check, if a parent node has some children.
487 </p> 483 </p>
484
488 <dl> 485 <dl>
489 486
490 <dt><i>parent</i> (QModelIndex)</dt> 487 <dt><i>parent</i> (QModelIndex)</dt>
491 <dd> 488 <dd>
492 index of the parent node 489 index of the parent node

eric ide

mercurial