|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.History.HistoryDialog</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Helpviewer.History.HistoryDialog</h1> |
|
12 <p> |
|
13 Module implementing a dialog to manage history. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#HistoryDialog">HistoryDialog</a></td> |
|
23 <td>Class implementing a dialog to manage history.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="HistoryDialog" ID="HistoryDialog"></a> |
|
32 <h2>HistoryDialog</h2> |
|
33 <p> |
|
34 Class implementing a dialog to manage history. |
|
35 </p><h4>Signals</h4> |
|
36 <dl> |
|
37 <dt>newUrl(const QUrl&, const QString&)</dt> |
|
38 <dd> |
|
39 emitted to open a URL in a new tab |
|
40 </dd><dt>openUrl(const QUrl&, const QString&)</dt> |
|
41 <dd> |
|
42 emitted to open a URL in the current |
|
43 tab |
|
44 </dd> |
|
45 </dl> |
|
46 <h3>Derived from</h3> |
|
47 QDialog, Ui_HistoryDialog |
|
48 <h3>Class Attributes</h3> |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 <h3>Methods</h3> |
|
53 <table> |
|
54 <tr> |
|
55 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> |
|
56 <td>Constructor</td> |
|
57 </tr><tr> |
|
58 <td><a href="#HistoryDialog.__activated">__activated</a></td> |
|
59 <td>Private slot to handle the activation of an entry.</td> |
|
60 </tr><tr> |
|
61 <td><a href="#HistoryDialog.__copyHistory">__copyHistory</a></td> |
|
62 <td>Private slot to copy a history entry's URL to the clipboard.</td> |
|
63 </tr><tr> |
|
64 <td><a href="#HistoryDialog.__customContextMenuRequested">__customContextMenuRequested</a></td> |
|
65 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#HistoryDialog.__modelReset">__modelReset</a></td> |
|
68 <td>Private slot handling a reset of the tree view's model.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#HistoryDialog.__openHistory">__openHistory</a></td> |
|
71 <td>Private method to open a history entry.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#HistoryDialog.__openHistoryInCurrentTab">__openHistoryInCurrentTab</a></td> |
|
74 <td>Private slot to open a history entry in the current browser tab.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#HistoryDialog.__openHistoryInNewTab">__openHistoryInNewTab</a></td> |
|
77 <td>Private slot to open a history entry in a new browser tab.</td> |
|
78 </tr> |
|
79 </table> |
|
80 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> |
|
81 <h4>HistoryDialog (Constructor)</h4> |
|
82 <b>HistoryDialog</b>(<i>parent = None, manager = None</i>) |
|
83 <p> |
|
84 Constructor |
|
85 </p><dl> |
|
86 <dt><i>parent</i></dt> |
|
87 <dd> |
|
88 reference to the parent widget (QWidget |
|
89 </dd><dt><i>manager</i></dt> |
|
90 <dd> |
|
91 reference to the history manager object (HistoryManager) |
|
92 </dd> |
|
93 </dl><a NAME="HistoryDialog.__activated" ID="HistoryDialog.__activated"></a> |
|
94 <h4>HistoryDialog.__activated</h4> |
|
95 <b>__activated</b>(<i>idx</i>) |
|
96 <p> |
|
97 Private slot to handle the activation of an entry. |
|
98 </p><dl> |
|
99 <dt><i>idx</i></dt> |
|
100 <dd> |
|
101 reference to the entry index (QModelIndex) |
|
102 </dd> |
|
103 </dl><a NAME="HistoryDialog.__copyHistory" ID="HistoryDialog.__copyHistory"></a> |
|
104 <h4>HistoryDialog.__copyHistory</h4> |
|
105 <b>__copyHistory</b>(<i></i>) |
|
106 <p> |
|
107 Private slot to copy a history entry's URL to the clipboard. |
|
108 </p><a NAME="HistoryDialog.__customContextMenuRequested" ID="HistoryDialog.__customContextMenuRequested"></a> |
|
109 <h4>HistoryDialog.__customContextMenuRequested</h4> |
|
110 <b>__customContextMenuRequested</b>(<i>pos</i>) |
|
111 <p> |
|
112 Private slot to handle the context menu request for the bookmarks tree. |
|
113 </p><dl> |
|
114 <dt><i>pos</i></dt> |
|
115 <dd> |
|
116 position the context menu was requested (QPoint) |
|
117 </dd> |
|
118 </dl><a NAME="HistoryDialog.__modelReset" ID="HistoryDialog.__modelReset"></a> |
|
119 <h4>HistoryDialog.__modelReset</h4> |
|
120 <b>__modelReset</b>(<i></i>) |
|
121 <p> |
|
122 Private slot handling a reset of the tree view's model. |
|
123 </p><a NAME="HistoryDialog.__openHistory" ID="HistoryDialog.__openHistory"></a> |
|
124 <h4>HistoryDialog.__openHistory</h4> |
|
125 <b>__openHistory</b>(<i>newTab</i>) |
|
126 <p> |
|
127 Private method to open a history entry. |
|
128 </p><dl> |
|
129 <dt><i>newTab</i></dt> |
|
130 <dd> |
|
131 flag indicating to open the history entry in a new tab (boolean) |
|
132 </dd> |
|
133 </dl><a NAME="HistoryDialog.__openHistoryInCurrentTab" ID="HistoryDialog.__openHistoryInCurrentTab"></a> |
|
134 <h4>HistoryDialog.__openHistoryInCurrentTab</h4> |
|
135 <b>__openHistoryInCurrentTab</b>(<i></i>) |
|
136 <p> |
|
137 Private slot to open a history entry in the current browser tab. |
|
138 </p><a NAME="HistoryDialog.__openHistoryInNewTab" ID="HistoryDialog.__openHistoryInNewTab"></a> |
|
139 <h4>HistoryDialog.__openHistoryInNewTab</h4> |
|
140 <b>__openHistoryInNewTab</b>(<i></i>) |
|
141 <p> |
|
142 Private slot to open a history entry in a new browser tab. |
|
143 </p> |
|
144 <div align="right"><a href="#top">Up</a></div> |
|
145 <hr /> |
|
146 </body></html> |