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

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Helpviewer.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.Helpviewer.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>newUrl(QUrl, str)</dt>
49 <dd>
50 emitted to open a URL in a new tab
51 </dd><dt>openUrl(QUrl, str)</dt>
52 <dd>
53 emitted to open a URL in the current tab
54 </dd>
55 </dl>
56 <h3>Derived from</h3>
57 QDialog, Ui_HistoryDialog
58 <h3>Class Attributes</h3>
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63 <table>
64 <tr><td>None</td></tr>
65 </table>
66 <h3>Methods</h3>
67 <table>
68 <tr>
69 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td>
70 <td>Constructor</td>
71 </tr><tr>
72 <td><a href="#HistoryDialog.__activated">__activated</a></td>
73 <td>Private slot to handle the activation of an entry.</td>
74 </tr><tr>
75 <td><a href="#HistoryDialog.__copyHistory">__copyHistory</a></td>
76 <td>Private slot to copy a history entry's URL to the clipboard.</td>
77 </tr><tr>
78 <td><a href="#HistoryDialog.__customContextMenuRequested">__customContextMenuRequested</a></td>
79 <td>Private slot to handle the context menu request for the bookmarks tree.</td>
80 </tr><tr>
81 <td><a href="#HistoryDialog.__modelReset">__modelReset</a></td>
82 <td>Private slot handling a reset of the tree view's model.</td>
83 </tr><tr>
84 <td><a href="#HistoryDialog.__openHistory">__openHistory</a></td>
85 <td>Private method to open a history entry.</td>
86 </tr><tr>
87 <td><a href="#HistoryDialog.__openHistoryInCurrentTab">__openHistoryInCurrentTab</a></td>
88 <td>Private slot to open a history entry in the current browser tab.</td>
89 </tr><tr>
90 <td><a href="#HistoryDialog.__openHistoryInNewTab">__openHistoryInNewTab</a></td>
91 <td>Private slot to open a history entry in a new browser tab.</td>
92 </tr>
93 </table>
94 <h3>Static Methods</h3>
95 <table>
96 <tr><td>None</td></tr>
97 </table>
98 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a>
99 <h4>HistoryDialog (Constructor)</h4>
100 <b>HistoryDialog</b>(<i>parent=None, manager=None</i>)
101 <p>
102 Constructor
103 </p><dl>
104 <dt><i>parent</i></dt>
105 <dd>
106 reference to the parent widget (QWidget
107 </dd><dt><i>manager</i></dt>
108 <dd>
109 reference to the history manager object (HistoryManager)
110 </dd>
111 </dl><a NAME="HistoryDialog.__activated" ID="HistoryDialog.__activated"></a>
112 <h4>HistoryDialog.__activated</h4>
113 <b>__activated</b>(<i>idx</i>)
114 <p>
115 Private slot to handle the activation of an entry.
116 </p><dl>
117 <dt><i>idx</i></dt>
118 <dd>
119 reference to the entry index (QModelIndex)
120 </dd>
121 </dl><a NAME="HistoryDialog.__copyHistory" ID="HistoryDialog.__copyHistory"></a>
122 <h4>HistoryDialog.__copyHistory</h4>
123 <b>__copyHistory</b>(<i></i>)
124 <p>
125 Private slot to copy a history entry's URL to the clipboard.
126 </p><a NAME="HistoryDialog.__customContextMenuRequested" ID="HistoryDialog.__customContextMenuRequested"></a>
127 <h4>HistoryDialog.__customContextMenuRequested</h4>
128 <b>__customContextMenuRequested</b>(<i>pos</i>)
129 <p>
130 Private slot to handle the context menu request for the bookmarks tree.
131 </p><dl>
132 <dt><i>pos</i></dt>
133 <dd>
134 position the context menu was requested (QPoint)
135 </dd>
136 </dl><a NAME="HistoryDialog.__modelReset" ID="HistoryDialog.__modelReset"></a>
137 <h4>HistoryDialog.__modelReset</h4>
138 <b>__modelReset</b>(<i></i>)
139 <p>
140 Private slot handling a reset of the tree view's model.
141 </p><a NAME="HistoryDialog.__openHistory" ID="HistoryDialog.__openHistory"></a>
142 <h4>HistoryDialog.__openHistory</h4>
143 <b>__openHistory</b>(<i>newTab</i>)
144 <p>
145 Private method to open a history entry.
146 </p><dl>
147 <dt><i>newTab</i></dt>
148 <dd>
149 flag indicating to open the history entry in a new tab
150 (boolean)
151 </dd>
152 </dl><a NAME="HistoryDialog.__openHistoryInCurrentTab" ID="HistoryDialog.__openHistoryInCurrentTab"></a>
153 <h4>HistoryDialog.__openHistoryInCurrentTab</h4>
154 <b>__openHistoryInCurrentTab</b>(<i></i>)
155 <p>
156 Private slot to open a history entry in the current browser tab.
157 </p><a NAME="HistoryDialog.__openHistoryInNewTab" ID="HistoryDialog.__openHistoryInNewTab"></a>
158 <h4>HistoryDialog.__openHistoryInNewTab</h4>
159 <b>__openHistoryInNewTab</b>(<i></i>)
160 <p>
161 Private slot to open a history entry in a new browser tab.
162 </p>
163 <div align="right"><a href="#top">Up</a></div>
164 <hr />
165 </body></html>

eric ide

mercurial