eric7/Documentation/Source/eric7.WebBrowser.History.HistoryDialog.html

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

eric ide

mercurial