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

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
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 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y. 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>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y.</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 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y. 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 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#85;&#82;&#76; &#105;&#110; &#97; &#110;&#101;w &#116;&#97;&#98; 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 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#85;&#82;&#76; &#105;&#110; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; 54 emitted to open a URL in the current
55 &#116;&#97;&#98; 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>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#112;y &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y'&#115; &#85;&#82;&#76; &#116;&#111; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;&#115; &#116;&#114;&#101;&#101;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#114;&#101;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#116;&#114;&#101;&#101; v&#105;&#101;w'&#115; &#109;&#111;&#100;&#101;&#108;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#98;&#114;&#111;w&#115;&#101;&#114; &#116;&#97;&#98;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#105;&#110; &#97; &#110;&#101;w &#98;&#114;&#111;w&#115;&#101;&#114; &#116;&#97;&#98;.</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 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116; 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#97;&#110;&#97;&#103;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116; (&#72;&#105;&#115;&#116;&#111;&#114;y&#77;&#97;&#110;&#97;&#103;&#101;&#114;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#99;&#116;&#105;v&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y. 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#112;y &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y'&#115; &#85;&#82;&#76; &#116;&#111; &#116;&#104;&#101; &#99;&#108;&#105;&#112;&#98;&#111;&#97;&#114;&#100;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; &#114;&#101;&#113;&#117;&#101;&#115;&#116; &#102;&#111;&#114; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;&#115; &#116;&#114;&#101;&#101;. 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 &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117; w&#97;&#115; &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; (&#81;&#80;&#111;&#105;&#110;&#116;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#114;&#101;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#116;&#114;&#101;&#101; v&#105;&#101;w'&#115; &#109;&#111;&#100;&#101;&#108;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y. 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 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#111;&#112;&#101;&#110; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#105;&#110; &#97; &#110;&#101;w &#116;&#97;&#98; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#105;&#110; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#98;&#114;&#111;w&#115;&#101;&#114; &#116;&#97;&#98;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#105;&#110; &#97; &#110;&#101;w &#98;&#114;&#111;w&#115;&#101;&#114; &#116;&#97;&#98;. 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>

eric ide

mercurial