Documentation/Source/eric4.QScintilla.ShellHistoryDialog.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
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>eric4.QScintilla.ShellHistoryDialog</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.QScintilla.ShellHistoryDialog</h1>
24 <p>
25 Module implementing the shell history dialog.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#ShellHistoryDialog">ShellHistoryDialog</a></td>
35 <td>Class implementing the shell history dialog.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="ShellHistoryDialog" ID="ShellHistoryDialog"></a>
44 <h2>ShellHistoryDialog</h2>
45 <p>
46 Class implementing the shell history dialog.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_ShellHistoryDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#ShellHistoryDialog.__init__">ShellHistoryDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#ShellHistoryDialog.getHistory">getHistory</a></td>
61 <td>Public method to retrieve the history from the dialog.</td>
62 </tr><tr>
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>
65 </tr><tr>
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>
68 </tr><tr>
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>
71 </tr><tr>
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>
74 </tr><tr>
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>
77 </tr><tr>
78 <td><a href="#ShellHistoryDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td>
79 <td>Private slot to reload the history.</td>
80 </tr>
81 </table>
82 <a NAME="ShellHistoryDialog.__init__" ID="ShellHistoryDialog.__init__"></a>
83 <h4>ShellHistoryDialog (Constructor)</h4>
84 <b>ShellHistoryDialog</b>(<i>history, vm, shell</i>)
85 <p>
86 Constructor
87 </p><dl>
88 <dt><i>history</i></dt>
89 <dd>
90 reference to the current shell history (list of strings)
91 </dd><dt><i>vm</i></dt>
92 <dd>
93 reference to the viewmanager object
94 </dd><dt><i>shell</i></dt>
95 <dd>
96 reference to the shell object
97 </dd>
98 </dl><a NAME="ShellHistoryDialog.getHistory" ID="ShellHistoryDialog.getHistory"></a>
99 <h4>ShellHistoryDialog.getHistory</h4>
100 <b>getHistory</b>(<i></i>)
101 <p>
102 Public method to retrieve the history from the dialog.
103 </p><dl>
104 <dt>Returns:</dt>
105 <dd>
106 list of history entries (list of strings)
107 </dd>
108 </dl><a NAME="ShellHistoryDialog.on_copyButton_clicked" ID="ShellHistoryDialog.on_copyButton_clicked"></a>
109 <h4>ShellHistoryDialog.on_copyButton_clicked</h4>
110 <b>on_copyButton_clicked</b>(<i></i>)
111 <p>
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>
114 <h4>ShellHistoryDialog.on_deleteButton_clicked</h4>
115 <b>on_deleteButton_clicked</b>(<i></i>)
116 <p>
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>
119 <h4>ShellHistoryDialog.on_executeButton_clicked</h4>
120 <b>on_executeButton_clicked</b>(<i></i>)
121 <p>
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>
124 <h4>ShellHistoryDialog.on_historyList_itemDoubleClicked</h4>
125 <b>on_historyList_itemDoubleClicked</b>(<i>item</i>)
126 <p>
127 Private slot to handle a double click of an item.
128 </p><dl>
129 <dt><i>item</i></dt>
130 <dd>
131 reference to the item that was double clicked (QListWidgetItem)
132 </dd>
133 </dl><a NAME="ShellHistoryDialog.on_historyList_itemSelectionChanged" ID="ShellHistoryDialog.on_historyList_itemSelectionChanged"></a>
134 <h4>ShellHistoryDialog.on_historyList_itemSelectionChanged</h4>
135 <b>on_historyList_itemSelectionChanged</b>(<i></i>)
136 <p>
137 Private slot to handle a change of the selection.
138 </p><a NAME="ShellHistoryDialog.on_reloadButton_clicked" ID="ShellHistoryDialog.on_reloadButton_clicked"></a>
139 <h4>ShellHistoryDialog.on_reloadButton_clicked</h4>
140 <b>on_reloadButton_clicked</b>(<i></i>)
141 <p>
142 Private slot to reload the history.
143 </p>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial