20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.Helpviewer.History.HistoryDialog</h1> |
23 <h1>eric5.Helpviewer.History.HistoryDialog</h1> |
24 <p> |
24 <p> |
25 Module implementing a dialog to manage history. |
25 Module implementing a dialog to manage history. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#HistoryDialog">HistoryDialog</a></td> |
34 <td><a href="#HistoryDialog">HistoryDialog</a></td> |
35 <td>Class implementing a dialog to manage history.</td> |
35 <td>Class implementing a dialog to manage history.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
41 </table> |
41 </table> |
42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="HistoryDialog" ID="HistoryDialog"></a> |
43 <a NAME="HistoryDialog" ID="HistoryDialog"></a> |
44 <h2>HistoryDialog</h2> |
44 <h2>HistoryDialog</h2> |
45 <p> |
45 <p> |
46 Class implementing a dialog to manage history. |
46 Class implementing a dialog to manage history. |
47 </p><h4>Signals</h4> |
47 </p><h4>Signals</h4> |
48 <dl> |
48 <dl> |
49 <dt>newUrl(const QUrl&, const QString&)</dt> |
49 <dt>newUrl(const QUrl&, const QString&)</dt> |
50 <dd> |
50 <dd> |
51 emitted to open a URL in a new tab |
51 emitted to open a URL in a new tab |
52 </dd><dt>openUrl(const QUrl&, const QString&)</dt> |
52 </dd><dt>openUrl(const QUrl&, const QString&)</dt> |
53 <dd> |
53 <dd> |
54 emitted to open a URL in the current |
54 emitted to open a URL in the current |
55 tab |
55 tab |
56 </dd> |
56 </dd> |
57 </dl> |
57 </dl> |
58 <h3>Derived from</h3> |
58 <h3>Derived from</h3> |
59 QDialog, Ui_HistoryDialog |
59 QDialog, Ui_HistoryDialog |
60 <h3>Class Attributes</h3> |
60 <h3>Class Attributes</h3> |
63 </table> |
63 </table> |
64 <h3>Methods</h3> |
64 <h3>Methods</h3> |
65 <table> |
65 <table> |
66 <tr> |
66 <tr> |
67 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> |
67 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> |
68 <td>Constructor</td> |
68 <td>Constructor</td> |
69 </tr><tr> |
69 </tr><tr> |
70 <td><a href="#HistoryDialog.__activated">__activated</a></td> |
70 <td><a href="#HistoryDialog.__activated">__activated</a></td> |
71 <td>Private slot to handle the activation of an entry.</td> |
71 <td>Private slot to handle the activation of an entry.</td> |
72 </tr><tr> |
72 </tr><tr> |
73 <td><a href="#HistoryDialog.__copyHistory">__copyHistory</a></td> |
73 <td><a href="#HistoryDialog.__copyHistory">__copyHistory</a></td> |
74 <td>Private slot to copy a history entry's URL to the clipboard.</td> |
74 <td>Private slot to copy a history entry's URL to the clipboard.</td> |
75 </tr><tr> |
75 </tr><tr> |
76 <td><a href="#HistoryDialog.__customContextMenuRequested">__customContextMenuRequested</a></td> |
76 <td><a href="#HistoryDialog.__customContextMenuRequested">__customContextMenuRequested</a></td> |
77 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
77 <td>Private slot to handle the context menu request for the bookmarks tree.</td> |
78 </tr><tr> |
78 </tr><tr> |
79 <td><a href="#HistoryDialog.__modelReset">__modelReset</a></td> |
79 <td><a href="#HistoryDialog.__modelReset">__modelReset</a></td> |
80 <td>Private slot handling a reset of the tree view's model.</td> |
80 <td>Private slot handling a reset of the tree view's model.</td> |
81 </tr><tr> |
81 </tr><tr> |
82 <td><a href="#HistoryDialog.__openHistory">__openHistory</a></td> |
82 <td><a href="#HistoryDialog.__openHistory">__openHistory</a></td> |
83 <td>Private method to open a history entry.</td> |
83 <td>Private method to open a history entry.</td> |
84 </tr><tr> |
84 </tr><tr> |
85 <td><a href="#HistoryDialog.__openHistoryInCurrentTab">__openHistoryInCurrentTab</a></td> |
85 <td><a href="#HistoryDialog.__openHistoryInCurrentTab">__openHistoryInCurrentTab</a></td> |
86 <td>Private slot to open a history entry in the current browser tab.</td> |
86 <td>Private slot to open a history entry in the current browser tab.</td> |
87 </tr><tr> |
87 </tr><tr> |
88 <td><a href="#HistoryDialog.__openHistoryInNewTab">__openHistoryInNewTab</a></td> |
88 <td><a href="#HistoryDialog.__openHistoryInNewTab">__openHistoryInNewTab</a></td> |
89 <td>Private slot to open a history entry in a new browser tab.</td> |
89 <td>Private slot to open a history entry in a new browser tab.</td> |
90 </tr> |
90 </tr> |
91 </table> |
91 </table> |
92 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> |
92 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> |
93 <h4>HistoryDialog (Constructor)</h4> |
93 <h4>HistoryDialog (Constructor)</h4> |
94 <b>HistoryDialog</b>(<i>parent = None, manager = None</i>) |
94 <b>HistoryDialog</b>(<i>parent = None, manager = None</i>) |
95 <p> |
95 <p> |
96 Constructor |
96 Constructor |
97 </p><dl> |
97 </p><dl> |
98 <dt><i>parent</i></dt> |
98 <dt><i>parent</i></dt> |
99 <dd> |
99 <dd> |
100 reference to the parent widget (QWidget |
100 reference to the parent widget (QWidget |
101 </dd><dt><i>manager</i></dt> |
101 </dd><dt><i>manager</i></dt> |
102 <dd> |
102 <dd> |
103 reference to the history manager object (HistoryManager) |
103 reference to the history manager object (HistoryManager) |
104 </dd> |
104 </dd> |
105 </dl><a NAME="HistoryDialog.__activated" ID="HistoryDialog.__activated"></a> |
105 </dl><a NAME="HistoryDialog.__activated" ID="HistoryDialog.__activated"></a> |
106 <h4>HistoryDialog.__activated</h4> |
106 <h4>HistoryDialog.__activated</h4> |
107 <b>__activated</b>(<i>idx</i>) |
107 <b>__activated</b>(<i>idx</i>) |
108 <p> |
108 <p> |
109 Private slot to handle the activation of an entry. |
109 Private slot to handle the activation of an entry. |
110 </p><dl> |
110 </p><dl> |
111 <dt><i>idx</i></dt> |
111 <dt><i>idx</i></dt> |
112 <dd> |
112 <dd> |
113 reference to the entry index (QModelIndex) |
113 reference to the entry index (QModelIndex) |
114 </dd> |
114 </dd> |
115 </dl><a NAME="HistoryDialog.__copyHistory" ID="HistoryDialog.__copyHistory"></a> |
115 </dl><a NAME="HistoryDialog.__copyHistory" ID="HistoryDialog.__copyHistory"></a> |
116 <h4>HistoryDialog.__copyHistory</h4> |
116 <h4>HistoryDialog.__copyHistory</h4> |
117 <b>__copyHistory</b>(<i></i>) |
117 <b>__copyHistory</b>(<i></i>) |
118 <p> |
118 <p> |
119 Private slot to copy a history entry's URL to the clipboard. |
119 Private slot to copy a history entry's URL to the clipboard. |
120 </p><a NAME="HistoryDialog.__customContextMenuRequested" ID="HistoryDialog.__customContextMenuRequested"></a> |
120 </p><a NAME="HistoryDialog.__customContextMenuRequested" ID="HistoryDialog.__customContextMenuRequested"></a> |
121 <h4>HistoryDialog.__customContextMenuRequested</h4> |
121 <h4>HistoryDialog.__customContextMenuRequested</h4> |
122 <b>__customContextMenuRequested</b>(<i>pos</i>) |
122 <b>__customContextMenuRequested</b>(<i>pos</i>) |
123 <p> |
123 <p> |
124 Private slot to handle the context menu request for the bookmarks tree. |
124 Private slot to handle the context menu request for the bookmarks tree. |
125 </p><dl> |
125 </p><dl> |
126 <dt><i>pos</i></dt> |
126 <dt><i>pos</i></dt> |
127 <dd> |
127 <dd> |
128 position the context menu was requested (QPoint) |
128 position the context menu was requested (QPoint) |
129 </dd> |
129 </dd> |
130 </dl><a NAME="HistoryDialog.__modelReset" ID="HistoryDialog.__modelReset"></a> |
130 </dl><a NAME="HistoryDialog.__modelReset" ID="HistoryDialog.__modelReset"></a> |
131 <h4>HistoryDialog.__modelReset</h4> |
131 <h4>HistoryDialog.__modelReset</h4> |
132 <b>__modelReset</b>(<i></i>) |
132 <b>__modelReset</b>(<i></i>) |
133 <p> |
133 <p> |
134 Private slot handling a reset of the tree view's model. |
134 Private slot handling a reset of the tree view's model. |
135 </p><a NAME="HistoryDialog.__openHistory" ID="HistoryDialog.__openHistory"></a> |
135 </p><a NAME="HistoryDialog.__openHistory" ID="HistoryDialog.__openHistory"></a> |
136 <h4>HistoryDialog.__openHistory</h4> |
136 <h4>HistoryDialog.__openHistory</h4> |
137 <b>__openHistory</b>(<i>newTab</i>) |
137 <b>__openHistory</b>(<i>newTab</i>) |
138 <p> |
138 <p> |
139 Private method to open a history entry. |
139 Private method to open a history entry. |
140 </p><dl> |
140 </p><dl> |
141 <dt><i>newTab</i></dt> |
141 <dt><i>newTab</i></dt> |
142 <dd> |
142 <dd> |
143 flag indicating to open the history entry in a new tab (boolean) |
143 flag indicating to open the history entry in a new tab (boolean) |
144 </dd> |
144 </dd> |
145 </dl><a NAME="HistoryDialog.__openHistoryInCurrentTab" ID="HistoryDialog.__openHistoryInCurrentTab"></a> |
145 </dl><a NAME="HistoryDialog.__openHistoryInCurrentTab" ID="HistoryDialog.__openHistoryInCurrentTab"></a> |
146 <h4>HistoryDialog.__openHistoryInCurrentTab</h4> |
146 <h4>HistoryDialog.__openHistoryInCurrentTab</h4> |
147 <b>__openHistoryInCurrentTab</b>(<i></i>) |
147 <b>__openHistoryInCurrentTab</b>(<i></i>) |
148 <p> |
148 <p> |
149 Private slot to open a history entry in the current browser tab. |
149 Private slot to open a history entry in the current browser tab. |
150 </p><a NAME="HistoryDialog.__openHistoryInNewTab" ID="HistoryDialog.__openHistoryInNewTab"></a> |
150 </p><a NAME="HistoryDialog.__openHistoryInNewTab" ID="HistoryDialog.__openHistoryInNewTab"></a> |
151 <h4>HistoryDialog.__openHistoryInNewTab</h4> |
151 <h4>HistoryDialog.__openHistoryInNewTab</h4> |
152 <b>__openHistoryInNewTab</b>(<i></i>) |
152 <b>__openHistoryInNewTab</b>(<i></i>) |
153 <p> |
153 <p> |
154 Private slot to open a history entry in a new browser tab. |
154 Private slot to open a history entry in a new browser tab. |
155 </p> |
155 </p> |
156 <div align="right"><a href="#top">Up</a></div> |
156 <div align="right"><a href="#top">Up</a></div> |
157 <hr /> |
157 <hr /> |
158 </body></html> |
158 </body></html> |