eric6/Documentation/Source/eric6.QScintilla.ShellWindow.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7960
e8fc383322f7
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.ShellWindow</h1> 23 <h1>eric6.QScintilla.ShellWindow</h1>
24
23 <p> 25 <p>
24 Module implementing a stand alone shell window. 26 Module implementing a stand alone shell window.
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="#ShellWindow">ShellWindow</a></td> 38 <td><a href="#ShellWindow">ShellWindow</a></td>
34 <td>Class implementing a stand alone shell window.</td> 39 <td>Class implementing a stand alone shell window.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="ShellWindow" ID="ShellWindow"></a> 49 <a NAME="ShellWindow" ID="ShellWindow"></a>
43 <h2>ShellWindow</h2> 50 <h2>ShellWindow</h2>
51
44 <p> 52 <p>
45 Class implementing a stand alone shell window. 53 Class implementing a stand alone shell window.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 E5MainWindow 56 E5MainWindow
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="#ShellWindow.__init__">ShellWindow</a></td> 72 <td><a href="#ShellWindow.__init__">ShellWindow</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#ShellWindow.__about">__about</a></td> 76 <td><a href="#ShellWindow.__about">__about</a></td>
64 <td>Private slot to show a little About message.</td> 77 <td>Private slot to show a little About message.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#ShellWindow.__aboutQt">__aboutQt</a></td> 80 <td><a href="#ShellWindow.__aboutQt">__aboutQt</a></td>
67 <td>Private slot to handle the About Qt dialog.</td> 81 <td>Private slot to handle the About Qt dialog.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#ShellWindow.__createActions">__createActions</a></td> 84 <td><a href="#ShellWindow.__createActions">__createActions</a></td>
70 <td>Private method to create the actions.</td> 85 <td>Private method to create the actions.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#ShellWindow.__createEditActions">__createEditActions</a></td> 88 <td><a href="#ShellWindow.__createEditActions">__createEditActions</a></td>
73 <td>Private method defining the user interface actions for the edit commands.</td> 89 <td>Private method defining the user interface actions for the edit commands.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#ShellWindow.__createFileActions">__createFileActions</a></td> 92 <td><a href="#ShellWindow.__createFileActions">__createFileActions</a></td>
76 <td>Private method defining the user interface actions for the file commands.</td> 93 <td>Private method defining the user interface actions for the file commands.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#ShellWindow.__createHelpActions">__createHelpActions</a></td> 96 <td><a href="#ShellWindow.__createHelpActions">__createHelpActions</a></td>
79 <td>Private method to create the Help actions.</td> 97 <td>Private method to create the Help actions.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#ShellWindow.__createHistoryActions">__createHistoryActions</a></td> 100 <td><a href="#ShellWindow.__createHistoryActions">__createHistoryActions</a></td>
82 <td>Private method defining the user interface actions for the history commands.</td> 101 <td>Private method defining the user interface actions for the history commands.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#ShellWindow.__createMenus">__createMenus</a></td> 104 <td><a href="#ShellWindow.__createMenus">__createMenus</a></td>
85 <td>Private method to create the menus of the menu bar.</td> 105 <td>Private method to create the menus of the menu bar.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#ShellWindow.__createSearchActions">__createSearchActions</a></td> 108 <td><a href="#ShellWindow.__createSearchActions">__createSearchActions</a></td>
88 <td>Private method defining the user interface actions for the search commands.</td> 109 <td>Private method defining the user interface actions for the search commands.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#ShellWindow.__createStatusBar">__createStatusBar</a></td> 112 <td><a href="#ShellWindow.__createStatusBar">__createStatusBar</a></td>
91 <td>Private slot to set up the status bar.</td> 113 <td>Private slot to set up the status bar.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#ShellWindow.__createToolBars">__createToolBars</a></td> 116 <td><a href="#ShellWindow.__createToolBars">__createToolBars</a></td>
94 <td>Private method to create the various toolbars.</td> 117 <td>Private method to create the various toolbars.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#ShellWindow.__createViewActions">__createViewActions</a></td> 120 <td><a href="#ShellWindow.__createViewActions">__createViewActions</a></td>
97 <td>Private method defining the user interface actions for the view commands.</td> 121 <td>Private method defining the user interface actions for the view commands.</td>
98 </tr><tr> 122 </tr>
123 <tr>
99 <td><a href="#ShellWindow.__historyStyleChanged">__historyStyleChanged</a></td> 124 <td><a href="#ShellWindow.__historyStyleChanged">__historyStyleChanged</a></td>
100 <td>Private slot to handle a change of the shell history style.</td> 125 <td>Private slot to handle a change of the shell history style.</td>
101 </tr><tr> 126 </tr>
127 <tr>
102 <td><a href="#ShellWindow.__newWindow">__newWindow</a></td> 128 <td><a href="#ShellWindow.__newWindow">__newWindow</a></td>
103 <td>Private slot to start a new instance of eric6.</td> 129 <td>Private slot to start a new instance of eric6.</td>
104 </tr><tr> 130 </tr>
131 <tr>
105 <td><a href="#ShellWindow.__readSettings">__readSettings</a></td> 132 <td><a href="#ShellWindow.__readSettings">__readSettings</a></td>
106 <td>Private method to read the settings remembered last time.</td> 133 <td>Private method to read the settings remembered last time.</td>
107 </tr><tr> 134 </tr>
135 <tr>
108 <td><a href="#ShellWindow.__readShortcut">__readShortcut</a></td> 136 <td><a href="#ShellWindow.__readShortcut">__readShortcut</a></td>
109 <td>Private function to read a single keyboard shortcut from the settings.</td> 137 <td>Private function to read a single keyboard shortcut from the settings.</td>
110 </tr><tr> 138 </tr>
139 <tr>
111 <td><a href="#ShellWindow.__showFind">__showFind</a></td> 140 <td><a href="#ShellWindow.__showFind">__showFind</a></td>
112 <td>Private method to display the search widget.</td> 141 <td>Private method to display the search widget.</td>
113 </tr><tr> 142 </tr>
143 <tr>
114 <td><a href="#ShellWindow.__showStartMenu">__showStartMenu</a></td> 144 <td><a href="#ShellWindow.__showStartMenu">__showStartMenu</a></td>
115 <td>Private slot to prepare the language menu.</td> 145 <td>Private slot to prepare the language menu.</td>
116 </tr><tr> 146 </tr>
147 <tr>
117 <td><a href="#ShellWindow.__startShell">__startShell</a></td> 148 <td><a href="#ShellWindow.__startShell">__startShell</a></td>
118 <td>Private slot to start a shell according to the action triggered.</td> 149 <td>Private slot to start a shell according to the action triggered.</td>
119 </tr><tr> 150 </tr>
151 <tr>
120 <td><a href="#ShellWindow.__virtualEnvironmentChanged">__virtualEnvironmentChanged</a></td> 152 <td><a href="#ShellWindow.__virtualEnvironmentChanged">__virtualEnvironmentChanged</a></td>
121 <td>Private slot handling a change of the shell's virtual environment.</td> 153 <td>Private slot handling a change of the shell's virtual environment.</td>
122 </tr><tr> 154 </tr>
155 <tr>
123 <td><a href="#ShellWindow.__whatsThis">__whatsThis</a></td> 156 <td><a href="#ShellWindow.__whatsThis">__whatsThis</a></td>
124 <td>Private slot called in to enter Whats This mode.</td> 157 <td>Private slot called in to enter Whats This mode.</td>
125 </tr><tr> 158 </tr>
159 <tr>
126 <td><a href="#ShellWindow.__writeSettings">__writeSettings</a></td> 160 <td><a href="#ShellWindow.__writeSettings">__writeSettings</a></td>
127 <td>Private method to write the settings for reuse.</td> 161 <td>Private method to write the settings for reuse.</td>
128 </tr><tr> 162 </tr>
163 <tr>
129 <td><a href="#ShellWindow.__zoom">__zoom</a></td> 164 <td><a href="#ShellWindow.__zoom">__zoom</a></td>
130 <td>Private method to handle the zoom action.</td> 165 <td>Private method to handle the zoom action.</td>
131 </tr><tr> 166 </tr>
167 <tr>
132 <td><a href="#ShellWindow.__zoomIn">__zoomIn</a></td> 168 <td><a href="#ShellWindow.__zoomIn">__zoomIn</a></td>
133 <td>Private method to handle the zoom in action.</td> 169 <td>Private method to handle the zoom in action.</td>
134 </tr><tr> 170 </tr>
171 <tr>
135 <td><a href="#ShellWindow.__zoomOut">__zoomOut</a></td> 172 <td><a href="#ShellWindow.__zoomOut">__zoomOut</a></td>
136 <td>Private method to handle the zoom out action.</td> 173 <td>Private method to handle the zoom out action.</td>
137 </tr><tr> 174 </tr>
175 <tr>
138 <td><a href="#ShellWindow.__zoomReset">__zoomReset</a></td> 176 <td><a href="#ShellWindow.__zoomReset">__zoomReset</a></td>
139 <td>Private method to reset the zoom factor.</td> 177 <td>Private method to reset the zoom factor.</td>
140 </tr><tr> 178 </tr>
179 <tr>
141 <td><a href="#ShellWindow.__zoomTo">__zoomTo</a></td> 180 <td><a href="#ShellWindow.__zoomTo">__zoomTo</a></td>
142 <td>Private slot to zoom to a given value.</td> 181 <td>Private slot to zoom to a given value.</td>
143 </tr><tr> 182 </tr>
183 <tr>
144 <td><a href="#ShellWindow.__zoomValueChanged">__zoomValueChanged</a></td> 184 <td><a href="#ShellWindow.__zoomValueChanged">__zoomValueChanged</a></td>
145 <td>Private slot to handle changes of the zoom value.</td> 185 <td>Private slot to handle changes of the zoom value.</td>
146 </tr><tr> 186 </tr>
187 <tr>
147 <td><a href="#ShellWindow.activeWindow">activeWindow</a></td> 188 <td><a href="#ShellWindow.activeWindow">activeWindow</a></td>
148 <td>Public method to get a reference to the active shell.</td> 189 <td>Public method to get a reference to the active shell.</td>
149 </tr><tr> 190 </tr>
191 <tr>
150 <td><a href="#ShellWindow.closeEvent">closeEvent</a></td> 192 <td><a href="#ShellWindow.closeEvent">closeEvent</a></td>
151 <td>Protected method to handle the close event.</td> 193 <td>Protected method to handle the close event.</td>
152 </tr><tr> 194 </tr>
195 <tr>
153 <td><a href="#ShellWindow.getAPIsManager">getAPIsManager</a></td> 196 <td><a href="#ShellWindow.getAPIsManager">getAPIsManager</a></td>
154 <td>Public method to get a reference to the APIs manager.</td> 197 <td>Public method to get a reference to the APIs manager.</td>
155 </tr><tr> 198 </tr>
199 <tr>
156 <td><a href="#ShellWindow.quit">quit</a></td> 200 <td><a href="#ShellWindow.quit">quit</a></td>
157 <td>Public method to quit the application.</td> 201 <td>Public method to quit the application.</td>
158 </tr><tr> 202 </tr>
203 <tr>
159 <td><a href="#ShellWindow.showFind">showFind</a></td> 204 <td><a href="#ShellWindow.showFind">showFind</a></td>
160 <td>Public method to display the search widget.</td> 205 <td>Public method to display the search widget.</td>
161 </tr> 206 </tr>
162 </table> 207 </table>
163 <h3>Static Methods</h3> 208 <h3>Static Methods</h3>
209
164 <table> 210 <table>
165 <tr><td>None</td></tr> 211 <tr><td>None</td></tr>
166 </table> 212 </table>
213
167 <a NAME="ShellWindow.__init__" ID="ShellWindow.__init__"></a> 214 <a NAME="ShellWindow.__init__" ID="ShellWindow.__init__"></a>
168 <h4>ShellWindow (Constructor)</h4> 215 <h4>ShellWindow (Constructor)</h4>
169 <b>ShellWindow</b>(<i>originalPathString, parent=None, name=None</i>) 216 <b>ShellWindow</b>(<i>originalPathString, parent=None, name=None</i>)
217
170 <p> 218 <p>
171 Constructor 219 Constructor
172 </p><dl> 220 </p>
221 <dl>
222
173 <dt><i>originalPathString</i> (str)</dt> 223 <dt><i>originalPathString</i> (str)</dt>
174 <dd> 224 <dd>
175 original PATH environment variable 225 original PATH environment variable
176 </dd><dt><i>parent</i> (QWidget)</dt> 226 </dd>
227 <dt><i>parent</i> (QWidget)</dt>
177 <dd> 228 <dd>
178 reference to the parent widget 229 reference to the parent widget
179 </dd><dt><i>name</i> (str)</dt> 230 </dd>
231 <dt><i>name</i> (str)</dt>
180 <dd> 232 <dd>
181 object name of the window 233 object name of the window
182 </dd> 234 </dd>
183 </dl><a NAME="ShellWindow.__about" ID="ShellWindow.__about"></a> 235 </dl>
236 <a NAME="ShellWindow.__about" ID="ShellWindow.__about"></a>
184 <h4>ShellWindow.__about</h4> 237 <h4>ShellWindow.__about</h4>
185 <b>__about</b>(<i></i>) 238 <b>__about</b>(<i></i>)
239
186 <p> 240 <p>
187 Private slot to show a little About message. 241 Private slot to show a little About message.
188 </p><a NAME="ShellWindow.__aboutQt" ID="ShellWindow.__aboutQt"></a> 242 </p>
243 <a NAME="ShellWindow.__aboutQt" ID="ShellWindow.__aboutQt"></a>
189 <h4>ShellWindow.__aboutQt</h4> 244 <h4>ShellWindow.__aboutQt</h4>
190 <b>__aboutQt</b>(<i></i>) 245 <b>__aboutQt</b>(<i></i>)
246
191 <p> 247 <p>
192 Private slot to handle the About Qt dialog. 248 Private slot to handle the About Qt dialog.
193 </p><a NAME="ShellWindow.__createActions" ID="ShellWindow.__createActions"></a> 249 </p>
250 <a NAME="ShellWindow.__createActions" ID="ShellWindow.__createActions"></a>
194 <h4>ShellWindow.__createActions</h4> 251 <h4>ShellWindow.__createActions</h4>
195 <b>__createActions</b>(<i></i>) 252 <b>__createActions</b>(<i></i>)
253
196 <p> 254 <p>
197 Private method to create the actions. 255 Private method to create the actions.
198 </p><a NAME="ShellWindow.__createEditActions" ID="ShellWindow.__createEditActions"></a> 256 </p>
257 <a NAME="ShellWindow.__createEditActions" ID="ShellWindow.__createEditActions"></a>
199 <h4>ShellWindow.__createEditActions</h4> 258 <h4>ShellWindow.__createEditActions</h4>
200 <b>__createEditActions</b>(<i></i>) 259 <b>__createEditActions</b>(<i></i>)
260
201 <p> 261 <p>
202 Private method defining the user interface actions for the edit 262 Private method defining the user interface actions for the edit
203 commands. 263 commands.
204 </p><a NAME="ShellWindow.__createFileActions" ID="ShellWindow.__createFileActions"></a> 264 </p>
265 <a NAME="ShellWindow.__createFileActions" ID="ShellWindow.__createFileActions"></a>
205 <h4>ShellWindow.__createFileActions</h4> 266 <h4>ShellWindow.__createFileActions</h4>
206 <b>__createFileActions</b>(<i></i>) 267 <b>__createFileActions</b>(<i></i>)
268
207 <p> 269 <p>
208 Private method defining the user interface actions for the file 270 Private method defining the user interface actions for the file
209 commands. 271 commands.
210 </p><a NAME="ShellWindow.__createHelpActions" ID="ShellWindow.__createHelpActions"></a> 272 </p>
273 <a NAME="ShellWindow.__createHelpActions" ID="ShellWindow.__createHelpActions"></a>
211 <h4>ShellWindow.__createHelpActions</h4> 274 <h4>ShellWindow.__createHelpActions</h4>
212 <b>__createHelpActions</b>(<i></i>) 275 <b>__createHelpActions</b>(<i></i>)
276
213 <p> 277 <p>
214 Private method to create the Help actions. 278 Private method to create the Help actions.
215 </p><a NAME="ShellWindow.__createHistoryActions" ID="ShellWindow.__createHistoryActions"></a> 279 </p>
280 <a NAME="ShellWindow.__createHistoryActions" ID="ShellWindow.__createHistoryActions"></a>
216 <h4>ShellWindow.__createHistoryActions</h4> 281 <h4>ShellWindow.__createHistoryActions</h4>
217 <b>__createHistoryActions</b>(<i></i>) 282 <b>__createHistoryActions</b>(<i></i>)
283
218 <p> 284 <p>
219 Private method defining the user interface actions for the history 285 Private method defining the user interface actions for the history
220 commands. 286 commands.
221 </p><a NAME="ShellWindow.__createMenus" ID="ShellWindow.__createMenus"></a> 287 </p>
288 <a NAME="ShellWindow.__createMenus" ID="ShellWindow.__createMenus"></a>
222 <h4>ShellWindow.__createMenus</h4> 289 <h4>ShellWindow.__createMenus</h4>
223 <b>__createMenus</b>(<i></i>) 290 <b>__createMenus</b>(<i></i>)
291
224 <p> 292 <p>
225 Private method to create the menus of the menu bar. 293 Private method to create the menus of the menu bar.
226 </p><a NAME="ShellWindow.__createSearchActions" ID="ShellWindow.__createSearchActions"></a> 294 </p>
295 <a NAME="ShellWindow.__createSearchActions" ID="ShellWindow.__createSearchActions"></a>
227 <h4>ShellWindow.__createSearchActions</h4> 296 <h4>ShellWindow.__createSearchActions</h4>
228 <b>__createSearchActions</b>(<i></i>) 297 <b>__createSearchActions</b>(<i></i>)
298
229 <p> 299 <p>
230 Private method defining the user interface actions for the search 300 Private method defining the user interface actions for the search
231 commands. 301 commands.
232 </p><a NAME="ShellWindow.__createStatusBar" ID="ShellWindow.__createStatusBar"></a> 302 </p>
303 <a NAME="ShellWindow.__createStatusBar" ID="ShellWindow.__createStatusBar"></a>
233 <h4>ShellWindow.__createStatusBar</h4> 304 <h4>ShellWindow.__createStatusBar</h4>
234 <b>__createStatusBar</b>(<i></i>) 305 <b>__createStatusBar</b>(<i></i>)
306
235 <p> 307 <p>
236 Private slot to set up the status bar. 308 Private slot to set up the status bar.
237 </p><a NAME="ShellWindow.__createToolBars" ID="ShellWindow.__createToolBars"></a> 309 </p>
310 <a NAME="ShellWindow.__createToolBars" ID="ShellWindow.__createToolBars"></a>
238 <h4>ShellWindow.__createToolBars</h4> 311 <h4>ShellWindow.__createToolBars</h4>
239 <b>__createToolBars</b>(<i></i>) 312 <b>__createToolBars</b>(<i></i>)
313
240 <p> 314 <p>
241 Private method to create the various toolbars. 315 Private method to create the various toolbars.
242 </p><a NAME="ShellWindow.__createViewActions" ID="ShellWindow.__createViewActions"></a> 316 </p>
317 <a NAME="ShellWindow.__createViewActions" ID="ShellWindow.__createViewActions"></a>
243 <h4>ShellWindow.__createViewActions</h4> 318 <h4>ShellWindow.__createViewActions</h4>
244 <b>__createViewActions</b>(<i></i>) 319 <b>__createViewActions</b>(<i></i>)
320
245 <p> 321 <p>
246 Private method defining the user interface actions for the view 322 Private method defining the user interface actions for the view
247 commands. 323 commands.
248 </p><a NAME="ShellWindow.__historyStyleChanged" ID="ShellWindow.__historyStyleChanged"></a> 324 </p>
325 <a NAME="ShellWindow.__historyStyleChanged" ID="ShellWindow.__historyStyleChanged"></a>
249 <h4>ShellWindow.__historyStyleChanged</h4> 326 <h4>ShellWindow.__historyStyleChanged</h4>
250 <b>__historyStyleChanged</b>(<i>historyStyle</i>) 327 <b>__historyStyleChanged</b>(<i>historyStyle</i>)
328
251 <p> 329 <p>
252 Private slot to handle a change of the shell history style. 330 Private slot to handle a change of the shell history style.
253 </p><dl> 331 </p>
332 <dl>
333
254 <dt><i>historyStyle</i> (ShellHistoryStyle)</dt> 334 <dt><i>historyStyle</i> (ShellHistoryStyle)</dt>
255 <dd> 335 <dd>
256 style to be used for the history 336 style to be used for the history
257 </dd> 337 </dd>
258 </dl><a NAME="ShellWindow.__newWindow" ID="ShellWindow.__newWindow"></a> 338 </dl>
339 <a NAME="ShellWindow.__newWindow" ID="ShellWindow.__newWindow"></a>
259 <h4>ShellWindow.__newWindow</h4> 340 <h4>ShellWindow.__newWindow</h4>
260 <b>__newWindow</b>(<i></i>) 341 <b>__newWindow</b>(<i></i>)
342
261 <p> 343 <p>
262 Private slot to start a new instance of eric6. 344 Private slot to start a new instance of eric6.
263 </p><a NAME="ShellWindow.__readSettings" ID="ShellWindow.__readSettings"></a> 345 </p>
346 <a NAME="ShellWindow.__readSettings" ID="ShellWindow.__readSettings"></a>
264 <h4>ShellWindow.__readSettings</h4> 347 <h4>ShellWindow.__readSettings</h4>
265 <b>__readSettings</b>(<i></i>) 348 <b>__readSettings</b>(<i></i>)
349
266 <p> 350 <p>
267 Private method to read the settings remembered last time. 351 Private method to read the settings remembered last time.
268 </p><a NAME="ShellWindow.__readShortcut" ID="ShellWindow.__readShortcut"></a> 352 </p>
353 <a NAME="ShellWindow.__readShortcut" ID="ShellWindow.__readShortcut"></a>
269 <h4>ShellWindow.__readShortcut</h4> 354 <h4>ShellWindow.__readShortcut</h4>
270 <b>__readShortcut</b>(<i>act, category</i>) 355 <b>__readShortcut</b>(<i>act, category</i>)
356
271 <p> 357 <p>
272 Private function to read a single keyboard shortcut from the settings. 358 Private function to read a single keyboard shortcut from the settings.
273 </p><dl> 359 </p>
360 <dl>
361
274 <dt><i>act</i> (E5Action)</dt> 362 <dt><i>act</i> (E5Action)</dt>
275 <dd> 363 <dd>
276 reference to the action object 364 reference to the action object
277 </dd><dt><i>category</i> (str)</dt> 365 </dd>
366 <dt><i>category</i> (str)</dt>
278 <dd> 367 <dd>
279 category the action belongs to 368 category the action belongs to
280 </dd> 369 </dd>
281 </dl><a NAME="ShellWindow.__showFind" ID="ShellWindow.__showFind"></a> 370 </dl>
371 <a NAME="ShellWindow.__showFind" ID="ShellWindow.__showFind"></a>
282 <h4>ShellWindow.__showFind</h4> 372 <h4>ShellWindow.__showFind</h4>
283 <b>__showFind</b>(<i></i>) 373 <b>__showFind</b>(<i></i>)
374
284 <p> 375 <p>
285 Private method to display the search widget. 376 Private method to display the search widget.
286 </p><a NAME="ShellWindow.__showStartMenu" ID="ShellWindow.__showStartMenu"></a> 377 </p>
378 <a NAME="ShellWindow.__showStartMenu" ID="ShellWindow.__showStartMenu"></a>
287 <h4>ShellWindow.__showStartMenu</h4> 379 <h4>ShellWindow.__showStartMenu</h4>
288 <b>__showStartMenu</b>(<i></i>) 380 <b>__showStartMenu</b>(<i></i>)
381
289 <p> 382 <p>
290 Private slot to prepare the language menu. 383 Private slot to prepare the language menu.
291 </p><a NAME="ShellWindow.__startShell" ID="ShellWindow.__startShell"></a> 384 </p>
385 <a NAME="ShellWindow.__startShell" ID="ShellWindow.__startShell"></a>
292 <h4>ShellWindow.__startShell</h4> 386 <h4>ShellWindow.__startShell</h4>
293 <b>__startShell</b>(<i>action</i>) 387 <b>__startShell</b>(<i>action</i>)
388
294 <p> 389 <p>
295 Private slot to start a shell according to the action triggered. 390 Private slot to start a shell according to the action triggered.
296 </p><dl> 391 </p>
392 <dl>
393
297 <dt><i>action</i></dt> 394 <dt><i>action</i></dt>
298 <dd> 395 <dd>
299 menu action that was triggered (QAction) 396 menu action that was triggered (QAction)
300 </dd> 397 </dd>
301 </dl><a NAME="ShellWindow.__virtualEnvironmentChanged" ID="ShellWindow.__virtualEnvironmentChanged"></a> 398 </dl>
399 <a NAME="ShellWindow.__virtualEnvironmentChanged" ID="ShellWindow.__virtualEnvironmentChanged"></a>
302 <h4>ShellWindow.__virtualEnvironmentChanged</h4> 400 <h4>ShellWindow.__virtualEnvironmentChanged</h4>
303 <b>__virtualEnvironmentChanged</b>(<i>venvName</i>) 401 <b>__virtualEnvironmentChanged</b>(<i>venvName</i>)
402
304 <p> 403 <p>
305 Private slot handling a change of the shell's virtual environment. 404 Private slot handling a change of the shell's virtual environment.
306 </p><dl> 405 </p>
406 <dl>
407
307 <dt><i>venvName</i> (str)</dt> 408 <dt><i>venvName</i> (str)</dt>
308 <dd> 409 <dd>
309 name of the virtual environment of the shell 410 name of the virtual environment of the shell
310 </dd> 411 </dd>
311 </dl><a NAME="ShellWindow.__whatsThis" ID="ShellWindow.__whatsThis"></a> 412 </dl>
413 <a NAME="ShellWindow.__whatsThis" ID="ShellWindow.__whatsThis"></a>
312 <h4>ShellWindow.__whatsThis</h4> 414 <h4>ShellWindow.__whatsThis</h4>
313 <b>__whatsThis</b>(<i></i>) 415 <b>__whatsThis</b>(<i></i>)
416
314 <p> 417 <p>
315 Private slot called in to enter Whats This mode. 418 Private slot called in to enter Whats This mode.
316 </p><a NAME="ShellWindow.__writeSettings" ID="ShellWindow.__writeSettings"></a> 419 </p>
420 <a NAME="ShellWindow.__writeSettings" ID="ShellWindow.__writeSettings"></a>
317 <h4>ShellWindow.__writeSettings</h4> 421 <h4>ShellWindow.__writeSettings</h4>
318 <b>__writeSettings</b>(<i></i>) 422 <b>__writeSettings</b>(<i></i>)
423
319 <p> 424 <p>
320 Private method to write the settings for reuse. 425 Private method to write the settings for reuse.
321 </p><a NAME="ShellWindow.__zoom" ID="ShellWindow.__zoom"></a> 426 </p>
427 <a NAME="ShellWindow.__zoom" ID="ShellWindow.__zoom"></a>
322 <h4>ShellWindow.__zoom</h4> 428 <h4>ShellWindow.__zoom</h4>
323 <b>__zoom</b>(<i></i>) 429 <b>__zoom</b>(<i></i>)
430
324 <p> 431 <p>
325 Private method to handle the zoom action. 432 Private method to handle the zoom action.
326 </p><a NAME="ShellWindow.__zoomIn" ID="ShellWindow.__zoomIn"></a> 433 </p>
434 <a NAME="ShellWindow.__zoomIn" ID="ShellWindow.__zoomIn"></a>
327 <h4>ShellWindow.__zoomIn</h4> 435 <h4>ShellWindow.__zoomIn</h4>
328 <b>__zoomIn</b>(<i></i>) 436 <b>__zoomIn</b>(<i></i>)
437
329 <p> 438 <p>
330 Private method to handle the zoom in action. 439 Private method to handle the zoom in action.
331 </p><a NAME="ShellWindow.__zoomOut" ID="ShellWindow.__zoomOut"></a> 440 </p>
441 <a NAME="ShellWindow.__zoomOut" ID="ShellWindow.__zoomOut"></a>
332 <h4>ShellWindow.__zoomOut</h4> 442 <h4>ShellWindow.__zoomOut</h4>
333 <b>__zoomOut</b>(<i></i>) 443 <b>__zoomOut</b>(<i></i>)
444
334 <p> 445 <p>
335 Private method to handle the zoom out action. 446 Private method to handle the zoom out action.
336 </p><a NAME="ShellWindow.__zoomReset" ID="ShellWindow.__zoomReset"></a> 447 </p>
448 <a NAME="ShellWindow.__zoomReset" ID="ShellWindow.__zoomReset"></a>
337 <h4>ShellWindow.__zoomReset</h4> 449 <h4>ShellWindow.__zoomReset</h4>
338 <b>__zoomReset</b>(<i></i>) 450 <b>__zoomReset</b>(<i></i>)
451
339 <p> 452 <p>
340 Private method to reset the zoom factor. 453 Private method to reset the zoom factor.
341 </p><a NAME="ShellWindow.__zoomTo" ID="ShellWindow.__zoomTo"></a> 454 </p>
455 <a NAME="ShellWindow.__zoomTo" ID="ShellWindow.__zoomTo"></a>
342 <h4>ShellWindow.__zoomTo</h4> 456 <h4>ShellWindow.__zoomTo</h4>
343 <b>__zoomTo</b>(<i>value</i>) 457 <b>__zoomTo</b>(<i>value</i>)
458
344 <p> 459 <p>
345 Private slot to zoom to a given value. 460 Private slot to zoom to a given value.
346 </p><dl> 461 </p>
462 <dl>
463
347 <dt><i>value</i> (int)</dt> 464 <dt><i>value</i> (int)</dt>
348 <dd> 465 <dd>
349 zoom value to be set 466 zoom value to be set
350 </dd> 467 </dd>
351 </dl><a NAME="ShellWindow.__zoomValueChanged" ID="ShellWindow.__zoomValueChanged"></a> 468 </dl>
469 <a NAME="ShellWindow.__zoomValueChanged" ID="ShellWindow.__zoomValueChanged"></a>
352 <h4>ShellWindow.__zoomValueChanged</h4> 470 <h4>ShellWindow.__zoomValueChanged</h4>
353 <b>__zoomValueChanged</b>(<i>value</i>) 471 <b>__zoomValueChanged</b>(<i>value</i>)
472
354 <p> 473 <p>
355 Private slot to handle changes of the zoom value. 474 Private slot to handle changes of the zoom value.
356 </p><dl> 475 </p>
476 <dl>
477
357 <dt><i>value</i> (int)</dt> 478 <dt><i>value</i> (int)</dt>
358 <dd> 479 <dd>
359 new zoom value 480 new zoom value
360 </dd> 481 </dd>
361 </dl><a NAME="ShellWindow.activeWindow" ID="ShellWindow.activeWindow"></a> 482 </dl>
483 <a NAME="ShellWindow.activeWindow" ID="ShellWindow.activeWindow"></a>
362 <h4>ShellWindow.activeWindow</h4> 484 <h4>ShellWindow.activeWindow</h4>
363 <b>activeWindow</b>(<i></i>) 485 <b>activeWindow</b>(<i></i>)
486
364 <p> 487 <p>
365 Public method to get a reference to the active shell. 488 Public method to get a reference to the active shell.
366 </p><dl> 489 </p>
490 <dl>
367 <dt>Returns:</dt> 491 <dt>Returns:</dt>
368 <dd> 492 <dd>
369 reference to the shell widget 493 reference to the shell widget
370 </dd> 494 </dd>
371 </dl><dl> 495 </dl>
496 <dl>
372 <dt>Return Type:</dt> 497 <dt>Return Type:</dt>
373 <dd> 498 <dd>
374 Shell 499 Shell
375 </dd> 500 </dd>
376 </dl><a NAME="ShellWindow.closeEvent" ID="ShellWindow.closeEvent"></a> 501 </dl>
502 <a NAME="ShellWindow.closeEvent" ID="ShellWindow.closeEvent"></a>
377 <h4>ShellWindow.closeEvent</h4> 503 <h4>ShellWindow.closeEvent</h4>
378 <b>closeEvent</b>(<i>event</i>) 504 <b>closeEvent</b>(<i>event</i>)
505
379 <p> 506 <p>
380 Protected method to handle the close event. 507 Protected method to handle the close event.
381 </p><dl> 508 </p>
509 <dl>
510
382 <dt><i>event</i> (QCloseEvent)</dt> 511 <dt><i>event</i> (QCloseEvent)</dt>
383 <dd> 512 <dd>
384 close event 513 close event
385 </dd> 514 </dd>
386 </dl><a NAME="ShellWindow.getAPIsManager" ID="ShellWindow.getAPIsManager"></a> 515 </dl>
516 <a NAME="ShellWindow.getAPIsManager" ID="ShellWindow.getAPIsManager"></a>
387 <h4>ShellWindow.getAPIsManager</h4> 517 <h4>ShellWindow.getAPIsManager</h4>
388 <b>getAPIsManager</b>(<i></i>) 518 <b>getAPIsManager</b>(<i></i>)
519
389 <p> 520 <p>
390 Public method to get a reference to the APIs manager. 521 Public method to get a reference to the APIs manager.
391 </p><dl> 522 </p>
523 <dl>
392 <dt>Returns:</dt> 524 <dt>Returns:</dt>
393 <dd> 525 <dd>
394 the APIs manager object (eric6.QScintilla.APIsManager) 526 the APIs manager object (eric6.QScintilla.APIsManager)
395 </dd> 527 </dd>
396 </dl><a NAME="ShellWindow.quit" ID="ShellWindow.quit"></a> 528 </dl>
529 <a NAME="ShellWindow.quit" ID="ShellWindow.quit"></a>
397 <h4>ShellWindow.quit</h4> 530 <h4>ShellWindow.quit</h4>
398 <b>quit</b>(<i></i>) 531 <b>quit</b>(<i></i>)
532
399 <p> 533 <p>
400 Public method to quit the application. 534 Public method to quit the application.
401 </p><a NAME="ShellWindow.showFind" ID="ShellWindow.showFind"></a> 535 </p>
536 <a NAME="ShellWindow.showFind" ID="ShellWindow.showFind"></a>
402 <h4>ShellWindow.showFind</h4> 537 <h4>ShellWindow.showFind</h4>
403 <b>showFind</b>(<i>txt=""</i>) 538 <b>showFind</b>(<i>txt=""</i>)
539
404 <p> 540 <p>
405 Public method to display the search widget. 541 Public method to display the search widget.
406 </p><dl> 542 </p>
543 <dl>
544
407 <dt><i>txt</i> (str)</dt> 545 <dt><i>txt</i> (str)</dt>
408 <dd> 546 <dd>
409 text to be shown in the combo 547 text to be shown in the combo
410 </dd> 548 </dd>
411 </dl> 549 </dl>

eric ide

mercurial