16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.QScintilla.ShellHistoryDialog</h1> |
23 <h1>eric6.QScintilla.ShellHistoryDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the shell history dialog. |
26 Module implementing the shell history dialog. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#ShellHistoryDialog">ShellHistoryDialog</a></td> |
38 <td><a href="#ShellHistoryDialog">ShellHistoryDialog</a></td> |
34 <td>Class implementing the shell history dialog.</td> |
39 <td>Class implementing the shell history dialog.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="ShellHistoryDialog" ID="ShellHistoryDialog"></a> |
49 <a NAME="ShellHistoryDialog" ID="ShellHistoryDialog"></a> |
43 <h2>ShellHistoryDialog</h2> |
50 <h2>ShellHistoryDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the shell history dialog. |
53 Class implementing the shell history dialog. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_ShellHistoryDialog |
56 QDialog, Ui_ShellHistoryDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#ShellHistoryDialog.__init__">ShellHistoryDialog</a></td> |
72 <td><a href="#ShellHistoryDialog.__init__">ShellHistoryDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#ShellHistoryDialog.getHistory">getHistory</a></td> |
76 <td><a href="#ShellHistoryDialog.getHistory">getHistory</a></td> |
64 <td>Public method to retrieve the history from the dialog.</td> |
77 <td>Public method to retrieve the history from the dialog.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#ShellHistoryDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> |
80 <td><a href="#ShellHistoryDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> |
67 <td>Private slot to copy the selected entries to the current editor.</td> |
81 <td>Private slot to copy the selected entries to the current editor.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#ShellHistoryDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
84 <td><a href="#ShellHistoryDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
70 <td>Private slot to delete the selected entries from the history.</td> |
85 <td>Private slot to delete the selected entries from the history.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#ShellHistoryDialog.on_executeButton_clicked">on_executeButton_clicked</a></td> |
88 <td><a href="#ShellHistoryDialog.on_executeButton_clicked">on_executeButton_clicked</a></td> |
73 <td>Private slot to execute the selected entries in the shell.</td> |
89 <td>Private slot to execute the selected entries in the shell.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#ShellHistoryDialog.on_historyList_itemDoubleClicked">on_historyList_itemDoubleClicked</a></td> |
92 <td><a href="#ShellHistoryDialog.on_historyList_itemDoubleClicked">on_historyList_itemDoubleClicked</a></td> |
76 <td>Private slot to handle a double click of an item.</td> |
93 <td>Private slot to handle a double click of an item.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#ShellHistoryDialog.on_historyList_itemSelectionChanged">on_historyList_itemSelectionChanged</a></td> |
96 <td><a href="#ShellHistoryDialog.on_historyList_itemSelectionChanged">on_historyList_itemSelectionChanged</a></td> |
79 <td>Private slot to handle a change of the selection.</td> |
97 <td>Private slot to handle a change of the selection.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#ShellHistoryDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td> |
100 <td><a href="#ShellHistoryDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td> |
82 <td>Private slot to reload the history.</td> |
101 <td>Private slot to reload the history.</td> |
83 </tr> |
102 </tr> |
84 </table> |
103 </table> |
85 <h3>Static Methods</h3> |
104 <h3>Static Methods</h3> |
86 <table> |
105 |
87 <tr><td>None</td></tr> |
106 <table> |
88 </table> |
107 <tr><td>None</td></tr> |
|
108 </table> |
|
109 |
89 <a NAME="ShellHistoryDialog.__init__" ID="ShellHistoryDialog.__init__"></a> |
110 <a NAME="ShellHistoryDialog.__init__" ID="ShellHistoryDialog.__init__"></a> |
90 <h4>ShellHistoryDialog (Constructor)</h4> |
111 <h4>ShellHistoryDialog (Constructor)</h4> |
91 <b>ShellHistoryDialog</b>(<i>history, vm, shell</i>) |
112 <b>ShellHistoryDialog</b>(<i>history, vm, shell</i>) |
|
113 |
92 <p> |
114 <p> |
93 Constructor |
115 Constructor |
94 </p><dl> |
116 </p> |
|
117 <dl> |
|
118 |
95 <dt><i>history</i> (list of str)</dt> |
119 <dt><i>history</i> (list of str)</dt> |
96 <dd> |
120 <dd> |
97 reference to the current shell history |
121 reference to the current shell history |
98 </dd><dt><i>vm</i> (ViewManager)</dt> |
122 </dd> |
|
123 <dt><i>vm</i> (ViewManager)</dt> |
99 <dd> |
124 <dd> |
100 reference to the viewmanager object |
125 reference to the viewmanager object |
101 </dd><dt><i>shell</i> (Shell)</dt> |
126 </dd> |
|
127 <dt><i>shell</i> (Shell)</dt> |
102 <dd> |
128 <dd> |
103 reference to the shell object |
129 reference to the shell object |
104 </dd> |
130 </dd> |
105 </dl><a NAME="ShellHistoryDialog.getHistory" ID="ShellHistoryDialog.getHistory"></a> |
131 </dl> |
|
132 <a NAME="ShellHistoryDialog.getHistory" ID="ShellHistoryDialog.getHistory"></a> |
106 <h4>ShellHistoryDialog.getHistory</h4> |
133 <h4>ShellHistoryDialog.getHistory</h4> |
107 <b>getHistory</b>(<i></i>) |
134 <b>getHistory</b>(<i></i>) |
|
135 |
108 <p> |
136 <p> |
109 Public method to retrieve the history from the dialog. |
137 Public method to retrieve the history from the dialog. |
110 </p><dl> |
138 </p> |
|
139 <dl> |
111 <dt>Returns:</dt> |
140 <dt>Returns:</dt> |
112 <dd> |
141 <dd> |
113 tuple containing the list of history entries and the |
142 tuple containing the list of history entries and the |
114 current row |
143 current row |
115 </dd> |
144 </dd> |
116 </dl><dl> |
145 </dl> |
|
146 <dl> |
117 <dt>Return Type:</dt> |
147 <dt>Return Type:</dt> |
118 <dd> |
148 <dd> |
119 tuple of (list of str, int) |
149 tuple of (list of str, int) |
120 </dd> |
150 </dd> |
121 </dl><a NAME="ShellHistoryDialog.on_copyButton_clicked" ID="ShellHistoryDialog.on_copyButton_clicked"></a> |
151 </dl> |
|
152 <a NAME="ShellHistoryDialog.on_copyButton_clicked" ID="ShellHistoryDialog.on_copyButton_clicked"></a> |
122 <h4>ShellHistoryDialog.on_copyButton_clicked</h4> |
153 <h4>ShellHistoryDialog.on_copyButton_clicked</h4> |
123 <b>on_copyButton_clicked</b>(<i></i>) |
154 <b>on_copyButton_clicked</b>(<i></i>) |
|
155 |
124 <p> |
156 <p> |
125 Private slot to copy the selected entries to the current editor. |
157 Private slot to copy the selected entries to the current editor. |
126 </p><a NAME="ShellHistoryDialog.on_deleteButton_clicked" ID="ShellHistoryDialog.on_deleteButton_clicked"></a> |
158 </p> |
|
159 <a NAME="ShellHistoryDialog.on_deleteButton_clicked" ID="ShellHistoryDialog.on_deleteButton_clicked"></a> |
127 <h4>ShellHistoryDialog.on_deleteButton_clicked</h4> |
160 <h4>ShellHistoryDialog.on_deleteButton_clicked</h4> |
128 <b>on_deleteButton_clicked</b>(<i></i>) |
161 <b>on_deleteButton_clicked</b>(<i></i>) |
|
162 |
129 <p> |
163 <p> |
130 Private slot to delete the selected entries from the history. |
164 Private slot to delete the selected entries from the history. |
131 </p><a NAME="ShellHistoryDialog.on_executeButton_clicked" ID="ShellHistoryDialog.on_executeButton_clicked"></a> |
165 </p> |
|
166 <a NAME="ShellHistoryDialog.on_executeButton_clicked" ID="ShellHistoryDialog.on_executeButton_clicked"></a> |
132 <h4>ShellHistoryDialog.on_executeButton_clicked</h4> |
167 <h4>ShellHistoryDialog.on_executeButton_clicked</h4> |
133 <b>on_executeButton_clicked</b>(<i></i>) |
168 <b>on_executeButton_clicked</b>(<i></i>) |
|
169 |
134 <p> |
170 <p> |
135 Private slot to execute the selected entries in the shell. |
171 Private slot to execute the selected entries in the shell. |
136 </p><a NAME="ShellHistoryDialog.on_historyList_itemDoubleClicked" ID="ShellHistoryDialog.on_historyList_itemDoubleClicked"></a> |
172 </p> |
|
173 <a NAME="ShellHistoryDialog.on_historyList_itemDoubleClicked" ID="ShellHistoryDialog.on_historyList_itemDoubleClicked"></a> |
137 <h4>ShellHistoryDialog.on_historyList_itemDoubleClicked</h4> |
174 <h4>ShellHistoryDialog.on_historyList_itemDoubleClicked</h4> |
138 <b>on_historyList_itemDoubleClicked</b>(<i>item</i>) |
175 <b>on_historyList_itemDoubleClicked</b>(<i>item</i>) |
|
176 |
139 <p> |
177 <p> |
140 Private slot to handle a double click of an item. |
178 Private slot to handle a double click of an item. |
141 </p><dl> |
179 </p> |
|
180 <dl> |
|
181 |
142 <dt><i>item</i></dt> |
182 <dt><i>item</i></dt> |
143 <dd> |
183 <dd> |
144 reference to the item that was double clicked |
184 reference to the item that was double clicked |
145 (QListWidgetItem) |
185 (QListWidgetItem) |
146 </dd> |
186 </dd> |
147 </dl><a NAME="ShellHistoryDialog.on_historyList_itemSelectionChanged" ID="ShellHistoryDialog.on_historyList_itemSelectionChanged"></a> |
187 </dl> |
|
188 <a NAME="ShellHistoryDialog.on_historyList_itemSelectionChanged" ID="ShellHistoryDialog.on_historyList_itemSelectionChanged"></a> |
148 <h4>ShellHistoryDialog.on_historyList_itemSelectionChanged</h4> |
189 <h4>ShellHistoryDialog.on_historyList_itemSelectionChanged</h4> |
149 <b>on_historyList_itemSelectionChanged</b>(<i></i>) |
190 <b>on_historyList_itemSelectionChanged</b>(<i></i>) |
|
191 |
150 <p> |
192 <p> |
151 Private slot to handle a change of the selection. |
193 Private slot to handle a change of the selection. |
152 </p><a NAME="ShellHistoryDialog.on_reloadButton_clicked" ID="ShellHistoryDialog.on_reloadButton_clicked"></a> |
194 </p> |
|
195 <a NAME="ShellHistoryDialog.on_reloadButton_clicked" ID="ShellHistoryDialog.on_reloadButton_clicked"></a> |
153 <h4>ShellHistoryDialog.on_reloadButton_clicked</h4> |
196 <h4>ShellHistoryDialog.on_reloadButton_clicked</h4> |
154 <b>on_reloadButton_clicked</b>(<i></i>) |
197 <b>on_reloadButton_clicked</b>(<i></i>) |
|
198 |
155 <p> |
199 <p> |
156 Private slot to reload the history. |
200 Private slot to reload the history. |
157 </p> |
201 </p> |
158 <div align="right"><a href="#top">Up</a></div> |
202 <div align="right"><a href="#top">Up</a></div> |
159 <hr /> |
203 <hr /> |