Documentation/Source/eric5.QScintilla.ShellHistoryDialog.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.QScintilla.ShellHistoryDialog</h1> 23 <h1>eric5.QScintilla.ShellHistoryDialog</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#104;&#101;&#108;&#108; &#104;&#105;&#115;&#116;&#111;&#114;y &#100;&#105;&#97;&#108;&#111;&#103;. 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>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#104;&#101;&#108;&#108; &#104;&#105;&#115;&#116;&#111;&#114;y &#100;&#105;&#97;&#108;&#111;&#103;.</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 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#104;&#101;&#108;&#108; &#104;&#105;&#115;&#116;&#111;&#114;y &#100;&#105;&#97;&#108;&#111;&#103;. 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>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</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>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#112;y &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#101;&#100;&#105;&#116;&#111;&#114;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#101;&#108;&#101;&#116;&#101; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#101;&#99;&#117;&#116;&#101; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#105;&#110; &#116;&#104;&#101; &#115;&#104;&#101;&#108;&#108;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#100;&#111;&#117;&#98;&#108;&#101; &#99;&#108;&#105;&#99;&#107; &#111;&#102; &#97;&#110; &#105;&#116;&#101;&#109;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;.</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>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#108;&#111;&#97;&#100; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y.</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 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#115;&#104;&#101;&#108;&#108; &#104;&#105;&#115;&#116;&#111;&#114;y (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#105;&#101;w&#109;&#97;&#110;&#97;&#103;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116; 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#104;&#101;&#108;&#108; &#111;&#98;&#106;&#101;&#99;&#116; 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;. 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 &#108;&#105;&#115;&#116; &#111;&#102; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#111;&#112;y &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#101;&#100;&#105;&#116;&#111;&#114;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#101;&#108;&#101;&#116;&#101; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#101;x&#101;&#99;&#117;&#116;&#101; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#105;&#110; &#116;&#104;&#101; &#115;&#104;&#101;&#108;&#108;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#100;&#111;&#117;&#98;&#108;&#101; &#99;&#108;&#105;&#99;&#107; &#111;&#102; &#97;&#110; &#105;&#116;&#101;&#109;. 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 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#116;&#104;&#97;&#116; w&#97;&#115; &#100;&#111;&#117;&#98;&#108;&#101; &#99;&#108;&#105;&#99;&#107;&#101;&#100; (&#81;&#76;&#105;&#115;&#116;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;. 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 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#108;&#111;&#97;&#100; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y. 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>

eric ide

mercurial