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