|
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.QScintilla.ShellHistoryDialog</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.QScintilla.ShellHistoryDialog</h1> |
|
12 <p> |
|
13 Module implementing the shell history dialog. |
|
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="#ShellHistoryDialog">ShellHistoryDialog</a></td> |
|
23 <td>Class implementing the shell history dialog.</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="ShellHistoryDialog" ID="ShellHistoryDialog"></a> |
|
32 <h2>ShellHistoryDialog</h2> |
|
33 <p> |
|
34 Class implementing the shell history dialog. |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 QDialog, Ui_ShellHistoryDialog |
|
38 <h3>Class Attributes</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <h3>Methods</h3> |
|
43 <table> |
|
44 <tr> |
|
45 <td><a href="#ShellHistoryDialog.__init__">ShellHistoryDialog</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#ShellHistoryDialog.getHistory">getHistory</a></td> |
|
49 <td>Public method to retrieve the history from the dialog.</td> |
|
50 </tr><tr> |
|
51 <td><a href="#ShellHistoryDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> |
|
52 <td>Private slot to copy the selected entries to the current editor.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#ShellHistoryDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
55 <td>Private slot to delete the selected entries from the history.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#ShellHistoryDialog.on_executeButton_clicked">on_executeButton_clicked</a></td> |
|
58 <td>Private slot to execute the selected entries in the shell.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#ShellHistoryDialog.on_historyList_itemDoubleClicked">on_historyList_itemDoubleClicked</a></td> |
|
61 <td>Private slot to handle a double click of an item.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#ShellHistoryDialog.on_historyList_itemSelectionChanged">on_historyList_itemSelectionChanged</a></td> |
|
64 <td>Private slot to handle a change of the selection.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#ShellHistoryDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td> |
|
67 <td>Private slot to reload the history.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <a NAME="ShellHistoryDialog.__init__" ID="ShellHistoryDialog.__init__"></a> |
|
71 <h4>ShellHistoryDialog (Constructor)</h4> |
|
72 <b>ShellHistoryDialog</b>(<i>history, vm, shell</i>) |
|
73 <p> |
|
74 Constructor |
|
75 </p><dl> |
|
76 <dt><i>history</i></dt> |
|
77 <dd> |
|
78 reference to the current shell history (list of strings) |
|
79 </dd><dt><i>vm</i></dt> |
|
80 <dd> |
|
81 reference to the viewmanager object |
|
82 </dd><dt><i>shell</i></dt> |
|
83 <dd> |
|
84 reference to the shell object |
|
85 </dd> |
|
86 </dl><a NAME="ShellHistoryDialog.getHistory" ID="ShellHistoryDialog.getHistory"></a> |
|
87 <h4>ShellHistoryDialog.getHistory</h4> |
|
88 <b>getHistory</b>(<i></i>) |
|
89 <p> |
|
90 Public method to retrieve the history from the dialog. |
|
91 </p><dl> |
|
92 <dt>Returns:</dt> |
|
93 <dd> |
|
94 list of history entries (list of strings) |
|
95 </dd> |
|
96 </dl><a NAME="ShellHistoryDialog.on_copyButton_clicked" ID="ShellHistoryDialog.on_copyButton_clicked"></a> |
|
97 <h4>ShellHistoryDialog.on_copyButton_clicked</h4> |
|
98 <b>on_copyButton_clicked</b>(<i></i>) |
|
99 <p> |
|
100 Private slot to copy the selected entries to the current editor. |
|
101 </p><a NAME="ShellHistoryDialog.on_deleteButton_clicked" ID="ShellHistoryDialog.on_deleteButton_clicked"></a> |
|
102 <h4>ShellHistoryDialog.on_deleteButton_clicked</h4> |
|
103 <b>on_deleteButton_clicked</b>(<i></i>) |
|
104 <p> |
|
105 Private slot to delete the selected entries from the history. |
|
106 </p><a NAME="ShellHistoryDialog.on_executeButton_clicked" ID="ShellHistoryDialog.on_executeButton_clicked"></a> |
|
107 <h4>ShellHistoryDialog.on_executeButton_clicked</h4> |
|
108 <b>on_executeButton_clicked</b>(<i></i>) |
|
109 <p> |
|
110 Private slot to execute the selected entries in the shell. |
|
111 </p><a NAME="ShellHistoryDialog.on_historyList_itemDoubleClicked" ID="ShellHistoryDialog.on_historyList_itemDoubleClicked"></a> |
|
112 <h4>ShellHistoryDialog.on_historyList_itemDoubleClicked</h4> |
|
113 <b>on_historyList_itemDoubleClicked</b>(<i>item</i>) |
|
114 <p> |
|
115 Private slot to handle a double click of an item. |
|
116 </p><dl> |
|
117 <dt><i>item</i></dt> |
|
118 <dd> |
|
119 reference to the item that was double clicked (QListWidgetItem) |
|
120 </dd> |
|
121 </dl><a NAME="ShellHistoryDialog.on_historyList_itemSelectionChanged" ID="ShellHistoryDialog.on_historyList_itemSelectionChanged"></a> |
|
122 <h4>ShellHistoryDialog.on_historyList_itemSelectionChanged</h4> |
|
123 <b>on_historyList_itemSelectionChanged</b>(<i></i>) |
|
124 <p> |
|
125 Private slot to handle a change of the selection. |
|
126 </p><a NAME="ShellHistoryDialog.on_reloadButton_clicked" ID="ShellHistoryDialog.on_reloadButton_clicked"></a> |
|
127 <h4>ShellHistoryDialog.on_reloadButton_clicked</h4> |
|
128 <b>on_reloadButton_clicked</b>(<i></i>) |
|
129 <p> |
|
130 Private slot to reload the history. |
|
131 </p> |
|
132 <div align="right"><a href="#top">Up</a></div> |
|
133 <hr /> |
|
134 </body></html> |