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

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.History.HistoryDialog</h1>
23 <p>
24 Module implementing a dialog to manage history.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#HistoryDialog">HistoryDialog</a></td>
34 <td>Class implementing a dialog to manage history.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="HistoryDialog" ID="HistoryDialog"></a>
43 <h2>HistoryDialog</h2>
44 <p>
45 Class implementing a dialog to manage history.
46 </p><h3>Signals</h3>
47 <dl>
48 <dt>newBackgroundTab(QUrl, str)</dt>
49 <dd>
50 emitted to open a URL in a new
51 background tab
52 </dd><dt>newPrivateWindow(QUrl, str)</dt>
53 <dd>
54 emitted to open a URL in a new
55 private window
56 </dd><dt>newTab(QUrl, str)</dt>
57 <dd>
58 emitted to open a URL in a new tab
59 </dd><dt>newWindow(QUrl, str)</dt>
60 <dd>
61 emitted to open a URL in a new window
62 </dd><dt>openUrl(QUrl, str)</dt>
63 <dd>
64 emitted to open a URL in the current tab
65 </dd>
66 </dl>
67 <h3>Derived from</h3>
68 QDialog, Ui_HistoryDialog
69 <h3>Class Attributes</h3>
70 <table>
71 <tr><td>None</td></tr>
72 </table>
73 <h3>Class Methods</h3>
74 <table>
75 <tr><td>None</td></tr>
76 </table>
77 <h3>Methods</h3>
78 <table>
79 <tr>
80 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td>
81 <td>Constructor</td>
82 </tr><tr>
83 <td><a href="#HistoryDialog.__activated">__activated</a></td>
84 <td>Private slot to handle the activation of an entry.</td>
85 </tr><tr>
86 <td><a href="#HistoryDialog.__copyHistory">__copyHistory</a></td>
87 <td>Private slot to copy a history entry's URL to the clipboard.</td>
88 </tr><tr>
89 <td><a href="#HistoryDialog.__customContextMenuRequested">__customContextMenuRequested</a></td>
90 <td>Private slot to handle the context menu request for the bookmarks tree.</td>
91 </tr><tr>
92 <td><a href="#HistoryDialog.__modelReset">__modelReset</a></td>
93 <td>Private slot handling a reset of the tree view's model.</td>
94 </tr><tr>
95 <td><a href="#HistoryDialog.__openHistory">__openHistory</a></td>
96 <td>Private method to open a history entry.</td>
97 </tr><tr>
98 <td><a href="#HistoryDialog.__openHistoryInCurrentTab">__openHistoryInCurrentTab</a></td>
99 <td>Private slot to open a history entry in the current browser tab.</td>
100 </tr><tr>
101 <td><a href="#HistoryDialog.__openHistoryInNewBackgroundTab">__openHistoryInNewBackgroundTab</a></td>
102 <td>Private slot to open a history entry in a new background tab.</td>
103 </tr><tr>
104 <td><a href="#HistoryDialog.__openHistoryInNewTab">__openHistoryInNewTab</a></td>
105 <td>Private slot to open a history entry in a new browser tab.</td>
106 </tr><tr>
107 <td><a href="#HistoryDialog.__openHistoryInNewWindow">__openHistoryInNewWindow</a></td>
108 <td>Private slot to open a history entry in a new browser window.</td>
109 </tr><tr>
110 <td><a href="#HistoryDialog.__openHistoryInPrivateWindow">__openHistoryInPrivateWindow</a></td>
111 <td>Private slot to open a history entry in a new private browser window.</td>
112 </tr>
113 </table>
114 <h3>Static Methods</h3>
115 <table>
116 <tr><td>None</td></tr>
117 </table>
118 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a>
119 <h4>HistoryDialog (Constructor)</h4>
120 <b>HistoryDialog</b>(<i>parent=None, manager=None</i>)
121 <p>
122 Constructor
123 </p><dl>
124 <dt><i>parent</i></dt>
125 <dd>
126 reference to the parent widget (QWidget
127 </dd><dt><i>manager</i></dt>
128 <dd>
129 reference to the history manager object (HistoryManager)
130 </dd>
131 </dl><a NAME="HistoryDialog.__activated" ID="HistoryDialog.__activated"></a>
132 <h4>HistoryDialog.__activated</h4>
133 <b>__activated</b>(<i>idx</i>)
134 <p>
135 Private slot to handle the activation of an entry.
136 </p><dl>
137 <dt><i>idx</i></dt>
138 <dd>
139 reference to the entry index (QModelIndex)
140 </dd>
141 </dl><a NAME="HistoryDialog.__copyHistory" ID="HistoryDialog.__copyHistory"></a>
142 <h4>HistoryDialog.__copyHistory</h4>
143 <b>__copyHistory</b>(<i></i>)
144 <p>
145 Private slot to copy a history entry's URL to the clipboard.
146 </p><a NAME="HistoryDialog.__customContextMenuRequested" ID="HistoryDialog.__customContextMenuRequested"></a>
147 <h4>HistoryDialog.__customContextMenuRequested</h4>
148 <b>__customContextMenuRequested</b>(<i>pos</i>)
149 <p>
150 Private slot to handle the context menu request for the bookmarks tree.
151 </p><dl>
152 <dt><i>pos</i></dt>
153 <dd>
154 position the context menu was requested (QPoint)
155 </dd>
156 </dl><a NAME="HistoryDialog.__modelReset" ID="HistoryDialog.__modelReset"></a>
157 <h4>HistoryDialog.__modelReset</h4>
158 <b>__modelReset</b>(<i></i>)
159 <p>
160 Private slot handling a reset of the tree view's model.
161 </p><a NAME="HistoryDialog.__openHistory" ID="HistoryDialog.__openHistory"></a>
162 <h4>HistoryDialog.__openHistory</h4>
163 <b>__openHistory</b>(<i>newTab=False, background=False, newWindow=False, privateWindow=False</i>)
164 <p>
165 Private method to open a history entry.
166 </p><dl>
167 <dt><i>newTab</i> (bool)</dt>
168 <dd>
169 flag indicating to open the feed message in a new tab
170 </dd><dt><i>background</i> (bool)</dt>
171 <dd>
172 flag indicating to open the bookmark in a new
173 background tab
174 </dd><dt><i>newWindow</i> (bool)</dt>
175 <dd>
176 flag indicating to open the bookmark in a new window
177 </dd><dt><i>privateWindow</i> (bool)</dt>
178 <dd>
179 flag indicating to open the bookmark in a new
180 private window
181 (boolean)
182 </dd>
183 </dl><a NAME="HistoryDialog.__openHistoryInCurrentTab" ID="HistoryDialog.__openHistoryInCurrentTab"></a>
184 <h4>HistoryDialog.__openHistoryInCurrentTab</h4>
185 <b>__openHistoryInCurrentTab</b>(<i></i>)
186 <p>
187 Private slot to open a history entry in the current browser tab.
188 </p><a NAME="HistoryDialog.__openHistoryInNewBackgroundTab" ID="HistoryDialog.__openHistoryInNewBackgroundTab"></a>
189 <h4>HistoryDialog.__openHistoryInNewBackgroundTab</h4>
190 <b>__openHistoryInNewBackgroundTab</b>(<i></i>)
191 <p>
192 Private slot to open a history entry in a new background tab.
193 </p><a NAME="HistoryDialog.__openHistoryInNewTab" ID="HistoryDialog.__openHistoryInNewTab"></a>
194 <h4>HistoryDialog.__openHistoryInNewTab</h4>
195 <b>__openHistoryInNewTab</b>(<i></i>)
196 <p>
197 Private slot to open a history entry in a new browser tab.
198 </p><a NAME="HistoryDialog.__openHistoryInNewWindow" ID="HistoryDialog.__openHistoryInNewWindow"></a>
199 <h4>HistoryDialog.__openHistoryInNewWindow</h4>
200 <b>__openHistoryInNewWindow</b>(<i></i>)
201 <p>
202 Private slot to open a history entry in a new browser window.
203 </p><a NAME="HistoryDialog.__openHistoryInPrivateWindow" ID="HistoryDialog.__openHistoryInPrivateWindow"></a>
204 <h4>HistoryDialog.__openHistoryInPrivateWindow</h4>
205 <b>__openHistoryInPrivateWindow</b>(<i></i>)
206 <p>
207 Private slot to open a history entry in a new private browser window.
208 </p>
209 <div align="right"><a href="#top">Up</a></div>
210 <hr />
211 </body></html>

eric ide

mercurial