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.BookmarksDialog</h1> |
23 <h1>eric6.WebBrowser.Bookmarks.BookmarksDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to manage bookmarks. |
26 Module implementing a dialog to manage bookmarks. |
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="#BookmarksDialog">BookmarksDialog</a></td> |
38 <td><a href="#BookmarksDialog">BookmarksDialog</a></td> |
34 <td>Class implementing a dialog to manage bookmarks.</td> |
39 <td>Class implementing a dialog to manage bookmarks.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="BookmarksDialog" ID="BookmarksDialog"></a> |
49 <a NAME="BookmarksDialog" ID="BookmarksDialog"></a> |
43 <h2>BookmarksDialog</h2> |
50 <h2>BookmarksDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to manage bookmarks. |
53 Class implementing a dialog to manage bookmarks. |
46 </p><h3>Signals</h3> |
54 </p> |
47 <dl> |
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
48 <dt>newBackgroundTab(QUrl, str)</dt> |
58 <dt>newBackgroundTab(QUrl, str)</dt> |
49 <dd> |
59 <dd> |
50 emitted to open a URL in a new |
60 emitted to open a URL in a new |
51 background tab |
61 background tab |
52 </dd><dt>newTab(QUrl, str)</dt> |
62 </dd> |
|
63 <dt>newTab(QUrl, str)</dt> |
53 <dd> |
64 <dd> |
54 emitted to open a URL in a new tab |
65 emitted to open a URL in a 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 in a new window |
69 emitted to open a URL in a new window |
58 </dd><dt>openUrl(QUrl, str)</dt> |
70 </dd> |
|
71 <dt>openUrl(QUrl, str)</dt> |
59 <dd> |
72 <dd> |
60 emitted to open a URL in the current tab |
73 emitted to open a URL in the current tab |
61 </dd> |
74 </dd> |
62 </dl> |
75 </dl> |
63 <h3>Derived from</h3> |
76 <h3>Derived from</h3> |
64 QDialog, Ui_BookmarksDialog |
77 QDialog, Ui_BookmarksDialog |
65 <h3>Class Attributes</h3> |
78 <h3>Class Attributes</h3> |
|
79 |
66 <table> |
80 <table> |
67 <tr><td>None</td></tr> |
81 <tr><td>None</td></tr> |
68 </table> |
82 </table> |
69 <h3>Class Methods</h3> |
83 <h3>Class Methods</h3> |
|
84 |
70 <table> |
85 <table> |
71 <tr><td>None</td></tr> |
86 <tr><td>None</td></tr> |
72 </table> |
87 </table> |
73 <h3>Methods</h3> |
88 <h3>Methods</h3> |
74 <table> |
89 |
|
90 <table> |
|
91 |
75 <tr> |
92 <tr> |
76 <td><a href="#BookmarksDialog.__init__">BookmarksDialog</a></td> |
93 <td><a href="#BookmarksDialog.__init__">BookmarksDialog</a></td> |
77 <td>Constructor</td> |
94 <td>Constructor</td> |
78 </tr><tr> |
95 </tr> |
|
96 <tr> |
79 <td><a href="#BookmarksDialog.__activated">__activated</a></td> |
97 <td><a href="#BookmarksDialog.__activated">__activated</a></td> |
80 <td>Private slot to handle the activation of an entry.</td> |
98 <td>Private slot to handle the activation of an entry.</td> |
81 </tr><tr> |
99 </tr> |
|
100 <tr> |
82 <td><a href="#BookmarksDialog.__customContextMenuRequested">__customContextMenuRequested</a></td> |
101 <td><a href="#BookmarksDialog.__customContextMenuRequested">__customContextMenuRequested</a></td> |
83 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
102 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
84 </tr><tr> |
103 </tr> |
|
104 <tr> |
85 <td><a href="#BookmarksDialog.__edit">__edit</a></td> |
105 <td><a href="#BookmarksDialog.__edit">__edit</a></td> |
86 <td>Private slot to edit a bookmarks properties.</td> |
106 <td>Private slot to edit a bookmarks properties.</td> |
87 </tr><tr> |
107 </tr> |
|
108 <tr> |
88 <td><a href="#BookmarksDialog.__editAddress">__editAddress</a></td> |
109 <td><a href="#BookmarksDialog.__editAddress">__editAddress</a></td> |
89 <td>Private slot to edit the address part of a bookmark.</td> |
110 <td>Private slot to edit the address part of a bookmark.</td> |
90 </tr><tr> |
111 </tr> |
|
112 <tr> |
91 <td><a href="#BookmarksDialog.__editName">__editName</a></td> |
113 <td><a href="#BookmarksDialog.__editName">__editName</a></td> |
92 <td>Private slot to edit the name part of a bookmark.</td> |
114 <td>Private slot to edit the name part of a bookmark.</td> |
93 </tr><tr> |
115 </tr> |
|
116 <tr> |
94 <td><a href="#BookmarksDialog.__expandNodes">__expandNodes</a></td> |
117 <td><a href="#BookmarksDialog.__expandNodes">__expandNodes</a></td> |
95 <td>Private method to expand all child nodes of a node.</td> |
118 <td>Private method to expand all child nodes of a node.</td> |
96 </tr><tr> |
119 </tr> |
|
120 <tr> |
97 <td><a href="#BookmarksDialog.__newFolder">__newFolder</a></td> |
121 <td><a href="#BookmarksDialog.__newFolder">__newFolder</a></td> |
98 <td>Private slot to add a new bookmarks folder.</td> |
122 <td>Private slot to add a new bookmarks folder.</td> |
99 </tr><tr> |
123 </tr> |
|
124 <tr> |
100 <td><a href="#BookmarksDialog.__openBookmark">__openBookmark</a></td> |
125 <td><a href="#BookmarksDialog.__openBookmark">__openBookmark</a></td> |
101 <td>Private method to open a bookmark.</td> |
126 <td>Private method to open a bookmark.</td> |
102 </tr><tr> |
127 </tr> |
|
128 <tr> |
103 <td><a href="#BookmarksDialog.__openBookmarkInCurrentTab">__openBookmarkInCurrentTab</a></td> |
129 <td><a href="#BookmarksDialog.__openBookmarkInCurrentTab">__openBookmarkInCurrentTab</a></td> |
104 <td>Private slot to open a bookmark in the current browser tab.</td> |
130 <td>Private slot to open a bookmark in the current browser tab.</td> |
105 </tr><tr> |
131 </tr> |
|
132 <tr> |
106 <td><a href="#BookmarksDialog.__openBookmarkInNewBackgroundTab">__openBookmarkInNewBackgroundTab</a></td> |
133 <td><a href="#BookmarksDialog.__openBookmarkInNewBackgroundTab">__openBookmarkInNewBackgroundTab</a></td> |
107 <td>Private slot to open a bookmark in a new browser tab.</td> |
134 <td>Private slot to open a bookmark in a new browser tab.</td> |
108 </tr><tr> |
135 </tr> |
|
136 <tr> |
109 <td><a href="#BookmarksDialog.__openBookmarkInNewTab">__openBookmarkInNewTab</a></td> |
137 <td><a href="#BookmarksDialog.__openBookmarkInNewTab">__openBookmarkInNewTab</a></td> |
110 <td>Private slot to open a bookmark in a new browser tab.</td> |
138 <td>Private slot to open a bookmark in a new browser tab.</td> |
111 </tr><tr> |
139 </tr> |
|
140 <tr> |
112 <td><a href="#BookmarksDialog.__openBookmarkInNewWindow">__openBookmarkInNewWindow</a></td> |
141 <td><a href="#BookmarksDialog.__openBookmarkInNewWindow">__openBookmarkInNewWindow</a></td> |
113 <td>Private slot to open a bookmark in a new browser window.</td> |
142 <td>Private slot to open a bookmark in a new browser window.</td> |
114 </tr><tr> |
143 </tr> |
|
144 <tr> |
115 <td><a href="#BookmarksDialog.__openBookmarkInPrivateWindow">__openBookmarkInPrivateWindow</a></td> |
145 <td><a href="#BookmarksDialog.__openBookmarkInPrivateWindow">__openBookmarkInPrivateWindow</a></td> |
116 <td>Private slot to open a bookmark in a new private browser window.</td> |
146 <td>Private slot to open a bookmark in a new private browser window.</td> |
117 </tr><tr> |
147 </tr> |
|
148 <tr> |
118 <td><a href="#BookmarksDialog.__saveExpandedNodes">__saveExpandedNodes</a></td> |
149 <td><a href="#BookmarksDialog.__saveExpandedNodes">__saveExpandedNodes</a></td> |
119 <td>Private method to save the child nodes of an expanded node.</td> |
150 <td>Private method to save the child nodes of an expanded node.</td> |
120 </tr><tr> |
151 </tr> |
|
152 <tr> |
121 <td><a href="#BookmarksDialog.__shutdown">__shutdown</a></td> |
153 <td><a href="#BookmarksDialog.__shutdown">__shutdown</a></td> |
122 <td>Private method to perform shutdown actions for the dialog.</td> |
154 <td>Private method to perform shutdown actions for the dialog.</td> |
123 </tr><tr> |
155 </tr> |
|
156 <tr> |
124 <td><a href="#BookmarksDialog.closeEvent">closeEvent</a></td> |
157 <td><a href="#BookmarksDialog.closeEvent">closeEvent</a></td> |
125 <td>Protected method to handle the closing of the dialog.</td> |
158 <td>Protected method to handle the closing of the dialog.</td> |
126 </tr><tr> |
159 </tr> |
|
160 <tr> |
127 <td><a href="#BookmarksDialog.reject">reject</a></td> |
161 <td><a href="#BookmarksDialog.reject">reject</a></td> |
128 <td>Public method called when the dialog is rejected.</td> |
162 <td>Public method called when the dialog is rejected.</td> |
129 </tr> |
163 </tr> |
130 </table> |
164 </table> |
131 <h3>Static Methods</h3> |
165 <h3>Static Methods</h3> |
132 <table> |
166 |
133 <tr><td>None</td></tr> |
167 <table> |
134 </table> |
168 <tr><td>None</td></tr> |
|
169 </table> |
|
170 |
135 <a NAME="BookmarksDialog.__init__" ID="BookmarksDialog.__init__"></a> |
171 <a NAME="BookmarksDialog.__init__" ID="BookmarksDialog.__init__"></a> |
136 <h4>BookmarksDialog (Constructor)</h4> |
172 <h4>BookmarksDialog (Constructor)</h4> |
137 <b>BookmarksDialog</b>(<i>parent=None, manager=None</i>) |
173 <b>BookmarksDialog</b>(<i>parent=None, manager=None</i>) |
|
174 |
138 <p> |
175 <p> |
139 Constructor |
176 Constructor |
140 </p><dl> |
177 </p> |
|
178 <dl> |
|
179 |
141 <dt><i>parent</i></dt> |
180 <dt><i>parent</i></dt> |
142 <dd> |
181 <dd> |
143 reference to the parent widget (QWidget |
182 reference to the parent widget (QWidget |
144 </dd><dt><i>manager</i></dt> |
183 </dd> |
|
184 <dt><i>manager</i></dt> |
145 <dd> |
185 <dd> |
146 reference to the bookmarks manager object |
186 reference to the bookmarks manager object |
147 (BookmarksManager) |
187 (BookmarksManager) |
148 </dd> |
188 </dd> |
149 </dl><a NAME="BookmarksDialog.__activated" ID="BookmarksDialog.__activated"></a> |
189 </dl> |
|
190 <a NAME="BookmarksDialog.__activated" ID="BookmarksDialog.__activated"></a> |
150 <h4>BookmarksDialog.__activated</h4> |
191 <h4>BookmarksDialog.__activated</h4> |
151 <b>__activated</b>(<i>idx</i>) |
192 <b>__activated</b>(<i>idx</i>) |
|
193 |
152 <p> |
194 <p> |
153 Private slot to handle the activation of an entry. |
195 Private slot to handle the activation of an entry. |
154 </p><dl> |
196 </p> |
|
197 <dl> |
|
198 |
155 <dt><i>idx</i></dt> |
199 <dt><i>idx</i></dt> |
156 <dd> |
200 <dd> |
157 reference to the entry index (QModelIndex) |
201 reference to the entry index (QModelIndex) |
158 </dd> |
202 </dd> |
159 </dl><a NAME="BookmarksDialog.__customContextMenuRequested" ID="BookmarksDialog.__customContextMenuRequested"></a> |
203 </dl> |
|
204 <a NAME="BookmarksDialog.__customContextMenuRequested" ID="BookmarksDialog.__customContextMenuRequested"></a> |
160 <h4>BookmarksDialog.__customContextMenuRequested</h4> |
205 <h4>BookmarksDialog.__customContextMenuRequested</h4> |
161 <b>__customContextMenuRequested</b>(<i>pos</i>) |
206 <b>__customContextMenuRequested</b>(<i>pos</i>) |
|
207 |
162 <p> |
208 <p> |
163 Private slot to handle the context menu request for the bookmarks tree. |
209 Private slot to handle the context menu request for the bookmarks tree. |
164 </p><dl> |
210 </p> |
|
211 <dl> |
|
212 |
165 <dt><i>pos</i></dt> |
213 <dt><i>pos</i></dt> |
166 <dd> |
214 <dd> |
167 position the context menu was requested (QPoint) |
215 position the context menu was requested (QPoint) |
168 </dd> |
216 </dd> |
169 </dl><a NAME="BookmarksDialog.__edit" ID="BookmarksDialog.__edit"></a> |
217 </dl> |
|
218 <a NAME="BookmarksDialog.__edit" ID="BookmarksDialog.__edit"></a> |
170 <h4>BookmarksDialog.__edit</h4> |
219 <h4>BookmarksDialog.__edit</h4> |
171 <b>__edit</b>(<i></i>) |
220 <b>__edit</b>(<i></i>) |
|
221 |
172 <p> |
222 <p> |
173 Private slot to edit a bookmarks properties. |
223 Private slot to edit a bookmarks properties. |
174 </p><a NAME="BookmarksDialog.__editAddress" ID="BookmarksDialog.__editAddress"></a> |
224 </p> |
|
225 <a NAME="BookmarksDialog.__editAddress" ID="BookmarksDialog.__editAddress"></a> |
175 <h4>BookmarksDialog.__editAddress</h4> |
226 <h4>BookmarksDialog.__editAddress</h4> |
176 <b>__editAddress</b>(<i></i>) |
227 <b>__editAddress</b>(<i></i>) |
|
228 |
177 <p> |
229 <p> |
178 Private slot to edit the address part of a bookmark. |
230 Private slot to edit the address part of a bookmark. |
179 </p><a NAME="BookmarksDialog.__editName" ID="BookmarksDialog.__editName"></a> |
231 </p> |
|
232 <a NAME="BookmarksDialog.__editName" ID="BookmarksDialog.__editName"></a> |
180 <h4>BookmarksDialog.__editName</h4> |
233 <h4>BookmarksDialog.__editName</h4> |
181 <b>__editName</b>(<i></i>) |
234 <b>__editName</b>(<i></i>) |
|
235 |
182 <p> |
236 <p> |
183 Private slot to edit the name part of a bookmark. |
237 Private slot to edit the name part of a bookmark. |
184 </p><a NAME="BookmarksDialog.__expandNodes" ID="BookmarksDialog.__expandNodes"></a> |
238 </p> |
|
239 <a NAME="BookmarksDialog.__expandNodes" ID="BookmarksDialog.__expandNodes"></a> |
185 <h4>BookmarksDialog.__expandNodes</h4> |
240 <h4>BookmarksDialog.__expandNodes</h4> |
186 <b>__expandNodes</b>(<i>node</i>) |
241 <b>__expandNodes</b>(<i>node</i>) |
|
242 |
187 <p> |
243 <p> |
188 Private method to expand all child nodes of a node. |
244 Private method to expand all child nodes of a node. |
189 </p><dl> |
245 </p> |
|
246 <dl> |
|
247 |
190 <dt><i>node</i></dt> |
248 <dt><i>node</i></dt> |
191 <dd> |
249 <dd> |
192 reference to the bookmark node to expand (BookmarkNode) |
250 reference to the bookmark node to expand (BookmarkNode) |
193 </dd> |
251 </dd> |
194 </dl><a NAME="BookmarksDialog.__newFolder" ID="BookmarksDialog.__newFolder"></a> |
252 </dl> |
|
253 <a NAME="BookmarksDialog.__newFolder" ID="BookmarksDialog.__newFolder"></a> |
195 <h4>BookmarksDialog.__newFolder</h4> |
254 <h4>BookmarksDialog.__newFolder</h4> |
196 <b>__newFolder</b>(<i></i>) |
255 <b>__newFolder</b>(<i></i>) |
|
256 |
197 <p> |
257 <p> |
198 Private slot to add a new bookmarks folder. |
258 Private slot to add a new bookmarks folder. |
199 </p><a NAME="BookmarksDialog.__openBookmark" ID="BookmarksDialog.__openBookmark"></a> |
259 </p> |
|
260 <a NAME="BookmarksDialog.__openBookmark" ID="BookmarksDialog.__openBookmark"></a> |
200 <h4>BookmarksDialog.__openBookmark</h4> |
261 <h4>BookmarksDialog.__openBookmark</h4> |
201 <b>__openBookmark</b>(<i>newTab=False, newWindow=False, privateWindow=False, background=False</i>) |
262 <b>__openBookmark</b>(<i>newTab=False, newWindow=False, privateWindow=False, background=False</i>) |
|
263 |
202 <p> |
264 <p> |
203 Private method to open a bookmark. |
265 Private method to open a bookmark. |
204 </p><dl> |
266 </p> |
|
267 <dl> |
|
268 |
205 <dt><i>newTab</i> (bool)</dt> |
269 <dt><i>newTab</i> (bool)</dt> |
206 <dd> |
270 <dd> |
207 flag indicating to open the bookmark in a new tab |
271 flag indicating to open the bookmark in a new tab |
208 </dd><dt><i>newWindow</i> (bool)</dt> |
272 </dd> |
|
273 <dt><i>newWindow</i> (bool)</dt> |
209 <dd> |
274 <dd> |
210 flag indicating to open the bookmark in a new window |
275 flag indicating to open the bookmark in a new window |
211 </dd><dt><i>privateWindow</i> (bool)</dt> |
276 </dd> |
|
277 <dt><i>privateWindow</i> (bool)</dt> |
212 <dd> |
278 <dd> |
213 flag indicating to open the bookmark in a new |
279 flag indicating to open the bookmark in a new |
214 private window |
280 private window |
215 </dd><dt><i>background</i> (bool)</dt> |
281 </dd> |
|
282 <dt><i>background</i> (bool)</dt> |
216 <dd> |
283 <dd> |
217 flag indicating to open the bookmark in a new |
284 flag indicating to open the bookmark in a new |
218 background tab |
285 background tab |
219 </dd> |
286 </dd> |
220 </dl><a NAME="BookmarksDialog.__openBookmarkInCurrentTab" ID="BookmarksDialog.__openBookmarkInCurrentTab"></a> |
287 </dl> |
|
288 <a NAME="BookmarksDialog.__openBookmarkInCurrentTab" ID="BookmarksDialog.__openBookmarkInCurrentTab"></a> |
221 <h4>BookmarksDialog.__openBookmarkInCurrentTab</h4> |
289 <h4>BookmarksDialog.__openBookmarkInCurrentTab</h4> |
222 <b>__openBookmarkInCurrentTab</b>(<i></i>) |
290 <b>__openBookmarkInCurrentTab</b>(<i></i>) |
|
291 |
223 <p> |
292 <p> |
224 Private slot to open a bookmark in the current browser tab. |
293 Private slot to open a bookmark in the current browser tab. |
225 </p><a NAME="BookmarksDialog.__openBookmarkInNewBackgroundTab" ID="BookmarksDialog.__openBookmarkInNewBackgroundTab"></a> |
294 </p> |
|
295 <a NAME="BookmarksDialog.__openBookmarkInNewBackgroundTab" ID="BookmarksDialog.__openBookmarkInNewBackgroundTab"></a> |
226 <h4>BookmarksDialog.__openBookmarkInNewBackgroundTab</h4> |
296 <h4>BookmarksDialog.__openBookmarkInNewBackgroundTab</h4> |
227 <b>__openBookmarkInNewBackgroundTab</b>(<i></i>) |
297 <b>__openBookmarkInNewBackgroundTab</b>(<i></i>) |
|
298 |
228 <p> |
299 <p> |
229 Private slot to open a bookmark in a new browser tab. |
300 Private slot to open a bookmark in a new browser tab. |
230 </p><a NAME="BookmarksDialog.__openBookmarkInNewTab" ID="BookmarksDialog.__openBookmarkInNewTab"></a> |
301 </p> |
|
302 <a NAME="BookmarksDialog.__openBookmarkInNewTab" ID="BookmarksDialog.__openBookmarkInNewTab"></a> |
231 <h4>BookmarksDialog.__openBookmarkInNewTab</h4> |
303 <h4>BookmarksDialog.__openBookmarkInNewTab</h4> |
232 <b>__openBookmarkInNewTab</b>(<i></i>) |
304 <b>__openBookmarkInNewTab</b>(<i></i>) |
|
305 |
233 <p> |
306 <p> |
234 Private slot to open a bookmark in a new browser tab. |
307 Private slot to open a bookmark in a new browser tab. |
235 </p><a NAME="BookmarksDialog.__openBookmarkInNewWindow" ID="BookmarksDialog.__openBookmarkInNewWindow"></a> |
308 </p> |
|
309 <a NAME="BookmarksDialog.__openBookmarkInNewWindow" ID="BookmarksDialog.__openBookmarkInNewWindow"></a> |
236 <h4>BookmarksDialog.__openBookmarkInNewWindow</h4> |
310 <h4>BookmarksDialog.__openBookmarkInNewWindow</h4> |
237 <b>__openBookmarkInNewWindow</b>(<i></i>) |
311 <b>__openBookmarkInNewWindow</b>(<i></i>) |
|
312 |
238 <p> |
313 <p> |
239 Private slot to open a bookmark in a new browser window. |
314 Private slot to open a bookmark in a new browser window. |
240 </p><a NAME="BookmarksDialog.__openBookmarkInPrivateWindow" ID="BookmarksDialog.__openBookmarkInPrivateWindow"></a> |
315 </p> |
|
316 <a NAME="BookmarksDialog.__openBookmarkInPrivateWindow" ID="BookmarksDialog.__openBookmarkInPrivateWindow"></a> |
241 <h4>BookmarksDialog.__openBookmarkInPrivateWindow</h4> |
317 <h4>BookmarksDialog.__openBookmarkInPrivateWindow</h4> |
242 <b>__openBookmarkInPrivateWindow</b>(<i></i>) |
318 <b>__openBookmarkInPrivateWindow</b>(<i></i>) |
|
319 |
243 <p> |
320 <p> |
244 Private slot to open a bookmark in a new private browser window. |
321 Private slot to open a bookmark in a new private browser window. |
245 </p><a NAME="BookmarksDialog.__saveExpandedNodes" ID="BookmarksDialog.__saveExpandedNodes"></a> |
322 </p> |
|
323 <a NAME="BookmarksDialog.__saveExpandedNodes" ID="BookmarksDialog.__saveExpandedNodes"></a> |
246 <h4>BookmarksDialog.__saveExpandedNodes</h4> |
324 <h4>BookmarksDialog.__saveExpandedNodes</h4> |
247 <b>__saveExpandedNodes</b>(<i>parent</i>) |
325 <b>__saveExpandedNodes</b>(<i>parent</i>) |
|
326 |
248 <p> |
327 <p> |
249 Private method to save the child nodes of an expanded node. |
328 Private method to save the child nodes of an expanded node. |
250 </p><dl> |
329 </p> |
|
330 <dl> |
|
331 |
251 <dt><i>parent</i></dt> |
332 <dt><i>parent</i></dt> |
252 <dd> |
333 <dd> |
253 index of the parent node (QModelIndex) |
334 index of the parent node (QModelIndex) |
254 </dd> |
335 </dd> |
255 </dl><dl> |
336 </dl> |
|
337 <dl> |
256 <dt>Returns:</dt> |
338 <dt>Returns:</dt> |
257 <dd> |
339 <dd> |
258 flag indicating a change (boolean) |
340 flag indicating a change (boolean) |
259 </dd> |
341 </dd> |
260 </dl><a NAME="BookmarksDialog.__shutdown" ID="BookmarksDialog.__shutdown"></a> |
342 </dl> |
|
343 <a NAME="BookmarksDialog.__shutdown" ID="BookmarksDialog.__shutdown"></a> |
261 <h4>BookmarksDialog.__shutdown</h4> |
344 <h4>BookmarksDialog.__shutdown</h4> |
262 <b>__shutdown</b>(<i></i>) |
345 <b>__shutdown</b>(<i></i>) |
|
346 |
263 <p> |
347 <p> |
264 Private method to perform shutdown actions for the dialog. |
348 Private method to perform shutdown actions for the dialog. |
265 </p><a NAME="BookmarksDialog.closeEvent" ID="BookmarksDialog.closeEvent"></a> |
349 </p> |
|
350 <a NAME="BookmarksDialog.closeEvent" ID="BookmarksDialog.closeEvent"></a> |
266 <h4>BookmarksDialog.closeEvent</h4> |
351 <h4>BookmarksDialog.closeEvent</h4> |
267 <b>closeEvent</b>(<i>evt</i>) |
352 <b>closeEvent</b>(<i>evt</i>) |
|
353 |
268 <p> |
354 <p> |
269 Protected method to handle the closing of the dialog. |
355 Protected method to handle the closing of the dialog. |
270 </p><dl> |
356 </p> |
|
357 <dl> |
|
358 |
271 <dt><i>evt</i></dt> |
359 <dt><i>evt</i></dt> |
272 <dd> |
360 <dd> |
273 reference to the event object (QCloseEvent) (ignored) |
361 reference to the event object (QCloseEvent) (ignored) |
274 </dd> |
362 </dd> |
275 </dl><a NAME="BookmarksDialog.reject" ID="BookmarksDialog.reject"></a> |
363 </dl> |
|
364 <a NAME="BookmarksDialog.reject" ID="BookmarksDialog.reject"></a> |
276 <h4>BookmarksDialog.reject</h4> |
365 <h4>BookmarksDialog.reject</h4> |
277 <b>reject</b>(<i></i>) |
366 <b>reject</b>(<i></i>) |
|
367 |
278 <p> |
368 <p> |
279 Public method called when the dialog is rejected. |
369 Public method called when the dialog is rejected. |
280 </p> |
370 </p> |
281 <div align="right"><a href="#top">Up</a></div> |
371 <div align="right"><a href="#top">Up</a></div> |
282 <hr /> |
372 <hr /> |