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.History.HistoryDialog</h1> |
23 <h1>eric6.WebBrowser.History.HistoryDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to manage history. |
26 Module implementing a dialog to manage history. |
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="#HistoryDialog">HistoryDialog</a></td> |
38 <td><a href="#HistoryDialog">HistoryDialog</a></td> |
34 <td>Class implementing a dialog to manage history.</td> |
39 <td>Class implementing a dialog to manage history.</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="HistoryDialog" ID="HistoryDialog"></a> |
49 <a NAME="HistoryDialog" ID="HistoryDialog"></a> |
43 <h2>HistoryDialog</h2> |
50 <h2>HistoryDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to manage history. |
53 Class implementing a dialog to manage history. |
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>newPrivateWindow(QUrl, str)</dt> |
62 </dd> |
|
63 <dt>newPrivateWindow(QUrl, str)</dt> |
53 <dd> |
64 <dd> |
54 emitted to open a URL in a new |
65 emitted to open a URL in a new |
55 private window |
66 private window |
56 </dd><dt>newTab(QUrl, str)</dt> |
67 </dd> |
|
68 <dt>newTab(QUrl, str)</dt> |
57 <dd> |
69 <dd> |
58 emitted to open a URL in a new tab |
70 emitted to open a URL in a new tab |
59 </dd><dt>newWindow(QUrl, str)</dt> |
71 </dd> |
|
72 <dt>newWindow(QUrl, str)</dt> |
60 <dd> |
73 <dd> |
61 emitted to open a URL in a new window |
74 emitted to open a URL in a new window |
62 </dd><dt>openUrl(QUrl, str)</dt> |
75 </dd> |
|
76 <dt>openUrl(QUrl, str)</dt> |
63 <dd> |
77 <dd> |
64 emitted to open a URL in the current tab |
78 emitted to open a URL in the current tab |
65 </dd> |
79 </dd> |
66 </dl> |
80 </dl> |
67 <h3>Derived from</h3> |
81 <h3>Derived from</h3> |
68 QDialog, Ui_HistoryDialog |
82 QDialog, Ui_HistoryDialog |
69 <h3>Class Attributes</h3> |
83 <h3>Class Attributes</h3> |
|
84 |
70 <table> |
85 <table> |
71 <tr><td>None</td></tr> |
86 <tr><td>None</td></tr> |
72 </table> |
87 </table> |
73 <h3>Class Methods</h3> |
88 <h3>Class Methods</h3> |
|
89 |
74 <table> |
90 <table> |
75 <tr><td>None</td></tr> |
91 <tr><td>None</td></tr> |
76 </table> |
92 </table> |
77 <h3>Methods</h3> |
93 <h3>Methods</h3> |
78 <table> |
94 |
|
95 <table> |
|
96 |
79 <tr> |
97 <tr> |
80 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> |
98 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> |
81 <td>Constructor</td> |
99 <td>Constructor</td> |
82 </tr><tr> |
100 </tr> |
|
101 <tr> |
83 <td><a href="#HistoryDialog.__activated">__activated</a></td> |
102 <td><a href="#HistoryDialog.__activated">__activated</a></td> |
84 <td>Private slot to handle the activation of an entry.</td> |
103 <td>Private slot to handle the activation of an entry.</td> |
85 </tr><tr> |
104 </tr> |
|
105 <tr> |
86 <td><a href="#HistoryDialog.__copyHistory">__copyHistory</a></td> |
106 <td><a href="#HistoryDialog.__copyHistory">__copyHistory</a></td> |
87 <td>Private slot to copy a history entry's URL to the clipboard.</td> |
107 <td>Private slot to copy a history entry's URL to the clipboard.</td> |
88 </tr><tr> |
108 </tr> |
|
109 <tr> |
89 <td><a href="#HistoryDialog.__customContextMenuRequested">__customContextMenuRequested</a></td> |
110 <td><a href="#HistoryDialog.__customContextMenuRequested">__customContextMenuRequested</a></td> |
90 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
111 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
91 </tr><tr> |
112 </tr> |
|
113 <tr> |
92 <td><a href="#HistoryDialog.__modelReset">__modelReset</a></td> |
114 <td><a href="#HistoryDialog.__modelReset">__modelReset</a></td> |
93 <td>Private slot handling a reset of the tree view's model.</td> |
115 <td>Private slot handling a reset of the tree view's model.</td> |
94 </tr><tr> |
116 </tr> |
|
117 <tr> |
95 <td><a href="#HistoryDialog.__openHistory">__openHistory</a></td> |
118 <td><a href="#HistoryDialog.__openHistory">__openHistory</a></td> |
96 <td>Private method to open a history entry.</td> |
119 <td>Private method to open a history entry.</td> |
97 </tr><tr> |
120 </tr> |
|
121 <tr> |
98 <td><a href="#HistoryDialog.__openHistoryInCurrentTab">__openHistoryInCurrentTab</a></td> |
122 <td><a href="#HistoryDialog.__openHistoryInCurrentTab">__openHistoryInCurrentTab</a></td> |
99 <td>Private slot to open a history entry in the current browser tab.</td> |
123 <td>Private slot to open a history entry in the current browser tab.</td> |
100 </tr><tr> |
124 </tr> |
|
125 <tr> |
101 <td><a href="#HistoryDialog.__openHistoryInNewBackgroundTab">__openHistoryInNewBackgroundTab</a></td> |
126 <td><a href="#HistoryDialog.__openHistoryInNewBackgroundTab">__openHistoryInNewBackgroundTab</a></td> |
102 <td>Private slot to open a history entry in a new background tab.</td> |
127 <td>Private slot to open a history entry in a new background tab.</td> |
103 </tr><tr> |
128 </tr> |
|
129 <tr> |
104 <td><a href="#HistoryDialog.__openHistoryInNewTab">__openHistoryInNewTab</a></td> |
130 <td><a href="#HistoryDialog.__openHistoryInNewTab">__openHistoryInNewTab</a></td> |
105 <td>Private slot to open a history entry in a new browser tab.</td> |
131 <td>Private slot to open a history entry in a new browser tab.</td> |
106 </tr><tr> |
132 </tr> |
|
133 <tr> |
107 <td><a href="#HistoryDialog.__openHistoryInNewWindow">__openHistoryInNewWindow</a></td> |
134 <td><a href="#HistoryDialog.__openHistoryInNewWindow">__openHistoryInNewWindow</a></td> |
108 <td>Private slot to open a history entry in a new browser window.</td> |
135 <td>Private slot to open a history entry in a new browser window.</td> |
109 </tr><tr> |
136 </tr> |
|
137 <tr> |
110 <td><a href="#HistoryDialog.__openHistoryInPrivateWindow">__openHistoryInPrivateWindow</a></td> |
138 <td><a href="#HistoryDialog.__openHistoryInPrivateWindow">__openHistoryInPrivateWindow</a></td> |
111 <td>Private slot to open a history entry in a new private browser window.</td> |
139 <td>Private slot to open a history entry in a new private browser window.</td> |
112 </tr> |
140 </tr> |
113 </table> |
141 </table> |
114 <h3>Static Methods</h3> |
142 <h3>Static Methods</h3> |
115 <table> |
143 |
116 <tr><td>None</td></tr> |
144 <table> |
117 </table> |
145 <tr><td>None</td></tr> |
|
146 </table> |
|
147 |
118 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> |
148 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> |
119 <h4>HistoryDialog (Constructor)</h4> |
149 <h4>HistoryDialog (Constructor)</h4> |
120 <b>HistoryDialog</b>(<i>parent=None, manager=None</i>) |
150 <b>HistoryDialog</b>(<i>parent=None, manager=None</i>) |
|
151 |
121 <p> |
152 <p> |
122 Constructor |
153 Constructor |
123 </p><dl> |
154 </p> |
|
155 <dl> |
|
156 |
124 <dt><i>parent</i></dt> |
157 <dt><i>parent</i></dt> |
125 <dd> |
158 <dd> |
126 reference to the parent widget (QWidget |
159 reference to the parent widget (QWidget |
127 </dd><dt><i>manager</i></dt> |
160 </dd> |
|
161 <dt><i>manager</i></dt> |
128 <dd> |
162 <dd> |
129 reference to the history manager object (HistoryManager) |
163 reference to the history manager object (HistoryManager) |
130 </dd> |
164 </dd> |
131 </dl><a NAME="HistoryDialog.__activated" ID="HistoryDialog.__activated"></a> |
165 </dl> |
|
166 <a NAME="HistoryDialog.__activated" ID="HistoryDialog.__activated"></a> |
132 <h4>HistoryDialog.__activated</h4> |
167 <h4>HistoryDialog.__activated</h4> |
133 <b>__activated</b>(<i>idx</i>) |
168 <b>__activated</b>(<i>idx</i>) |
|
169 |
134 <p> |
170 <p> |
135 Private slot to handle the activation of an entry. |
171 Private slot to handle the activation of an entry. |
136 </p><dl> |
172 </p> |
|
173 <dl> |
|
174 |
137 <dt><i>idx</i></dt> |
175 <dt><i>idx</i></dt> |
138 <dd> |
176 <dd> |
139 reference to the entry index (QModelIndex) |
177 reference to the entry index (QModelIndex) |
140 </dd> |
178 </dd> |
141 </dl><a NAME="HistoryDialog.__copyHistory" ID="HistoryDialog.__copyHistory"></a> |
179 </dl> |
|
180 <a NAME="HistoryDialog.__copyHistory" ID="HistoryDialog.__copyHistory"></a> |
142 <h4>HistoryDialog.__copyHistory</h4> |
181 <h4>HistoryDialog.__copyHistory</h4> |
143 <b>__copyHistory</b>(<i></i>) |
182 <b>__copyHistory</b>(<i></i>) |
|
183 |
144 <p> |
184 <p> |
145 Private slot to copy a history entry's URL to the clipboard. |
185 Private slot to copy a history entry's URL to the clipboard. |
146 </p><a NAME="HistoryDialog.__customContextMenuRequested" ID="HistoryDialog.__customContextMenuRequested"></a> |
186 </p> |
|
187 <a NAME="HistoryDialog.__customContextMenuRequested" ID="HistoryDialog.__customContextMenuRequested"></a> |
147 <h4>HistoryDialog.__customContextMenuRequested</h4> |
188 <h4>HistoryDialog.__customContextMenuRequested</h4> |
148 <b>__customContextMenuRequested</b>(<i>pos</i>) |
189 <b>__customContextMenuRequested</b>(<i>pos</i>) |
|
190 |
149 <p> |
191 <p> |
150 Private slot to handle the context menu request for the bookmarks tree. |
192 Private slot to handle the context menu request for the bookmarks tree. |
151 </p><dl> |
193 </p> |
|
194 <dl> |
|
195 |
152 <dt><i>pos</i></dt> |
196 <dt><i>pos</i></dt> |
153 <dd> |
197 <dd> |
154 position the context menu was requested (QPoint) |
198 position the context menu was requested (QPoint) |
155 </dd> |
199 </dd> |
156 </dl><a NAME="HistoryDialog.__modelReset" ID="HistoryDialog.__modelReset"></a> |
200 </dl> |
|
201 <a NAME="HistoryDialog.__modelReset" ID="HistoryDialog.__modelReset"></a> |
157 <h4>HistoryDialog.__modelReset</h4> |
202 <h4>HistoryDialog.__modelReset</h4> |
158 <b>__modelReset</b>(<i></i>) |
203 <b>__modelReset</b>(<i></i>) |
|
204 |
159 <p> |
205 <p> |
160 Private slot handling a reset of the tree view's model. |
206 Private slot handling a reset of the tree view's model. |
161 </p><a NAME="HistoryDialog.__openHistory" ID="HistoryDialog.__openHistory"></a> |
207 </p> |
|
208 <a NAME="HistoryDialog.__openHistory" ID="HistoryDialog.__openHistory"></a> |
162 <h4>HistoryDialog.__openHistory</h4> |
209 <h4>HistoryDialog.__openHistory</h4> |
163 <b>__openHistory</b>(<i>newTab=False, background=False, newWindow=False, privateWindow=False</i>) |
210 <b>__openHistory</b>(<i>newTab=False, background=False, newWindow=False, privateWindow=False</i>) |
|
211 |
164 <p> |
212 <p> |
165 Private method to open a history entry. |
213 Private method to open a history entry. |
166 </p><dl> |
214 </p> |
|
215 <dl> |
|
216 |
167 <dt><i>newTab</i> (bool)</dt> |
217 <dt><i>newTab</i> (bool)</dt> |
168 <dd> |
218 <dd> |
169 flag indicating to open the feed message in a new tab |
219 flag indicating to open the feed message in a new tab |
170 </dd><dt><i>background</i> (bool)</dt> |
220 </dd> |
|
221 <dt><i>background</i> (bool)</dt> |
171 <dd> |
222 <dd> |
172 flag indicating to open the bookmark in a new |
223 flag indicating to open the bookmark in a new |
173 background tab |
224 background tab |
174 </dd><dt><i>newWindow</i> (bool)</dt> |
225 </dd> |
|
226 <dt><i>newWindow</i> (bool)</dt> |
175 <dd> |
227 <dd> |
176 flag indicating to open the bookmark in a new window |
228 flag indicating to open the bookmark in a new window |
177 </dd><dt><i>privateWindow</i> (bool)</dt> |
229 </dd> |
|
230 <dt><i>privateWindow</i> (bool)</dt> |
178 <dd> |
231 <dd> |
179 flag indicating to open the bookmark in a new |
232 flag indicating to open the bookmark in a new |
180 private window |
233 private window |
181 (boolean) |
234 (boolean) |
182 </dd> |
235 </dd> |
183 </dl><a NAME="HistoryDialog.__openHistoryInCurrentTab" ID="HistoryDialog.__openHistoryInCurrentTab"></a> |
236 </dl> |
|
237 <a NAME="HistoryDialog.__openHistoryInCurrentTab" ID="HistoryDialog.__openHistoryInCurrentTab"></a> |
184 <h4>HistoryDialog.__openHistoryInCurrentTab</h4> |
238 <h4>HistoryDialog.__openHistoryInCurrentTab</h4> |
185 <b>__openHistoryInCurrentTab</b>(<i></i>) |
239 <b>__openHistoryInCurrentTab</b>(<i></i>) |
|
240 |
186 <p> |
241 <p> |
187 Private slot to open a history entry in the current browser tab. |
242 Private slot to open a history entry in the current browser tab. |
188 </p><a NAME="HistoryDialog.__openHistoryInNewBackgroundTab" ID="HistoryDialog.__openHistoryInNewBackgroundTab"></a> |
243 </p> |
|
244 <a NAME="HistoryDialog.__openHistoryInNewBackgroundTab" ID="HistoryDialog.__openHistoryInNewBackgroundTab"></a> |
189 <h4>HistoryDialog.__openHistoryInNewBackgroundTab</h4> |
245 <h4>HistoryDialog.__openHistoryInNewBackgroundTab</h4> |
190 <b>__openHistoryInNewBackgroundTab</b>(<i></i>) |
246 <b>__openHistoryInNewBackgroundTab</b>(<i></i>) |
|
247 |
191 <p> |
248 <p> |
192 Private slot to open a history entry in a new background tab. |
249 Private slot to open a history entry in a new background tab. |
193 </p><a NAME="HistoryDialog.__openHistoryInNewTab" ID="HistoryDialog.__openHistoryInNewTab"></a> |
250 </p> |
|
251 <a NAME="HistoryDialog.__openHistoryInNewTab" ID="HistoryDialog.__openHistoryInNewTab"></a> |
194 <h4>HistoryDialog.__openHistoryInNewTab</h4> |
252 <h4>HistoryDialog.__openHistoryInNewTab</h4> |
195 <b>__openHistoryInNewTab</b>(<i></i>) |
253 <b>__openHistoryInNewTab</b>(<i></i>) |
|
254 |
196 <p> |
255 <p> |
197 Private slot to open a history entry in a new browser tab. |
256 Private slot to open a history entry in a new browser tab. |
198 </p><a NAME="HistoryDialog.__openHistoryInNewWindow" ID="HistoryDialog.__openHistoryInNewWindow"></a> |
257 </p> |
|
258 <a NAME="HistoryDialog.__openHistoryInNewWindow" ID="HistoryDialog.__openHistoryInNewWindow"></a> |
199 <h4>HistoryDialog.__openHistoryInNewWindow</h4> |
259 <h4>HistoryDialog.__openHistoryInNewWindow</h4> |
200 <b>__openHistoryInNewWindow</b>(<i></i>) |
260 <b>__openHistoryInNewWindow</b>(<i></i>) |
|
261 |
201 <p> |
262 <p> |
202 Private slot to open a history entry in a new browser window. |
263 Private slot to open a history entry in a new browser window. |
203 </p><a NAME="HistoryDialog.__openHistoryInPrivateWindow" ID="HistoryDialog.__openHistoryInPrivateWindow"></a> |
264 </p> |
|
265 <a NAME="HistoryDialog.__openHistoryInPrivateWindow" ID="HistoryDialog.__openHistoryInPrivateWindow"></a> |
204 <h4>HistoryDialog.__openHistoryInPrivateWindow</h4> |
266 <h4>HistoryDialog.__openHistoryInPrivateWindow</h4> |
205 <b>__openHistoryInPrivateWindow</b>(<i></i>) |
267 <b>__openHistoryInPrivateWindow</b>(<i></i>) |
|
268 |
206 <p> |
269 <p> |
207 Private slot to open a history entry in a new private browser window. |
270 Private slot to open a history entry in a new private browser window. |
208 </p> |
271 </p> |
209 <div align="right"><a href="#top">Up</a></div> |
272 <div align="right"><a href="#top">Up</a></div> |
210 <hr /> |
273 <hr /> |