eric6/Documentation/Source/eric6.WebBrowser.Bookmarks.BookmarksMenu.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.Bookmarks.BookmarksMenu</h1> 23 <h1>eric6.WebBrowser.Bookmarks.BookmarksMenu</h1>
24
23 <p> 25 <p>
24 Module implementing the bookmarks menu. 26 Module implementing the bookmarks menu.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#BookmarksMenu">BookmarksMenu</a></td> 38 <td><a href="#BookmarksMenu">BookmarksMenu</a></td>
34 <td>Class implementing the bookmarks menu base class.</td> 39 <td>Class implementing the bookmarks menu base class.</td>
35 </tr><tr> 40 </tr>
41 <tr>
36 <td><a href="#BookmarksMenuBarMenu">BookmarksMenuBarMenu</a></td> 42 <td><a href="#BookmarksMenuBarMenu">BookmarksMenuBarMenu</a></td>
37 <td>Class implementing a dynamically populated menu for bookmarks.</td> 43 <td>Class implementing a dynamically populated menu for bookmarks.</td>
38 </tr> 44 </tr>
39 </table> 45 </table>
40 <h3>Functions</h3> 46 <h3>Functions</h3>
41 <table> 47
42 <tr><td>None</td></tr> 48 <table>
43 </table> 49 <tr><td>None</td></tr>
44 <hr /><hr /> 50 </table>
51 <hr />
52 <hr />
45 <a NAME="BookmarksMenu" ID="BookmarksMenu"></a> 53 <a NAME="BookmarksMenu" ID="BookmarksMenu"></a>
46 <h2>BookmarksMenu</h2> 54 <h2>BookmarksMenu</h2>
55
47 <p> 56 <p>
48 Class implementing the bookmarks menu base class. 57 Class implementing the bookmarks menu base class.
49 </p><h3>Signals</h3> 58 </p>
50 <dl> 59 <h3>Signals</h3>
60 <dl>
61
51 <dt>newTab(QUrl, str)</dt> 62 <dt>newTab(QUrl, str)</dt>
52 <dd> 63 <dd>
53 emitted to open a URL with the given title in a 64 emitted to open a URL with the given title in a
54 new tab 65 new tab
55 </dd><dt>newWindow(QUrl, str)</dt> 66 </dd>
67 <dt>newWindow(QUrl, str)</dt>
56 <dd> 68 <dd>
57 emitted to open a URL with the given title in 69 emitted to open a URL with the given title in
58 a new window 70 a new window
59 </dd><dt>openUrl(QUrl, str)</dt> 71 </dd>
72 <dt>openUrl(QUrl, str)</dt>
60 <dd> 73 <dd>
61 emitted to open a URL with the given title in 74 emitted to open a URL with the given title in
62 the current tab 75 the current tab
63 </dd> 76 </dd>
64 </dl> 77 </dl>
65 <h3>Derived from</h3> 78 <h3>Derived from</h3>
66 E5ModelMenu 79 E5ModelMenu
67 <h3>Class Attributes</h3> 80 <h3>Class Attributes</h3>
81
68 <table> 82 <table>
69 <tr><td>None</td></tr> 83 <tr><td>None</td></tr>
70 </table> 84 </table>
71 <h3>Class Methods</h3> 85 <h3>Class Methods</h3>
86
72 <table> 87 <table>
73 <tr><td>None</td></tr> 88 <tr><td>None</td></tr>
74 </table> 89 </table>
75 <h3>Methods</h3> 90 <h3>Methods</h3>
76 <table> 91
92 <table>
93
77 <tr> 94 <tr>
78 <td><a href="#BookmarksMenu.__init__">BookmarksMenu</a></td> 95 <td><a href="#BookmarksMenu.__init__">BookmarksMenu</a></td>
79 <td>Constructor</td> 96 <td>Constructor</td>
80 </tr><tr> 97 </tr>
98 <tr>
81 <td><a href="#BookmarksMenu.__activated">__activated</a></td> 99 <td><a href="#BookmarksMenu.__activated">__activated</a></td>
82 <td>Private slot handling the activated signal.</td> 100 <td>Private slot handling the activated signal.</td>
83 </tr><tr> 101 </tr>
102 <tr>
84 <td><a href="#BookmarksMenu.__contextMenuRequested">__contextMenuRequested</a></td> 103 <td><a href="#BookmarksMenu.__contextMenuRequested">__contextMenuRequested</a></td>
85 <td>Private slot to handle the context menu request.</td> 104 <td>Private slot to handle the context menu request.</td>
86 </tr><tr> 105 </tr>
106 <tr>
87 <td><a href="#BookmarksMenu.__edit">__edit</a></td> 107 <td><a href="#BookmarksMenu.__edit">__edit</a></td>
88 <td>Private slot to edit a bookmarks properties.</td> 108 <td>Private slot to edit a bookmarks properties.</td>
89 </tr><tr> 109 </tr>
110 <tr>
90 <td><a href="#BookmarksMenu.__openBookmark">__openBookmark</a></td> 111 <td><a href="#BookmarksMenu.__openBookmark">__openBookmark</a></td>
91 <td>Private slot to open a bookmark in the current browser tab.</td> 112 <td>Private slot to open a bookmark in the current browser tab.</td>
92 </tr><tr> 113 </tr>
114 <tr>
93 <td><a href="#BookmarksMenu.__openBookmarkInNewTab">__openBookmarkInNewTab</a></td> 115 <td><a href="#BookmarksMenu.__openBookmarkInNewTab">__openBookmarkInNewTab</a></td>
94 <td>Private slot to open a bookmark in a new browser tab.</td> 116 <td>Private slot to open a bookmark in a new browser tab.</td>
95 </tr><tr> 117 </tr>
118 <tr>
96 <td><a href="#BookmarksMenu.__openBookmarkInNewWindow">__openBookmarkInNewWindow</a></td> 119 <td><a href="#BookmarksMenu.__openBookmarkInNewWindow">__openBookmarkInNewWindow</a></td>
97 <td>Private slot to open a bookmark in a new window.</td> 120 <td>Private slot to open a bookmark in a new window.</td>
98 </tr><tr> 121 </tr>
122 <tr>
99 <td><a href="#BookmarksMenu.__openBookmarkInPrivateWindow">__openBookmarkInPrivateWindow</a></td> 123 <td><a href="#BookmarksMenu.__openBookmarkInPrivateWindow">__openBookmarkInPrivateWindow</a></td>
100 <td>Private slot to open a bookmark in a new private window.</td> 124 <td>Private slot to open a bookmark in a new private window.</td>
101 </tr><tr> 125 </tr>
126 <tr>
102 <td><a href="#BookmarksMenu.__removeBookmark">__removeBookmark</a></td> 127 <td><a href="#BookmarksMenu.__removeBookmark">__removeBookmark</a></td>
103 <td>Private slot to remove a bookmark.</td> 128 <td>Private slot to remove a bookmark.</td>
104 </tr><tr> 129 </tr>
130 <tr>
105 <td><a href="#BookmarksMenu.__updateVisitCount">__updateVisitCount</a></td> 131 <td><a href="#BookmarksMenu.__updateVisitCount">__updateVisitCount</a></td>
106 <td>Private method to update the visit count of a bookmark.</td> 132 <td>Private method to update the visit count of a bookmark.</td>
107 </tr><tr> 133 </tr>
134 <tr>
108 <td><a href="#BookmarksMenu.createBaseMenu">createBaseMenu</a></td> 135 <td><a href="#BookmarksMenu.createBaseMenu">createBaseMenu</a></td>
109 <td>Public method to get the menu that is used to populate sub menu's.</td> 136 <td>Public method to get the menu that is used to populate sub menu's.</td>
110 </tr><tr> 137 </tr>
138 <tr>
111 <td><a href="#BookmarksMenu.openAll">openAll</a></td> 139 <td><a href="#BookmarksMenu.openAll">openAll</a></td>
112 <td>Public slot to open all the menu's items.</td> 140 <td>Public slot to open all the menu's items.</td>
113 </tr><tr> 141 </tr>
142 <tr>
114 <td><a href="#BookmarksMenu.postPopulated">postPopulated</a></td> 143 <td><a href="#BookmarksMenu.postPopulated">postPopulated</a></td>
115 <td>Public method to add any actions after the tree.</td> 144 <td>Public method to add any actions after the tree.</td>
116 </tr> 145 </tr>
117 </table> 146 </table>
118 <h3>Static Methods</h3> 147 <h3>Static Methods</h3>
119 <table> 148
120 <tr><td>None</td></tr> 149 <table>
121 </table> 150 <tr><td>None</td></tr>
151 </table>
152
122 <a NAME="BookmarksMenu.__init__" ID="BookmarksMenu.__init__"></a> 153 <a NAME="BookmarksMenu.__init__" ID="BookmarksMenu.__init__"></a>
123 <h4>BookmarksMenu (Constructor)</h4> 154 <h4>BookmarksMenu (Constructor)</h4>
124 <b>BookmarksMenu</b>(<i>parent=None</i>) 155 <b>BookmarksMenu</b>(<i>parent=None</i>)
156
125 <p> 157 <p>
126 Constructor 158 Constructor
127 </p><dl> 159 </p>
160 <dl>
161
128 <dt><i>parent</i></dt> 162 <dt><i>parent</i></dt>
129 <dd> 163 <dd>
130 reference to the parent widget (QWidget) 164 reference to the parent widget (QWidget)
131 </dd> 165 </dd>
132 </dl><a NAME="BookmarksMenu.__activated" ID="BookmarksMenu.__activated"></a> 166 </dl>
167 <a NAME="BookmarksMenu.__activated" ID="BookmarksMenu.__activated"></a>
133 <h4>BookmarksMenu.__activated</h4> 168 <h4>BookmarksMenu.__activated</h4>
134 <b>__activated</b>(<i>idx</i>) 169 <b>__activated</b>(<i>idx</i>)
170
135 <p> 171 <p>
136 Private slot handling the activated signal. 172 Private slot handling the activated signal.
137 </p><dl> 173 </p>
174 <dl>
175
138 <dt><i>idx</i></dt> 176 <dt><i>idx</i></dt>
139 <dd> 177 <dd>
140 index of the activated item (QModelIndex) 178 index of the activated item (QModelIndex)
141 </dd> 179 </dd>
142 </dl><a NAME="BookmarksMenu.__contextMenuRequested" ID="BookmarksMenu.__contextMenuRequested"></a> 180 </dl>
181 <a NAME="BookmarksMenu.__contextMenuRequested" ID="BookmarksMenu.__contextMenuRequested"></a>
143 <h4>BookmarksMenu.__contextMenuRequested</h4> 182 <h4>BookmarksMenu.__contextMenuRequested</h4>
144 <b>__contextMenuRequested</b>(<i>pos</i>) 183 <b>__contextMenuRequested</b>(<i>pos</i>)
184
145 <p> 185 <p>
146 Private slot to handle the context menu request. 186 Private slot to handle the context menu request.
147 </p><dl> 187 </p>
188 <dl>
189
148 <dt><i>pos</i></dt> 190 <dt><i>pos</i></dt>
149 <dd> 191 <dd>
150 position the context menu shall be shown (QPoint) 192 position the context menu shall be shown (QPoint)
151 </dd> 193 </dd>
152 </dl><a NAME="BookmarksMenu.__edit" ID="BookmarksMenu.__edit"></a> 194 </dl>
195 <a NAME="BookmarksMenu.__edit" ID="BookmarksMenu.__edit"></a>
153 <h4>BookmarksMenu.__edit</h4> 196 <h4>BookmarksMenu.__edit</h4>
154 <b>__edit</b>(<i>act</i>) 197 <b>__edit</b>(<i>act</i>)
198
155 <p> 199 <p>
156 Private slot to edit a bookmarks properties. 200 Private slot to edit a bookmarks properties.
157 </p><dl> 201 </p>
158 <dt><i>act</i> (QAction)</dt> 202 <dl>
159 <dd> 203
160 reference to the triggering action 204 <dt><i>act</i> (QAction)</dt>
161 </dd> 205 <dd>
162 </dl><a NAME="BookmarksMenu.__openBookmark" ID="BookmarksMenu.__openBookmark"></a> 206 reference to the triggering action
207 </dd>
208 </dl>
209 <a NAME="BookmarksMenu.__openBookmark" ID="BookmarksMenu.__openBookmark"></a>
163 <h4>BookmarksMenu.__openBookmark</h4> 210 <h4>BookmarksMenu.__openBookmark</h4>
164 <b>__openBookmark</b>(<i>act</i>) 211 <b>__openBookmark</b>(<i>act</i>)
212
165 <p> 213 <p>
166 Private slot to open a bookmark in the current browser tab. 214 Private slot to open a bookmark in the current browser tab.
167 </p><dl> 215 </p>
168 <dt><i>act</i> (QAction)</dt> 216 <dl>
169 <dd> 217
170 reference to the triggering action 218 <dt><i>act</i> (QAction)</dt>
171 </dd> 219 <dd>
172 </dl><a NAME="BookmarksMenu.__openBookmarkInNewTab" ID="BookmarksMenu.__openBookmarkInNewTab"></a> 220 reference to the triggering action
221 </dd>
222 </dl>
223 <a NAME="BookmarksMenu.__openBookmarkInNewTab" ID="BookmarksMenu.__openBookmarkInNewTab"></a>
173 <h4>BookmarksMenu.__openBookmarkInNewTab</h4> 224 <h4>BookmarksMenu.__openBookmarkInNewTab</h4>
174 <b>__openBookmarkInNewTab</b>(<i>act</i>) 225 <b>__openBookmarkInNewTab</b>(<i>act</i>)
226
175 <p> 227 <p>
176 Private slot to open a bookmark in a new browser tab. 228 Private slot to open a bookmark in a new browser tab.
177 </p><dl> 229 </p>
178 <dt><i>act</i> (QAction)</dt> 230 <dl>
179 <dd> 231
180 reference to the triggering action 232 <dt><i>act</i> (QAction)</dt>
181 </dd> 233 <dd>
182 </dl><a NAME="BookmarksMenu.__openBookmarkInNewWindow" ID="BookmarksMenu.__openBookmarkInNewWindow"></a> 234 reference to the triggering action
235 </dd>
236 </dl>
237 <a NAME="BookmarksMenu.__openBookmarkInNewWindow" ID="BookmarksMenu.__openBookmarkInNewWindow"></a>
183 <h4>BookmarksMenu.__openBookmarkInNewWindow</h4> 238 <h4>BookmarksMenu.__openBookmarkInNewWindow</h4>
184 <b>__openBookmarkInNewWindow</b>(<i>act</i>) 239 <b>__openBookmarkInNewWindow</b>(<i>act</i>)
240
185 <p> 241 <p>
186 Private slot to open a bookmark in a new window. 242 Private slot to open a bookmark in a new window.
187 </p><dl> 243 </p>
188 <dt><i>act</i> (QAction)</dt> 244 <dl>
189 <dd> 245
190 reference to the triggering action 246 <dt><i>act</i> (QAction)</dt>
191 </dd> 247 <dd>
192 </dl><a NAME="BookmarksMenu.__openBookmarkInPrivateWindow" ID="BookmarksMenu.__openBookmarkInPrivateWindow"></a> 248 reference to the triggering action
249 </dd>
250 </dl>
251 <a NAME="BookmarksMenu.__openBookmarkInPrivateWindow" ID="BookmarksMenu.__openBookmarkInPrivateWindow"></a>
193 <h4>BookmarksMenu.__openBookmarkInPrivateWindow</h4> 252 <h4>BookmarksMenu.__openBookmarkInPrivateWindow</h4>
194 <b>__openBookmarkInPrivateWindow</b>(<i>act</i>) 253 <b>__openBookmarkInPrivateWindow</b>(<i>act</i>)
254
195 <p> 255 <p>
196 Private slot to open a bookmark in a new private window. 256 Private slot to open a bookmark in a new private window.
197 </p><dl> 257 </p>
198 <dt><i>act</i> (QAction)</dt> 258 <dl>
199 <dd> 259
200 reference to the triggering action 260 <dt><i>act</i> (QAction)</dt>
201 </dd> 261 <dd>
202 </dl><a NAME="BookmarksMenu.__removeBookmark" ID="BookmarksMenu.__removeBookmark"></a> 262 reference to the triggering action
263 </dd>
264 </dl>
265 <a NAME="BookmarksMenu.__removeBookmark" ID="BookmarksMenu.__removeBookmark"></a>
203 <h4>BookmarksMenu.__removeBookmark</h4> 266 <h4>BookmarksMenu.__removeBookmark</h4>
204 <b>__removeBookmark</b>(<i>act</i>) 267 <b>__removeBookmark</b>(<i>act</i>)
268
205 <p> 269 <p>
206 Private slot to remove a bookmark. 270 Private slot to remove a bookmark.
207 </p><dl> 271 </p>
208 <dt><i>act</i> (QAction)</dt> 272 <dl>
209 <dd> 273
210 reference to the triggering action 274 <dt><i>act</i> (QAction)</dt>
211 </dd> 275 <dd>
212 </dl><a NAME="BookmarksMenu.__updateVisitCount" ID="BookmarksMenu.__updateVisitCount"></a> 276 reference to the triggering action
277 </dd>
278 </dl>
279 <a NAME="BookmarksMenu.__updateVisitCount" ID="BookmarksMenu.__updateVisitCount"></a>
213 <h4>BookmarksMenu.__updateVisitCount</h4> 280 <h4>BookmarksMenu.__updateVisitCount</h4>
214 <b>__updateVisitCount</b>(<i>idx</i>) 281 <b>__updateVisitCount</b>(<i>idx</i>)
282
215 <p> 283 <p>
216 Private method to update the visit count of a bookmark. 284 Private method to update the visit count of a bookmark.
217 </p><dl> 285 </p>
286 <dl>
287
218 <dt><i>idx</i></dt> 288 <dt><i>idx</i></dt>
219 <dd> 289 <dd>
220 index of the bookmark item (QModelIndex) 290 index of the bookmark item (QModelIndex)
221 </dd> 291 </dd>
222 </dl><a NAME="BookmarksMenu.createBaseMenu" ID="BookmarksMenu.createBaseMenu"></a> 292 </dl>
293 <a NAME="BookmarksMenu.createBaseMenu" ID="BookmarksMenu.createBaseMenu"></a>
223 <h4>BookmarksMenu.createBaseMenu</h4> 294 <h4>BookmarksMenu.createBaseMenu</h4>
224 <b>createBaseMenu</b>(<i></i>) 295 <b>createBaseMenu</b>(<i></i>)
296
225 <p> 297 <p>
226 Public method to get the menu that is used to populate sub menu's. 298 Public method to get the menu that is used to populate sub menu's.
227 </p><dl> 299 </p>
300 <dl>
228 <dt>Returns:</dt> 301 <dt>Returns:</dt>
229 <dd> 302 <dd>
230 reference to the menu (BookmarksMenu) 303 reference to the menu (BookmarksMenu)
231 </dd> 304 </dd>
232 </dl><a NAME="BookmarksMenu.openAll" ID="BookmarksMenu.openAll"></a> 305 </dl>
306 <a NAME="BookmarksMenu.openAll" ID="BookmarksMenu.openAll"></a>
233 <h4>BookmarksMenu.openAll</h4> 307 <h4>BookmarksMenu.openAll</h4>
234 <b>openAll</b>(<i>act</i>) 308 <b>openAll</b>(<i>act</i>)
309
235 <p> 310 <p>
236 Public slot to open all the menu's items. 311 Public slot to open all the menu's items.
237 </p><dl> 312 </p>
313 <dl>
314
238 <dt><i>act</i> (QAction)</dt> 315 <dt><i>act</i> (QAction)</dt>
239 <dd> 316 <dd>
240 reference to the action object 317 reference to the action object
241 </dd> 318 </dd>
242 </dl><a NAME="BookmarksMenu.postPopulated" ID="BookmarksMenu.postPopulated"></a> 319 </dl>
320 <a NAME="BookmarksMenu.postPopulated" ID="BookmarksMenu.postPopulated"></a>
243 <h4>BookmarksMenu.postPopulated</h4> 321 <h4>BookmarksMenu.postPopulated</h4>
244 <b>postPopulated</b>(<i></i>) 322 <b>postPopulated</b>(<i></i>)
323
245 <p> 324 <p>
246 Public method to add any actions after the tree. 325 Public method to add any actions after the tree.
247 </p> 326 </p>
248 <div align="right"><a href="#top">Up</a></div> 327 <div align="right"><a href="#top">Up</a></div>
249 <hr /><hr /> 328 <hr />
329 <hr />
250 <a NAME="BookmarksMenuBarMenu" ID="BookmarksMenuBarMenu"></a> 330 <a NAME="BookmarksMenuBarMenu" ID="BookmarksMenuBarMenu"></a>
251 <h2>BookmarksMenuBarMenu</h2> 331 <h2>BookmarksMenuBarMenu</h2>
332
252 <p> 333 <p>
253 Class implementing a dynamically populated menu for bookmarks. 334 Class implementing a dynamically populated menu for bookmarks.
254 </p><h3>Signals</h3> 335 </p>
255 <dl> 336 <h3>Signals</h3>
337 <dl>
338
256 <dt>openUrl(QUrl, str)</dt> 339 <dt>openUrl(QUrl, str)</dt>
257 <dd> 340 <dd>
258 emitted to open a URL with the given title in 341 emitted to open a URL with the given title in
259 the current tab 342 the current tab
260 </dd> 343 </dd>
261 </dl> 344 </dl>
262 <h3>Derived from</h3> 345 <h3>Derived from</h3>
263 BookmarksMenu 346 BookmarksMenu
264 <h3>Class Attributes</h3> 347 <h3>Class Attributes</h3>
348
265 <table> 349 <table>
266 <tr><td>None</td></tr> 350 <tr><td>None</td></tr>
267 </table> 351 </table>
268 <h3>Class Methods</h3> 352 <h3>Class Methods</h3>
353
269 <table> 354 <table>
270 <tr><td>None</td></tr> 355 <tr><td>None</td></tr>
271 </table> 356 </table>
272 <h3>Methods</h3> 357 <h3>Methods</h3>
273 <table> 358
359 <table>
360
274 <tr> 361 <tr>
275 <td><a href="#BookmarksMenuBarMenu.__init__">BookmarksMenuBarMenu</a></td> 362 <td><a href="#BookmarksMenuBarMenu.__init__">BookmarksMenuBarMenu</a></td>
276 <td>Constructor</td> 363 <td>Constructor</td>
277 </tr><tr> 364 </tr>
365 <tr>
278 <td><a href="#BookmarksMenuBarMenu.__defaultBookmarkTriggered">__defaultBookmarkTriggered</a></td> 366 <td><a href="#BookmarksMenuBarMenu.__defaultBookmarkTriggered">__defaultBookmarkTriggered</a></td>
279 <td>Private slot handling the default bookmark menu entries.</td> 367 <td>Private slot handling the default bookmark menu entries.</td>
280 </tr><tr> 368 </tr>
369 <tr>
281 <td><a href="#BookmarksMenuBarMenu.postPopulated">postPopulated</a></td> 370 <td><a href="#BookmarksMenuBarMenu.postPopulated">postPopulated</a></td>
282 <td>Public method to add any actions after the tree.</td> 371 <td>Public method to add any actions after the tree.</td>
283 </tr><tr> 372 </tr>
373 <tr>
284 <td><a href="#BookmarksMenuBarMenu.prePopulated">prePopulated</a></td> 374 <td><a href="#BookmarksMenuBarMenu.prePopulated">prePopulated</a></td>
285 <td>Public method to add any actions before the tree.</td> 375 <td>Public method to add any actions before the tree.</td>
286 </tr><tr> 376 </tr>
377 <tr>
287 <td><a href="#BookmarksMenuBarMenu.setInitialActions">setInitialActions</a></td> 378 <td><a href="#BookmarksMenuBarMenu.setInitialActions">setInitialActions</a></td>
288 <td>Public method to set the list of actions that should appear first in the menu.</td> 379 <td>Public method to set the list of actions that should appear first in the menu.</td>
289 </tr> 380 </tr>
290 </table> 381 </table>
291 <h3>Static Methods</h3> 382 <h3>Static Methods</h3>
292 <table> 383
293 <tr><td>None</td></tr> 384 <table>
294 </table> 385 <tr><td>None</td></tr>
386 </table>
387
295 <a NAME="BookmarksMenuBarMenu.__init__" ID="BookmarksMenuBarMenu.__init__"></a> 388 <a NAME="BookmarksMenuBarMenu.__init__" ID="BookmarksMenuBarMenu.__init__"></a>
296 <h4>BookmarksMenuBarMenu (Constructor)</h4> 389 <h4>BookmarksMenuBarMenu (Constructor)</h4>
297 <b>BookmarksMenuBarMenu</b>(<i>parent=None</i>) 390 <b>BookmarksMenuBarMenu</b>(<i>parent=None</i>)
391
298 <p> 392 <p>
299 Constructor 393 Constructor
300 </p><dl> 394 </p>
395 <dl>
396
301 <dt><i>parent</i></dt> 397 <dt><i>parent</i></dt>
302 <dd> 398 <dd>
303 reference to the parent widget (QWidget) 399 reference to the parent widget (QWidget)
304 </dd> 400 </dd>
305 </dl><a NAME="BookmarksMenuBarMenu.__defaultBookmarkTriggered" ID="BookmarksMenuBarMenu.__defaultBookmarkTriggered"></a> 401 </dl>
402 <a NAME="BookmarksMenuBarMenu.__defaultBookmarkTriggered" ID="BookmarksMenuBarMenu.__defaultBookmarkTriggered"></a>
306 <h4>BookmarksMenuBarMenu.__defaultBookmarkTriggered</h4> 403 <h4>BookmarksMenuBarMenu.__defaultBookmarkTriggered</h4>
307 <b>__defaultBookmarkTriggered</b>(<i>act</i>) 404 <b>__defaultBookmarkTriggered</b>(<i>act</i>)
405
308 <p> 406 <p>
309 Private slot handling the default bookmark menu entries. 407 Private slot handling the default bookmark menu entries.
310 </p><dl> 408 </p>
409 <dl>
410
311 <dt><i>act</i> (QAction)</dt> 411 <dt><i>act</i> (QAction)</dt>
312 <dd> 412 <dd>
313 reference to the action object 413 reference to the action object
314 </dd> 414 </dd>
315 </dl><a NAME="BookmarksMenuBarMenu.postPopulated" ID="BookmarksMenuBarMenu.postPopulated"></a> 415 </dl>
416 <a NAME="BookmarksMenuBarMenu.postPopulated" ID="BookmarksMenuBarMenu.postPopulated"></a>
316 <h4>BookmarksMenuBarMenu.postPopulated</h4> 417 <h4>BookmarksMenuBarMenu.postPopulated</h4>
317 <b>postPopulated</b>(<i></i>) 418 <b>postPopulated</b>(<i></i>)
419
318 <p> 420 <p>
319 Public method to add any actions after the tree. 421 Public method to add any actions after the tree.
320 </p><a NAME="BookmarksMenuBarMenu.prePopulated" ID="BookmarksMenuBarMenu.prePopulated"></a> 422 </p>
423 <a NAME="BookmarksMenuBarMenu.prePopulated" ID="BookmarksMenuBarMenu.prePopulated"></a>
321 <h4>BookmarksMenuBarMenu.prePopulated</h4> 424 <h4>BookmarksMenuBarMenu.prePopulated</h4>
322 <b>prePopulated</b>(<i></i>) 425 <b>prePopulated</b>(<i></i>)
426
323 <p> 427 <p>
324 Public method to add any actions before the tree. 428 Public method to add any actions before the tree.
325 </p><dl> 429 </p>
430 <dl>
326 <dt>Returns:</dt> 431 <dt>Returns:</dt>
327 <dd> 432 <dd>
328 flag indicating if any actions were added (boolean) 433 flag indicating if any actions were added (boolean)
329 </dd> 434 </dd>
330 </dl><a NAME="BookmarksMenuBarMenu.setInitialActions" ID="BookmarksMenuBarMenu.setInitialActions"></a> 435 </dl>
436 <a NAME="BookmarksMenuBarMenu.setInitialActions" ID="BookmarksMenuBarMenu.setInitialActions"></a>
331 <h4>BookmarksMenuBarMenu.setInitialActions</h4> 437 <h4>BookmarksMenuBarMenu.setInitialActions</h4>
332 <b>setInitialActions</b>(<i>actions</i>) 438 <b>setInitialActions</b>(<i>actions</i>)
439
333 <p> 440 <p>
334 Public method to set the list of actions that should appear first in 441 Public method to set the list of actions that should appear first in
335 the menu. 442 the menu.
336 </p><dl> 443 </p>
444 <dl>
445
337 <dt><i>actions</i></dt> 446 <dt><i>actions</i></dt>
338 <dd> 447 <dd>
339 list of initial actions (list of QAction) 448 list of initial actions (list of QAction)
340 </dd> 449 </dd>
341 </dl> 450 </dl>

eric ide

mercurial