49 Class implementing the bookmarks menu base class. |
49 Class implementing the bookmarks menu base class. |
50 </p><h3>Signals</h3> |
50 </p><h3>Signals</h3> |
51 <dl> |
51 <dl> |
52 <dt>newUrl(QUrl, str)</dt> |
52 <dt>newUrl(QUrl, str)</dt> |
53 <dd> |
53 <dd> |
54 emitted to open a URL in a new tab |
54 emitted to open a URL with the given title in a |
|
55 new tab |
55 </dd><dt>openUrl(QUrl, str)</dt> |
56 </dd><dt>openUrl(QUrl, str)</dt> |
56 <dd> |
57 <dd> |
57 emitted to open a URL in the current tab |
58 emitted to open a URL with the given title in the |
|
59 current tab |
58 </dd> |
60 </dd> |
59 </dl> |
61 </dl> |
60 <h3>Derived from</h3> |
62 <h3>Derived from</h3> |
61 E5ModelMenu |
63 E5ModelMenu |
62 <h3>Class Attributes</h3> |
64 <h3>Class Attributes</h3> |
77 <td>Private slot handling the activated signal.</td> |
79 <td>Private slot handling the activated signal.</td> |
78 </tr><tr> |
80 </tr><tr> |
79 <td><a href="#BookmarksMenu.__contextMenuRequested">__contextMenuRequested</a></td> |
81 <td><a href="#BookmarksMenu.__contextMenuRequested">__contextMenuRequested</a></td> |
80 <td>Private slot to handle the context menu request.</td> |
82 <td>Private slot to handle the context menu request.</td> |
81 </tr><tr> |
83 </tr><tr> |
82 <td><a href="#BookmarksMenu.__openAll">__openAll</a></td> |
|
83 <td>Private slot to open all the menu's items.</td> |
|
84 </tr><tr> |
|
85 <td><a href="#BookmarksMenu.__openBookmark">__openBookmark</a></td> |
84 <td><a href="#BookmarksMenu.__openBookmark">__openBookmark</a></td> |
86 <td>Private slot to open a bookmark in the current browser tab.</td> |
85 <td>Private slot to open a bookmark in the current browser tab.</td> |
87 </tr><tr> |
86 </tr><tr> |
88 <td><a href="#BookmarksMenu.__openBookmarkInNewTab">__openBookmarkInNewTab</a></td> |
87 <td><a href="#BookmarksMenu.__openBookmarkInNewTab">__openBookmarkInNewTab</a></td> |
89 <td>Private slot to open a bookmark in a new browser tab.</td> |
88 <td>Private slot to open a bookmark in a new browser tab.</td> |
91 <td><a href="#BookmarksMenu.__removeBookmark">__removeBookmark</a></td> |
90 <td><a href="#BookmarksMenu.__removeBookmark">__removeBookmark</a></td> |
92 <td>Private slot to remove a bookmark.</td> |
91 <td>Private slot to remove a bookmark.</td> |
93 </tr><tr> |
92 </tr><tr> |
94 <td><a href="#BookmarksMenu.createBaseMenu">createBaseMenu</a></td> |
93 <td><a href="#BookmarksMenu.createBaseMenu">createBaseMenu</a></td> |
95 <td>Public method to get the menu that is used to populate sub menu's.</td> |
94 <td>Public method to get the menu that is used to populate sub menu's.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#BookmarksMenu.openAll">openAll</a></td> |
|
97 <td>Public slot to open all the menu's items.</td> |
96 </tr><tr> |
98 </tr><tr> |
97 <td><a href="#BookmarksMenu.postPopulated">postPopulated</a></td> |
99 <td><a href="#BookmarksMenu.postPopulated">postPopulated</a></td> |
98 <td>Public method to add any actions after the tree.</td> |
100 <td>Public method to add any actions after the tree.</td> |
99 </tr> |
101 </tr> |
100 </table> |
102 </table> |
130 </p><dl> |
132 </p><dl> |
131 <dt><i>pos</i></dt> |
133 <dt><i>pos</i></dt> |
132 <dd> |
134 <dd> |
133 position the context menu shall be shown (QPoint) |
135 position the context menu shall be shown (QPoint) |
134 </dd> |
136 </dd> |
135 </dl><a NAME="BookmarksMenu.__openAll" ID="BookmarksMenu.__openAll"></a> |
137 </dl><a NAME="BookmarksMenu.__openBookmark" ID="BookmarksMenu.__openBookmark"></a> |
136 <h4>BookmarksMenu.__openAll</h4> |
|
137 <b>__openAll</b>(<i></i>) |
|
138 <p> |
|
139 Private slot to open all the menu's items. |
|
140 </p><a NAME="BookmarksMenu.__openBookmark" ID="BookmarksMenu.__openBookmark"></a> |
|
141 <h4>BookmarksMenu.__openBookmark</h4> |
138 <h4>BookmarksMenu.__openBookmark</h4> |
142 <b>__openBookmark</b>(<i></i>) |
139 <b>__openBookmark</b>(<i></i>) |
143 <p> |
140 <p> |
144 Private slot to open a bookmark in the current browser tab. |
141 Private slot to open a bookmark in the current browser tab. |
145 </p><a NAME="BookmarksMenu.__openBookmarkInNewTab" ID="BookmarksMenu.__openBookmarkInNewTab"></a> |
142 </p><a NAME="BookmarksMenu.__openBookmarkInNewTab" ID="BookmarksMenu.__openBookmarkInNewTab"></a> |
160 </p><dl> |
157 </p><dl> |
161 <dt>Returns:</dt> |
158 <dt>Returns:</dt> |
162 <dd> |
159 <dd> |
163 reference to the menu (BookmarksMenu) |
160 reference to the menu (BookmarksMenu) |
164 </dd> |
161 </dd> |
165 </dl><a NAME="BookmarksMenu.postPopulated" ID="BookmarksMenu.postPopulated"></a> |
162 </dl><a NAME="BookmarksMenu.openAll" ID="BookmarksMenu.openAll"></a> |
|
163 <h4>BookmarksMenu.openAll</h4> |
|
164 <b>openAll</b>(<i></i>) |
|
165 <p> |
|
166 Public slot to open all the menu's items. |
|
167 </p><a NAME="BookmarksMenu.postPopulated" ID="BookmarksMenu.postPopulated"></a> |
166 <h4>BookmarksMenu.postPopulated</h4> |
168 <h4>BookmarksMenu.postPopulated</h4> |
167 <b>postPopulated</b>(<i></i>) |
169 <b>postPopulated</b>(<i></i>) |
168 <p> |
170 <p> |
169 Public method to add any actions after the tree. |
171 Public method to add any actions after the tree. |
170 </p> |
172 </p> |
172 <hr /><hr /> |
174 <hr /><hr /> |
173 <a NAME="BookmarksMenuBarMenu" ID="BookmarksMenuBarMenu"></a> |
175 <a NAME="BookmarksMenuBarMenu" ID="BookmarksMenuBarMenu"></a> |
174 <h2>BookmarksMenuBarMenu</h2> |
176 <h2>BookmarksMenuBarMenu</h2> |
175 <p> |
177 <p> |
176 Class implementing a dynamically populated menu for bookmarks. |
178 Class implementing a dynamically populated menu for bookmarks. |
177 </p> |
179 </p><h3>Signals</h3> |
|
180 <dl> |
|
181 <dt>openUrl(QUrl, str)</dt> |
|
182 <dd> |
|
183 emitted to open a URL with the given title in the |
|
184 current tab |
|
185 </dd> |
|
186 </dl> |
178 <h3>Derived from</h3> |
187 <h3>Derived from</h3> |
179 BookmarksMenu |
188 BookmarksMenu |
180 <h3>Class Attributes</h3> |
189 <h3>Class Attributes</h3> |
181 <table> |
190 <table> |
182 <tr><td>None</td></tr> |
191 <tr><td>None</td></tr> |
189 <table> |
198 <table> |
190 <tr> |
199 <tr> |
191 <td><a href="#BookmarksMenuBarMenu.__init__">BookmarksMenuBarMenu</a></td> |
200 <td><a href="#BookmarksMenuBarMenu.__init__">BookmarksMenuBarMenu</a></td> |
192 <td>Constructor</td> |
201 <td>Constructor</td> |
193 </tr><tr> |
202 </tr><tr> |
|
203 <td><a href="#BookmarksMenuBarMenu.__defaultBookmarkTriggered">__defaultBookmarkTriggered</a></td> |
|
204 <td>Private slot handling the default bookmark menu entries.</td> |
|
205 </tr><tr> |
|
206 <td><a href="#BookmarksMenuBarMenu.postPopulated">postPopulated</a></td> |
|
207 <td>Public method to add any actions after the tree.</td> |
|
208 </tr><tr> |
194 <td><a href="#BookmarksMenuBarMenu.prePopulated">prePopulated</a></td> |
209 <td><a href="#BookmarksMenuBarMenu.prePopulated">prePopulated</a></td> |
195 <td>Public method to add any actions before the tree.</td> |
210 <td>Public method to add any actions before the tree.</td> |
196 </tr><tr> |
211 </tr><tr> |
197 <td><a href="#BookmarksMenuBarMenu.setInitialActions">setInitialActions</a></td> |
212 <td><a href="#BookmarksMenuBarMenu.setInitialActions">setInitialActions</a></td> |
198 <td>Public method to set the list of actions that should appear first in the menu.</td> |
213 <td>Public method to set the list of actions that should appear first in the menu.</td> |
210 </p><dl> |
225 </p><dl> |
211 <dt><i>parent</i></dt> |
226 <dt><i>parent</i></dt> |
212 <dd> |
227 <dd> |
213 reference to the parent widget (QWidget) |
228 reference to the parent widget (QWidget) |
214 </dd> |
229 </dd> |
215 </dl><a NAME="BookmarksMenuBarMenu.prePopulated" ID="BookmarksMenuBarMenu.prePopulated"></a> |
230 </dl><a NAME="BookmarksMenuBarMenu.__defaultBookmarkTriggered" ID="BookmarksMenuBarMenu.__defaultBookmarkTriggered"></a> |
|
231 <h4>BookmarksMenuBarMenu.__defaultBookmarkTriggered</h4> |
|
232 <b>__defaultBookmarkTriggered</b>(<i></i>) |
|
233 <p> |
|
234 Private slot handling the default bookmark menu entries. |
|
235 </p><a NAME="BookmarksMenuBarMenu.postPopulated" ID="BookmarksMenuBarMenu.postPopulated"></a> |
|
236 <h4>BookmarksMenuBarMenu.postPopulated</h4> |
|
237 <b>postPopulated</b>(<i></i>) |
|
238 <p> |
|
239 Public method to add any actions after the tree. |
|
240 </p><a NAME="BookmarksMenuBarMenu.prePopulated" ID="BookmarksMenuBarMenu.prePopulated"></a> |
216 <h4>BookmarksMenuBarMenu.prePopulated</h4> |
241 <h4>BookmarksMenuBarMenu.prePopulated</h4> |
217 <b>prePopulated</b>(<i></i>) |
242 <b>prePopulated</b>(<i></i>) |
218 <p> |
243 <p> |
219 Public method to add any actions before the tree. |
244 Public method to add any actions before the tree. |
220 </p><dl> |
245 </p><dl> |