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'>
5
<title>eric4.UI.UserInterface</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.UI.UserInterface</h1>
25
Module implementing the main user interface.
30
<td><a href="#Redirector">Redirector</a></td>
31
<td>Helper class used to redirect stdout and stderr to the log window</td>
33
<td><a href="#UserInterface">UserInterface</a></td>
34
<td>Class implementing the main user interface.</td>
39
<tr><td>None</td></tr>
42
<a NAME="Redirector" ID="Redirector"></a>
45
Helper class used to redirect stdout and stderr to the log window
48
<dt>appendStderr(string)</dt>
50
emitted to write data to stderr logger
51
</dd><dt>appendStdout(string)</dt>
53
emitted to write data to stdout logger
61
<td><a href="#Redirector.__init__">Redirector</a></td>
64
<td><a href="#Redirector.__bufferedWrite">__bufferedWrite</a></td>
65
<td>Private method returning number of characters to write.</td>
67
<td><a href="#Redirector.__nWrite">__nWrite</a></td>
68
<td>Private method used to write data.</td>
70
<td><a href="#Redirector.flush">flush</a></td>
71
<td>Public method used to flush the buffered data.</td>
73
<td><a href="#Redirector.write">write</a></td>
74
<td>Public method used to write data.</td>
77
<p><a NAME="Redirector.__init__" ID="Redirector.__init__"></a>
78
<h4>Redirector (Constructor)</h4>
79
<b>Redirector</b>(<i>stderr</i>)
83
<dt><i>stderr</i></dt>
85
flag indicating stderr is being redirected
87
</dl><a NAME="Redirector.__bufferedWrite" ID="Redirector.__bufferedWrite"></a>
88
<h4>Redirector.__bufferedWrite</h4>
89
<b>__bufferedWrite</b>(<i></i>)
91
Private method returning number of characters to write.
95
number of characters buffered or length of buffered line
97
</dl><a NAME="Redirector.__nWrite" ID="Redirector.__nWrite"></a>
98
<h4>Redirector.__nWrite</h4>
99
<b>__nWrite</b>(<i>n</i>)
101
Private method used to write data.
105
max numebr of bytes to write
107
</dl><a NAME="Redirector.flush" ID="Redirector.flush"></a>
108
<h4>Redirector.flush</h4>
109
<b>flush</b>(<i></i>)
111
Public method used to flush the buffered data.
112
</p><a NAME="Redirector.write" ID="Redirector.write"></a>
113
<h4>Redirector.write</h4>
114
<b>write</b>(<i>s</i>)
116
Public method used to write data.
120
data to be written (it must support the str-method)
123
<div align="right"><a href="#top">Up</a></div>
125
<a NAME="UserInterface" ID="UserInterface"></a>
126
<h2>UserInterface</h2>
128
Class implementing the main user interface.
131
<dt>appendStderr(QString)</dt>
133
emitted to write data to stderr logger
134
</dd><dt>appendStdout(QString)</dt>
136
emitted to write data to stdout logger
137
</dd><dt>preferencesChanged()</dt>
139
emitted after the preferences were changed
140
</dd><dt>reloadAPIs()</dt>
142
emitted to reload the api information
145
<h3>Derived from</h3>
150
<td><a href="#UserInterface.__init__">UserInterface</a></td>
153
<td><a href="#UserInterface.__TBMenuTriggered">__TBMenuTriggered</a></td>
154
<td>Private method to handle the toggle of a toolbar.</td>
156
<td><a href="#UserInterface.__TRPreviewer">__TRPreviewer</a></td>
157
<td>Private slot to start the Translation Previewer executable.</td>
159
<td><a href="#UserInterface.__UIPreviewer">__UIPreviewer</a></td>
160
<td>Private slot to start the UI Previewer executable.</td>
162
<td><a href="#UserInterface.__about">__about</a></td>
163
<td>Private slot to handle the About dialog.</td>
165
<td><a href="#UserInterface.__aboutKde">__aboutKde</a></td>
166
<td>Private slot to handle the About KDE dialog.</td>
168
<td><a href="#UserInterface.__aboutQt">__aboutQt</a></td>
169
<td>Private slot to handle the About Qt dialog.</td>
171
<td><a href="#UserInterface.__activateBrowser">__activateBrowser</a></td>
172
<td>Private slot to handle the activation of the file browser.</td>
174
<td><a href="#UserInterface.__activateDebugViewer">__activateDebugViewer</a></td>
175
<td>Private slot to handle the activation of the debug browser.</td>
177
<td><a href="#UserInterface.__activateLogViewer">__activateLogViewer</a></td>
178
<td>Private slot to handle the activation of the Log Viewer.</td>
180
<td><a href="#UserInterface.__activateProjectBrowser">__activateProjectBrowser</a></td>
181
<td>Private slot to handle the activation of the project browser.</td>
183
<td><a href="#UserInterface.__activateShell">__activateShell</a></td>
184
<td>Private slot to handle the activation of the Shell window.</td>
186
<td><a href="#UserInterface.__activateTaskViewer">__activateTaskViewer</a></td>
187
<td>Private slot to handle the activation of the Task Viewer.</td>
189
<td><a href="#UserInterface.__activateTemplateViewer">__activateTemplateViewer</a></td>
190
<td>Private slot to handle the activation of the Template Viewer.</td>
192
<td><a href="#UserInterface.__activateViewProfile">__activateViewProfile</a></td>
193
<td>Private slot to activate a view profile.</td>
195
<td><a href="#UserInterface.__activateViewmanager">__activateViewmanager</a></td>
196
<td>Private slot to handle the activation of the current editor.</td>
198
<td><a href="#UserInterface.__assistant">__assistant</a></td>
199
<td>Private slot to start the Qt-Assistant executable.</td>
201
<td><a href="#UserInterface.__assistant4">__assistant4</a></td>
202
<td>Private slot to start the Qt-Assistant 4 executable.</td>
204
<td><a href="#UserInterface.__checkActions">__checkActions</a></td>
205
<td>Private slot to check some actions for their enable/disable status.</td>
207
<td><a href="#UserInterface.__chmViewer">__chmViewer</a></td>
208
<td>Private slot to start the win32 help viewer to show *.chm files.</td>
210
<td><a href="#UserInterface.__compareFiles">__compareFiles</a></td>
211
<td>Private slot to handle the Compare Files dialog.</td>
213
<td><a href="#UserInterface.__compareFilesSbs">__compareFilesSbs</a></td>
214
<td>Private slot to handle the Compare Files dialog.</td>
216
<td><a href="#UserInterface.__configShortcuts">__configShortcuts</a></td>
217
<td>Private slot to configure the keyboard shortcuts.</td>
219
<td><a href="#UserInterface.__configViewProfiles">__configViewProfiles</a></td>
220
<td>Private slot to configure the various view profiles.</td>
222
<td><a href="#UserInterface.__createDockWindow">__createDockWindow</a></td>
223
<td>Private method to create a dock window with common properties.</td>
225
<td><a href="#UserInterface.__createLayout">__createLayout</a></td>
226
<td>Private method to create the layout of the various windows.</td>
228
<td><a href="#UserInterface.__customViewer">__customViewer</a></td>
229
<td>Private slot to start a custom viewer.</td>
231
<td><a href="#UserInterface.__deleteScript">__deleteScript</a></td>
232
<td>Private slot to delete a script.</td>
234
<td><a href="#UserInterface.__designer">__designer</a></td>
235
<td>Private slot to start the Qt-Designer executable.</td>
237
<td><a href="#UserInterface.__designer4">__designer4</a></td>
238
<td>Private slot to start the Qt-Designer 4 executable.</td>
240
<td><a href="#UserInterface.__editorOpened">__editorOpened</a></td>
241
<td>Private slot to handle the editorOpened signal.</td>
243
<td><a href="#UserInterface.__executeDocumentAsScript">__executeDocumentAsScript</a></td>
244
<td>Private slot to handle the execute document as script menu action.</td>
246
<td><a href="#UserInterface.__executeScript">__executeScript</a></td>
247
<td>Private slot to execute a script.</td>
249
<td><a href="#UserInterface.__exportShortcuts">__exportShortcuts</a></td>
250
<td>Private slot to export the keyboard shortcuts.</td>
252
<td><a href="#UserInterface.__firstScriptAdded">__firstScriptAdded</a></td>
253
<td>Private slot to handle the firstScriptAdded signal</td>
255
<td><a href="#UserInterface.__getFloatingGeometry">__getFloatingGeometry</a></td>
256
<td>Private method to get the geometry of a floating windows.</td>
258
<td><a href="#UserInterface.__helpClosed">__helpClosed</a></td>
259
<td>Private slot to handle the helpClosed signal of the help window.</td>
261
<td><a href="#UserInterface.__helpViewer">__helpViewer</a></td>
262
<td>Private slot to start an empty help viewer.</td>
264
<td><a href="#UserInterface.__importShortcuts">__importShortcuts</a></td>
265
<td>Private slot to import the keyboard shortcuts.</td>
267
<td><a href="#UserInterface.__initActions">__initActions</a></td>
268
<td>Private method to define the user interface actions.</td>
270
<td><a href="#UserInterface.__initEricDocAction">__initEricDocAction</a></td>
271
<td>Private slot to initialize the action to show the eric4 documentation.</td>
273
<td><a href="#UserInterface.__initMenus">__initMenus</a></td>
274
<td>Private slot to create the menus.</td>
276
<td><a href="#UserInterface.__initPythonDocAction">__initPythonDocAction</a></td>
277
<td>Private slot to initilize the action to show the Python documentation.</td>
279
<td><a href="#UserInterface.__initQtDocActions">__initQtDocActions</a></td>
280
<td>Private slot to initilize the action to show the Qt documentation.</td>
282
<td><a href="#UserInterface.__initStatusbar">__initStatusbar</a></td>
283
<td>Private slot to set up the status bar.</td>
285
<td><a href="#UserInterface.__initToolbars">__initToolbars</a></td>
286
<td>Private slot to create the toolbars.</td>
288
<td><a href="#UserInterface.__lastEditorClosed">__lastEditorClosed</a></td>
289
<td>Private slot to handle the lastEditorClosed signal.</td>
291
<td><a href="#UserInterface.__lastScriptDeleted">__lastScriptDeleted</a></td>
292
<td>Private slot to handle the lastScriptDeleted signal</td>
294
<td><a href="#UserInterface.__linguist">__linguist</a></td>
295
<td>Private slot to start the Qt-Linguist executable.</td>
297
<td><a href="#UserInterface.__linguist4">__linguist4</a></td>
298
<td>Private slot to start the Qt-Linguist 4 executable.</td>
300
<td><a href="#UserInterface.__loadScript">__loadScript</a></td>
301
<td>Private slot to handle the load script menu action.</td>
303
<td><a href="#UserInterface.__newProject">__newProject</a></td>
304
<td>Private slot to handle the NewProject signal.</td>
306
<td><a href="#UserInterface.__nextTab">__nextTab</a></td>
307
<td>Private slot used to show the next tab.</td>
309
<td><a href="#UserInterface.__preferences">__preferences</a></td>
310
<td>Private slot to set the preferences.</td>
312
<td><a href="#UserInterface.__preferencesChanged">__preferencesChanged</a></td>
313
<td>Private slot to handle a change of the preferences.</td>
315
<td><a href="#UserInterface.__prevTab">__prevTab</a></td>
316
<td>Private slot used to show the previous tab.</td>
318
<td><a href="#UserInterface.__processToolStderr">__processToolStderr</a></td>
319
<td>Private slot to handle the readyReadStderr signal of a tool process.</td>
321
<td><a href="#UserInterface.__processToolStdout">__processToolStdout</a></td>
322
<td>Private slot to handle the readyReadStdout signal of a tool process.</td>
324
<td><a href="#UserInterface.__programChange">__programChange</a></td>
325
<td>Private slot to handle the programChange signal.</td>
327
<td><a href="#UserInterface.__projectClosed">__projectClosed</a></td>
328
<td>Private slot to handle the projectClosed signal.</td>
330
<td><a href="#UserInterface.__projectOpened">__projectOpened</a></td>
331
<td>Private slot to handle the projectOpened signal.</td>
333
<td><a href="#UserInterface.__quit">__quit</a></td>
334
<td>Private method to quit the application.</td>
336
<td><a href="#UserInterface.__readTasks">__readTasks</a></td>
337
<td>Private slot to read in the tasks file (.e4t)</td>
339
<td><a href="#UserInterface.__reloadAPIs">__reloadAPIs</a></td>
340
<td>Private slot to reload the api information.</td>
342
<td><a href="#UserInterface.__reportBug">__reportBug</a></td>
343
<td>Private slot to handle the Report Bug dialog.</td>
345
<td><a href="#UserInterface.__saveCurrentViewProfile">__saveCurrentViewProfile</a></td>
346
<td>Private slot to save the window geometries of the active profile.</td>
348
<td><a href="#UserInterface.__setEditProfile">__setEditProfile</a></td>
349
<td>Private slot to activate the edit view profile.</td>
351
<td><a href="#UserInterface.__setStyle">__setStyle</a></td>
352
<td>Private slot to set the style of the interface.</td>
354
<td><a href="#UserInterface.__setWindowCaption">__setWindowCaption</a></td>
355
<td>Private method to set the caption of the Main Window.</td>
357
<td><a href="#UserInterface.__setupDockWindow">__setupDockWindow</a></td>
358
<td>Private method to configure the dock window created with __createDockWindow().</td>
360
<td><a href="#UserInterface.__showChartables">__showChartables</a></td>
361
<td>Private slot to show the character tables dialog.</td>
363
<td><a href="#UserInterface.__showEricDoc">__showEricDoc</a></td>
364
<td>Private slot to show the Eric documentation.</td>
366
<td><a href="#UserInterface.__showExternalTools">__showExternalTools</a></td>
367
<td>Private slot to display a dialog show a list of external tools used by eric4.</td>
369
<td><a href="#UserInterface.__showHelpMenu">__showHelpMenu</a></td>
370
<td>Private slot to display the Help menu.</td>
372
<td><a href="#UserInterface.__showPixmap">__showPixmap</a></td>
373
<td>Private slot to show a pixmap in a dialog.</td>
375
<td><a href="#UserInterface.__showPyQt4Doc">__showPyQt4Doc</a></td>
376
<td>Private slot to show the PyQt4 documentation.</td>
378
<td><a href="#UserInterface.__showPythonDoc">__showPythonDoc</a></td>
379
<td>Private slot to show the Python documentation.</td>
381
<td><a href="#UserInterface.__showQt4Doc">__showQt4Doc</a></td>
382
<td>Private slot to show the Qt4 documentation.</td>
384
<td><a href="#UserInterface.__showQtDoc">__showQtDoc</a></td>
385
<td>Private slot to show the Qt documentation.</td>
387
<td><a href="#UserInterface.__showToolGroupsMenu">__showToolGroupsMenu</a></td>
388
<td>Private slot to display the Tool Groups menu.</td>
390
<td><a href="#UserInterface.__showToolbarsMenu">__showToolbarsMenu</a></td>
391
<td>Private slot to display the Toolbars menu.</td>
393
<td><a href="#UserInterface.__showToolsMenu">__showToolsMenu</a></td>
394
<td>Private slot to display the Tools menu.</td>
396
<td><a href="#UserInterface.__showVersions">__showVersions</a></td>
397
<td>Private slot to handle the Versions dialog.</td>
399
<td><a href="#UserInterface.__showWindowMenu">__showWindowMenu</a></td>
400
<td>Private slot to display the Window menu.</td>
402
<td><a href="#UserInterface.__shutdown">__shutdown</a></td>
403
<td>Private method to perform all neccessary steps to close down the IDE.</td>
405
<td><a href="#UserInterface.__toggleBrowser">__toggleBrowser</a></td>
406
<td>Private slot to handle the toggle of the File Browser window.</td>
408
<td><a href="#UserInterface.__toggleDebugViewer">__toggleDebugViewer</a></td>
409
<td>Private slot to handle the toggle of the debug viewer.</td>
411
<td><a href="#UserInterface.__toggleLogViewer">__toggleLogViewer</a></td>
412
<td>Private slot to handle the toggle of the Log Viewer window.</td>
414
<td><a href="#UserInterface.__toggleProjectBrowser">__toggleProjectBrowser</a></td>
415
<td>Private slot to handle the toggle of the Project Browser window.</td>
417
<td><a href="#UserInterface.__toggleShell">__toggleShell</a></td>
418
<td>Private slot to handle the toggle of the Shell window .</td>
420
<td><a href="#UserInterface.__toggleTaskViewer">__toggleTaskViewer</a></td>
421
<td>Private slot to handle the toggle of the Task Viewer window.</td>
423
<td><a href="#UserInterface.__toggleTemplateViewer">__toggleTemplateViewer</a></td>
424
<td>Private slot to handle the toggle of the Template Viewer window.</td>
426
<td><a href="#UserInterface.__toggleWindow">__toggleWindow</a></td>
427
<td>Private method to toggle a workspace editor window.</td>
429
<td><a href="#UserInterface.__toolExecute">__toolExecute</a></td>
430
<td>Private slot to execute a particular tool.</td>
432
<td><a href="#UserInterface.__toolFinished">__toolFinished</a></td>
433
<td>Private slot to handle the finished signal of a tool process.</td>
435
<td><a href="#UserInterface.__toolGroupSelected">__toolGroupSelected</a></td>
436
<td>Private slot to set the current tool group.</td>
438
<td><a href="#UserInterface.__toolGroupsConfiguration">__toolGroupsConfiguration</a></td>
439
<td>Private slot to handle the tool groups configuration menu entry.</td>
441
<td><a href="#UserInterface.__toolsConfiguration">__toolsConfiguration</a></td>
442
<td>Private slot to handle the tools configuration menu entry.</td>
444
<td><a href="#UserInterface.__unittest">__unittest</a></td>
445
<td>Private slot for displaying the unittest dialog.</td>
447
<td><a href="#UserInterface.__unittestProject">__unittestProject</a></td>
448
<td>Private slot for displaying the unittest dialog and run the current project.</td>
450
<td><a href="#UserInterface.__unittestRestart">__unittestRestart</a></td>
451
<td>Private slot to display the unittest dialog and rerun the last test.</td>
453
<td><a href="#UserInterface.__unittestScript">__unittestScript</a></td>
454
<td>Private slot for displaying the unittest dialog and run the current script.</td>
456
<td><a href="#UserInterface.__versionsDownloadCanceled">__versionsDownloadCanceled</a></td>
457
<td>Private method called to cancel the version check.</td>
459
<td><a href="#UserInterface.__versionsDownloadDone">__versionsDownloadDone</a></td>
460
<td>Private method called, after the versions file has been downloaded from the internet.</td>
462
<td><a href="#UserInterface.__webBrowser">__webBrowser</a></td>
463
<td>Private slot to start a web browser executable.</td>
465
<td><a href="#UserInterface.__whatsThis">__whatsThis</a></td>
466
<td>Private slot called in to enter Whats This mode.</td>
468
<td><a href="#UserInterface.__writeTasks">__writeTasks</a></td>
469
<td>Private slot to write the tasks data to an XML file (.e4t).</td>
471
<td><a href="#UserInterface.checkConfigurationStatus">checkConfigurationStatus</a></td>
472
<td>Public method to check, if eric4 has been configured.</td>
474
<td><a href="#UserInterface.closeEvent">closeEvent</a></td>
475
<td>Private event handler for the close event.</td>
477
<td><a href="#UserInterface.dragEnterEvent">dragEnterEvent</a></td>
478
<td>Protected method to handle the drag enter event.</td>
480
<td><a href="#UserInterface.dragLeaveEvent">dragLeaveEvent</a></td>
481
<td>Protected method to handle the drag leave event.</td>
483
<td><a href="#UserInterface.dragMoveEvent">dragMoveEvent</a></td>
484
<td>Protected method to handle the drag move event.</td>
486
<td><a href="#UserInterface.dropEvent">dropEvent</a></td>
487
<td>Protected method to handle the drop event.</td>
489
<td><a href="#UserInterface.getActions">getActions</a></td>
490
<td>Public method to get a list of all actions.</td>
492
<td><a href="#UserInterface.getViewProfile">getViewProfile</a></td>
493
<td>Public method to get the current view profile.</td>
495
<td><a href="#UserInterface.launchHelpViewer">launchHelpViewer</a></td>
496
<td>Public slot to start the help viewer.</td>
498
<td><a href="#UserInterface.performVersionCheck">performVersionCheck</a></td>
499
<td>Public method to check the internet for an eric4 update.</td>
501
<td><a href="#UserInterface.processArgs">processArgs</a></td>
502
<td>Public method to process the command line args passed to the UI.</td>
504
<td><a href="#UserInterface.setDebugProfile">setDebugProfile</a></td>
505
<td>Public slot to activate the debug view profile.</td>
507
<td><a href="#UserInterface.showLogTab">showLogTab</a></td>
508
<td>Public method to show a particular Log-Viewer tab.</td>
511
<p><a NAME="UserInterface.__init__" ID="UserInterface.__init__"></a>
512
<h4>UserInterface (Constructor)</h4>
513
<b>UserInterface</b>(<i>locale, splash</i>)
517
<dt><i>locale</i></dt>
519
locale to be used by the UI (string)
520
</dd><dt><i>splash</i></dt>
522
reference to the splashscreen (UI.SplashScreen.SplashScreen)
524
</dl><a NAME="UserInterface.__TBMenuTriggered" ID="UserInterface.__TBMenuTriggered"></a>
525
<h4>UserInterface.__TBMenuTriggered</h4>
526
<b>__TBMenuTriggered</b>(<i>act</i>)
528
Private method to handle the toggle of a toolbar.
532
reference to the action that was triggered (QAction)
534
</dl><a NAME="UserInterface.__TRPreviewer" ID="UserInterface.__TRPreviewer"></a>
535
<h4>UserInterface.__TRPreviewer</h4>
536
<b>__TRPreviewer</b>(<i>fileNames = None, ignore = False</i>)
538
Private slot to start the Translation Previewer executable.
540
<dt><i>fileNames</i></dt>
542
filenames of forms and/or translations to be previewed
543
</dd><dt><i>ignore</i></dt>
545
flag indicating non existing files should be ignored (boolean)
547
</dl><a NAME="UserInterface.__UIPreviewer" ID="UserInterface.__UIPreviewer"></a>
548
<h4>UserInterface.__UIPreviewer</h4>
549
<b>__UIPreviewer</b>(<i>fn=None</i>)
551
Private slot to start the UI Previewer executable.
555
filename of the form to be previewed
557
</dl><a NAME="UserInterface.__about" ID="UserInterface.__about"></a>
558
<h4>UserInterface.__about</h4>
559
<b>__about</b>(<i></i>)
561
Private slot to handle the About dialog.
562
</p><a NAME="UserInterface.__aboutKde" ID="UserInterface.__aboutKde"></a>
563
<h4>UserInterface.__aboutKde</h4>
564
<b>__aboutKde</b>(<i></i>)
566
Private slot to handle the About KDE dialog.
567
</p><a NAME="UserInterface.__aboutQt" ID="UserInterface.__aboutQt"></a>
568
<h4>UserInterface.__aboutQt</h4>
569
<b>__aboutQt</b>(<i></i>)
571
Private slot to handle the About Qt dialog.
572
</p><a NAME="UserInterface.__activateBrowser" ID="UserInterface.__activateBrowser"></a>
573
<h4>UserInterface.__activateBrowser</h4>
574
<b>__activateBrowser</b>(<i></i>)
576
Private slot to handle the activation of the file browser.
577
</p><a NAME="UserInterface.__activateDebugViewer" ID="UserInterface.__activateDebugViewer"></a>
578
<h4>UserInterface.__activateDebugViewer</h4>
579
<b>__activateDebugViewer</b>(<i></i>)
581
Private slot to handle the activation of the debug browser.
582
</p><a NAME="UserInterface.__activateLogViewer" ID="UserInterface.__activateLogViewer"></a>
583
<h4>UserInterface.__activateLogViewer</h4>
584
<b>__activateLogViewer</b>(<i></i>)
586
Private slot to handle the activation of the Log Viewer.
587
</p><a NAME="UserInterface.__activateProjectBrowser" ID="UserInterface.__activateProjectBrowser"></a>
588
<h4>UserInterface.__activateProjectBrowser</h4>
589
<b>__activateProjectBrowser</b>(<i></i>)
591
Private slot to handle the activation of the project browser.
592
</p><a NAME="UserInterface.__activateShell" ID="UserInterface.__activateShell"></a>
593
<h4>UserInterface.__activateShell</h4>
594
<b>__activateShell</b>(<i></i>)
596
Private slot to handle the activation of the Shell window.
597
</p><a NAME="UserInterface.__activateTaskViewer" ID="UserInterface.__activateTaskViewer"></a>
598
<h4>UserInterface.__activateTaskViewer</h4>
599
<b>__activateTaskViewer</b>(<i></i>)
601
Private slot to handle the activation of the Task Viewer.
602
</p><a NAME="UserInterface.__activateTemplateViewer" ID="UserInterface.__activateTemplateViewer"></a>
603
<h4>UserInterface.__activateTemplateViewer</h4>
604
<b>__activateTemplateViewer</b>(<i></i>)
606
Private slot to handle the activation of the Template Viewer.
607
</p><a NAME="UserInterface.__activateViewProfile" ID="UserInterface.__activateViewProfile"></a>
608
<h4>UserInterface.__activateViewProfile</h4>
609
<b>__activateViewProfile</b>(<i>name, save = True</i>)
611
Private slot to activate a view profile.
615
name of the profile to be activated (string)
616
</dd><dt><i>save</i></dt>
618
flag indicating that the current profile should
621
</dl><a NAME="UserInterface.__activateViewmanager" ID="UserInterface.__activateViewmanager"></a>
622
<h4>UserInterface.__activateViewmanager</h4>
623
<b>__activateViewmanager</b>(<i></i>)
625
Private slot to handle the activation of the current editor.
626
</p><a NAME="UserInterface.__assistant" ID="UserInterface.__assistant"></a>
627
<h4>UserInterface.__assistant</h4>
628
<b>__assistant</b>(<i>home = None, version = 3</i>)
630
Private slot to start the Qt-Assistant executable.
634
full pathname of a file to display (string or QString)
635
</dd><dt><i>version</i></dt>
637
indication for the requested version (Qt 3 or Qt 4) (integer)
639
</dl><a NAME="UserInterface.__assistant4" ID="UserInterface.__assistant4"></a>
640
<h4>UserInterface.__assistant4</h4>
641
<b>__assistant4</b>(<i></i>)
643
Private slot to start the Qt-Assistant 4 executable.
644
</p><a NAME="UserInterface.__checkActions" ID="UserInterface.__checkActions"></a>
645
<h4>UserInterface.__checkActions</h4>
646
<b>__checkActions</b>(<i>editor</i>)
648
Private slot to check some actions for their enable/disable status.
650
<dt><i>editor</i></dt>
654
</dl><a NAME="UserInterface.__chmViewer" ID="UserInterface.__chmViewer"></a>
655
<h4>UserInterface.__chmViewer</h4>
656
<b>__chmViewer</b>(<i>home=None</i>)
658
Private slot to start the win32 help viewer to show *.chm files.
662
full pathname of a file to display (string or QString)
664
</dl><a NAME="UserInterface.__compareFiles" ID="UserInterface.__compareFiles"></a>
665
<h4>UserInterface.__compareFiles</h4>
666
<b>__compareFiles</b>(<i></i>)
668
Private slot to handle the Compare Files dialog.
669
</p><a NAME="UserInterface.__compareFilesSbs" ID="UserInterface.__compareFilesSbs"></a>
670
<h4>UserInterface.__compareFilesSbs</h4>
671
<b>__compareFilesSbs</b>(<i></i>)
673
Private slot to handle the Compare Files dialog.
674
</p><a NAME="UserInterface.__configShortcuts" ID="UserInterface.__configShortcuts"></a>
675
<h4>UserInterface.__configShortcuts</h4>
676
<b>__configShortcuts</b>(<i></i>)
678
Private slot to configure the keyboard shortcuts.
679
</p><a NAME="UserInterface.__configViewProfiles" ID="UserInterface.__configViewProfiles"></a>
680
<h4>UserInterface.__configViewProfiles</h4>
681
<b>__configViewProfiles</b>(<i></i>)
683
Private slot to configure the various view profiles.
684
</p><a NAME="UserInterface.__createDockWindow" ID="UserInterface.__createDockWindow"></a>
685
<h4>UserInterface.__createDockWindow</h4>
686
<b>__createDockWindow</b>(<i>name</i>)
688
Private method to create a dock window with common properties.
692
object name of the new dock window (string or QString)
697
the generated dock window (QDockWindow)
699
</dl><a NAME="UserInterface.__createLayout" ID="UserInterface.__createLayout"></a>
700
<h4>UserInterface.__createLayout</h4>
701
<b>__createLayout</b>(<i>debugServer</i>)
703
Private method to create the layout of the various windows.
705
<dt><i>debugServer</i></dt>
707
reference to the debug server object
709
</dl><a NAME="UserInterface.__customViewer" ID="UserInterface.__customViewer"></a>
710
<h4>UserInterface.__customViewer</h4>
711
<b>__customViewer</b>(<i>home = None</i>)
713
Private slot to start a custom viewer.
717
full pathname of a file to display (string or QString)
719
</dl><a NAME="UserInterface.__deleteScript" ID="UserInterface.__deleteScript"></a>
720
<h4>UserInterface.__deleteScript</h4>
721
<b>__deleteScript</b>(<i></i>)
723
Private slot to delete a script.
724
</p><a NAME="UserInterface.__designer" ID="UserInterface.__designer"></a>
725
<h4>UserInterface.__designer</h4>
726
<b>__designer</b>(<i>fn = None, version = 0</i>)
728
Private slot to start the Qt-Designer executable.
732
filename of the form to be opened
733
</dd><dt><i>version</i></dt>
735
indication for the requested version (Qt 3 or Qt 4) (integer)
737
</dl><a NAME="UserInterface.__designer4" ID="UserInterface.__designer4"></a>
738
<h4>UserInterface.__designer4</h4>
739
<b>__designer4</b>(<i></i>)
741
Private slot to start the Qt-Designer 4 executable.
742
</p><a NAME="UserInterface.__editorOpened" ID="UserInterface.__editorOpened"></a>
743
<h4>UserInterface.__editorOpened</h4>
744
<b>__editorOpened</b>(<i>fn</i>)
746
Private slot to handle the editorOpened signal.
750
filename of the opened editor (QString)
752
</dl><a NAME="UserInterface.__executeDocumentAsScript" ID="UserInterface.__executeDocumentAsScript"></a>
753
<h4>UserInterface.__executeDocumentAsScript</h4>
754
<b>__executeDocumentAsScript</b>(<i></i>)
756
Private slot to handle the execute document as script menu action.
757
</p><a NAME="UserInterface.__executeScript" ID="UserInterface.__executeScript"></a>
758
<h4>UserInterface.__executeScript</h4>
759
<b>__executeScript</b>(<i></i>)
761
Private slot to execute a script.
762
</p><a NAME="UserInterface.__exportShortcuts" ID="UserInterface.__exportShortcuts"></a>
763
<h4>UserInterface.__exportShortcuts</h4>
764
<b>__exportShortcuts</b>(<i></i>)
766
Private slot to export the keyboard shortcuts.
767
</p><a NAME="UserInterface.__firstScriptAdded" ID="UserInterface.__firstScriptAdded"></a>
768
<h4>UserInterface.__firstScriptAdded</h4>
769
<b>__firstScriptAdded</b>(<i></i>)
771
Private slot to handle the firstScriptAdded signal
772
</p><a NAME="UserInterface.__getFloatingGeometry" ID="UserInterface.__getFloatingGeometry"></a>
773
<h4>UserInterface.__getFloatingGeometry</h4>
774
<b>__getFloatingGeometry</b>(<i>w</i>)
776
Private method to get the geometry of a floating windows.
780
reference to the widget to be saved (QWidget)
785
list giving the widget's geometry and it's visibility
787
</dl><a NAME="UserInterface.__helpClosed" ID="UserInterface.__helpClosed"></a>
788
<h4>UserInterface.__helpClosed</h4>
789
<b>__helpClosed</b>(<i></i>)
791
Private slot to handle the helpClosed signal of the help window.
792
</p><a NAME="UserInterface.__helpViewer" ID="UserInterface.__helpViewer"></a>
793
<h4>UserInterface.__helpViewer</h4>
794
<b>__helpViewer</b>(<i></i>)
796
Private slot to start an empty help viewer.
797
</p><a NAME="UserInterface.__importShortcuts" ID="UserInterface.__importShortcuts"></a>
798
<h4>UserInterface.__importShortcuts</h4>
799
<b>__importShortcuts</b>(<i></i>)
801
Private slot to import the keyboard shortcuts.
802
</p><a NAME="UserInterface.__initActions" ID="UserInterface.__initActions"></a>
803
<h4>UserInterface.__initActions</h4>
804
<b>__initActions</b>(<i></i>)
806
Private method to define the user interface actions.
807
</p><a NAME="UserInterface.__initEricDocAction" ID="UserInterface.__initEricDocAction"></a>
808
<h4>UserInterface.__initEricDocAction</h4>
809
<b>__initEricDocAction</b>(<i></i>)
811
Private slot to initialize the action to show the eric4 documentation.
812
</p><a NAME="UserInterface.__initMenus" ID="UserInterface.__initMenus"></a>
813
<h4>UserInterface.__initMenus</h4>
814
<b>__initMenus</b>(<i></i>)
816
Private slot to create the menus.
817
</p><a NAME="UserInterface.__initPythonDocAction" ID="UserInterface.__initPythonDocAction"></a>
818
<h4>UserInterface.__initPythonDocAction</h4>
819
<b>__initPythonDocAction</b>(<i></i>)
821
Private slot to initilize the action to show the Python documentation.
822
</p><a NAME="UserInterface.__initQtDocActions" ID="UserInterface.__initQtDocActions"></a>
823
<h4>UserInterface.__initQtDocActions</h4>
824
<b>__initQtDocActions</b>(<i></i>)
826
Private slot to initilize the action to show the Qt documentation.
827
</p><a NAME="UserInterface.__initStatusbar" ID="UserInterface.__initStatusbar"></a>
828
<h4>UserInterface.__initStatusbar</h4>
829
<b>__initStatusbar</b>(<i></i>)
831
Private slot to set up the status bar.
832
</p><a NAME="UserInterface.__initToolbars" ID="UserInterface.__initToolbars"></a>
833
<h4>UserInterface.__initToolbars</h4>
834
<b>__initToolbars</b>(<i></i>)
836
Private slot to create the toolbars.
837
</p><a NAME="UserInterface.__lastEditorClosed" ID="UserInterface.__lastEditorClosed"></a>
838
<h4>UserInterface.__lastEditorClosed</h4>
839
<b>__lastEditorClosed</b>(<i></i>)
841
Private slot to handle the lastEditorClosed signal.
842
</p><a NAME="UserInterface.__lastScriptDeleted" ID="UserInterface.__lastScriptDeleted"></a>
843
<h4>UserInterface.__lastScriptDeleted</h4>
844
<b>__lastScriptDeleted</b>(<i></i>)
846
Private slot to handle the lastScriptDeleted signal
847
</p><a NAME="UserInterface.__linguist" ID="UserInterface.__linguist"></a>
848
<h4>UserInterface.__linguist</h4>
849
<b>__linguist</b>(<i>fn = None, version = 3</i>)
851
Private slot to start the Qt-Linguist executable.
855
filename of the translation file to be opened
856
</dd><dt><i>version</i></dt>
858
indication for the requested version (Qt 3 or Qt 4) (integer)
860
</dl><a NAME="UserInterface.__linguist4" ID="UserInterface.__linguist4"></a>
861
<h4>UserInterface.__linguist4</h4>
862
<b>__linguist4</b>(<i>fn = None</i>)
864
Private slot to start the Qt-Linguist 4 executable.
868
filename of the translation file to be opened
870
</dl><a NAME="UserInterface.__loadScript" ID="UserInterface.__loadScript"></a>
871
<h4>UserInterface.__loadScript</h4>
872
<b>__loadScript</b>(<i></i>)
874
Private slot to handle the load script menu action.
875
</p><a NAME="UserInterface.__newProject" ID="UserInterface.__newProject"></a>
876
<h4>UserInterface.__newProject</h4>
877
<b>__newProject</b>(<i></i>)
879
Private slot to handle the NewProject signal.
880
</p><a NAME="UserInterface.__nextTab" ID="UserInterface.__nextTab"></a>
881
<h4>UserInterface.__nextTab</h4>
882
<b>__nextTab</b>(<i></i>)
884
Private slot used to show the next tab.
885
</p><a NAME="UserInterface.__preferences" ID="UserInterface.__preferences"></a>
886
<h4>UserInterface.__preferences</h4>
887
<b>__preferences</b>(<i>pageName = None</i>)
889
Private slot to set the preferences.
891
<dt><i>pageName</i></dt>
893
name of the configuration page to show (string or QString)
895
</dl><a NAME="UserInterface.__preferencesChanged" ID="UserInterface.__preferencesChanged"></a>
896
<h4>UserInterface.__preferencesChanged</h4>
897
<b>__preferencesChanged</b>(<i></i>)
899
Private slot to handle a change of the preferences.
900
</p><a NAME="UserInterface.__prevTab" ID="UserInterface.__prevTab"></a>
901
<h4>UserInterface.__prevTab</h4>
902
<b>__prevTab</b>(<i></i>)
904
Private slot used to show the previous tab.
905
</p><a NAME="UserInterface.__processToolStderr" ID="UserInterface.__processToolStderr"></a>
906
<h4>UserInterface.__processToolStderr</h4>
907
<b>__processToolStderr</b>(<i></i>)
909
Private slot to handle the readyReadStderr signal of a tool process.
910
</p><a NAME="UserInterface.__processToolStdout" ID="UserInterface.__processToolStdout"></a>
911
<h4>UserInterface.__processToolStdout</h4>
912
<b>__processToolStdout</b>(<i></i>)
914
Private slot to handle the readyReadStdout signal of a tool process.
915
</p><a NAME="UserInterface.__programChange" ID="UserInterface.__programChange"></a>
916
<h4>UserInterface.__programChange</h4>
917
<b>__programChange</b>(<i>fn</i>)
919
Private slot to handle the programChange signal.
921
This primarily is here to set the currentProg variable.
925
filename to be set as current prog (QString)
927
</dl><a NAME="UserInterface.__projectClosed" ID="UserInterface.__projectClosed"></a>
928
<h4>UserInterface.__projectClosed</h4>
929
<b>__projectClosed</b>(<i></i>)
931
Private slot to handle the projectClosed signal.
932
</p><a NAME="UserInterface.__projectOpened" ID="UserInterface.__projectOpened"></a>
933
<h4>UserInterface.__projectOpened</h4>
934
<b>__projectOpened</b>(<i></i>)
936
Private slot to handle the projectOpened signal.
937
</p><a NAME="UserInterface.__quit" ID="UserInterface.__quit"></a>
938
<h4>UserInterface.__quit</h4>
939
<b>__quit</b>(<i></i>)
941
Private method to quit the application.
942
</p><a NAME="UserInterface.__readTasks" ID="UserInterface.__readTasks"></a>
943
<h4>UserInterface.__readTasks</h4>
944
<b>__readTasks</b>(<i></i>)
946
Private slot to read in the tasks file (.e4t)
947
</p><a NAME="UserInterface.__reloadAPIs" ID="UserInterface.__reloadAPIs"></a>
948
<h4>UserInterface.__reloadAPIs</h4>
949
<b>__reloadAPIs</b>(<i></i>)
951
Private slot to reload the api information.
952
</p><a NAME="UserInterface.__reportBug" ID="UserInterface.__reportBug"></a>
953
<h4>UserInterface.__reportBug</h4>
954
<b>__reportBug</b>(<i></i>)
956
Private slot to handle the Report Bug dialog.
957
</p><a NAME="UserInterface.__saveCurrentViewProfile" ID="UserInterface.__saveCurrentViewProfile"></a>
958
<h4>UserInterface.__saveCurrentViewProfile</h4>
959
<b>__saveCurrentViewProfile</b>(<i>save</i>)
961
Private slot to save the window geometries of the active profile.
965
flag indicating that the current profile should
968
</dl><a NAME="UserInterface.__setEditProfile" ID="UserInterface.__setEditProfile"></a>
969
<h4>UserInterface.__setEditProfile</h4>
970
<b>__setEditProfile</b>(<i>save = True</i>)
972
Private slot to activate the edit view profile.
976
flag indicating that the current profile should
979
</dl><a NAME="UserInterface.__setStyle" ID="UserInterface.__setStyle"></a>
980
<h4>UserInterface.__setStyle</h4>
981
<b>__setStyle</b>(<i></i>)
983
Private slot to set the style of the interface.
984
</p><a NAME="UserInterface.__setWindowCaption" ID="UserInterface.__setWindowCaption"></a>
985
<h4>UserInterface.__setWindowCaption</h4>
986
<b>__setWindowCaption</b>(<i>editor = None, project = None</i>)
988
Private method to set the caption of the Main Window.
990
<dt><i>editor</i></dt>
992
filename to be displayed (string or QString)
993
</dd><dt><i>project</i></dt>
995
project name to be displayed (string or QString)
997
</dl><a NAME="UserInterface.__setupDockWindow" ID="UserInterface.__setupDockWindow"></a>
998
<h4>UserInterface.__setupDockWindow</h4>
999
<b>__setupDockWindow</b>(<i>dock, where, widget, caption</i>)
1001
Private method to configure the dock window created with __createDockWindow().
1003
<dt><i>dock</i></dt>
1005
the dock window (QDockWindow)
1006
</dd><dt><i>where</i></dt>
1008
dock area to be docked to (Qt.DockWidgetArea)
1009
</dd><dt><i>widget</i></dt>
1011
widget to be shown in the dock window (QWidget)
1012
</dd><dt><i>caption</i></dt>
1014
caption of the dock window (string or QString)
1016
</dl><a NAME="UserInterface.__showChartables" ID="UserInterface.__showChartables"></a>
1017
<h4>UserInterface.__showChartables</h4>
1018
<b>__showChartables</b>(<i></i>)
1020
Private slot to show the character tables dialog.
1021
</p><a NAME="UserInterface.__showEricDoc" ID="UserInterface.__showEricDoc"></a>
1022
<h4>UserInterface.__showEricDoc</h4>
1023
<b>__showEricDoc</b>(<i></i>)
1025
Private slot to show the Eric documentation.
1026
</p><a NAME="UserInterface.__showExternalTools" ID="UserInterface.__showExternalTools"></a>
1027
<h4>UserInterface.__showExternalTools</h4>
1028
<b>__showExternalTools</b>(<i></i>)
1030
Private slot to display a dialog show a list of external tools used by eric4.
1031
</p><a NAME="UserInterface.__showHelpMenu" ID="UserInterface.__showHelpMenu"></a>
1032
<h4>UserInterface.__showHelpMenu</h4>
1033
<b>__showHelpMenu</b>(<i></i>)
1035
Private slot to display the Help menu.
1036
</p><a NAME="UserInterface.__showPixmap" ID="UserInterface.__showPixmap"></a>
1037
<h4>UserInterface.__showPixmap</h4>
1038
<b>__showPixmap</b>(<i>fn</i>)
1040
Private slot to show a pixmap in a dialog.
1041
</p><a NAME="UserInterface.__showPyQt4Doc" ID="UserInterface.__showPyQt4Doc"></a>
1042
<h4>UserInterface.__showPyQt4Doc</h4>
1043
<b>__showPyQt4Doc</b>(<i></i>)
1045
Private slot to show the PyQt4 documentation.
1046
</p><a NAME="UserInterface.__showPythonDoc" ID="UserInterface.__showPythonDoc"></a>
1047
<h4>UserInterface.__showPythonDoc</h4>
1048
<b>__showPythonDoc</b>(<i></i>)
1050
Private slot to show the Python documentation.
1051
</p><a NAME="UserInterface.__showQt4Doc" ID="UserInterface.__showQt4Doc"></a>
1052
<h4>UserInterface.__showQt4Doc</h4>
1053
<b>__showQt4Doc</b>(<i></i>)
1055
Private slot to show the Qt4 documentation.
1056
</p><a NAME="UserInterface.__showQtDoc" ID="UserInterface.__showQtDoc"></a>
1057
<h4>UserInterface.__showQtDoc</h4>
1058
<b>__showQtDoc</b>(<i></i>)
1060
Private slot to show the Qt documentation.
1061
</p><a NAME="UserInterface.__showToolGroupsMenu" ID="UserInterface.__showToolGroupsMenu"></a>
1062
<h4>UserInterface.__showToolGroupsMenu</h4>
1063
<b>__showToolGroupsMenu</b>(<i></i>)
1065
Private slot to display the Tool Groups menu.
1066
</p><a NAME="UserInterface.__showToolbarsMenu" ID="UserInterface.__showToolbarsMenu"></a>
1067
<h4>UserInterface.__showToolbarsMenu</h4>
1068
<b>__showToolbarsMenu</b>(<i></i>)
1070
Private slot to display the Toolbars menu.
1071
</p><a NAME="UserInterface.__showToolsMenu" ID="UserInterface.__showToolsMenu"></a>
1072
<h4>UserInterface.__showToolsMenu</h4>
1073
<b>__showToolsMenu</b>(<i></i>)
1075
Private slot to display the Tools menu.
1076
</p><a NAME="UserInterface.__showVersions" ID="UserInterface.__showVersions"></a>
1077
<h4>UserInterface.__showVersions</h4>
1078
<b>__showVersions</b>(<i></i>)
1080
Private slot to handle the Versions dialog.
1081
</p><a NAME="UserInterface.__showWindowMenu" ID="UserInterface.__showWindowMenu"></a>
1082
<h4>UserInterface.__showWindowMenu</h4>
1083
<b>__showWindowMenu</b>(<i></i>)
1085
Private slot to display the Window menu.
1086
</p><a NAME="UserInterface.__shutdown" ID="UserInterface.__shutdown"></a>
1087
<h4>UserInterface.__shutdown</h4>
1088
<b>__shutdown</b>(<i></i>)
1090
Private method to perform all neccessary steps to close down the IDE.
1094
flag indicating success
1096
</dl><a NAME="UserInterface.__toggleBrowser" ID="UserInterface.__toggleBrowser"></a>
1097
<h4>UserInterface.__toggleBrowser</h4>
1098
<b>__toggleBrowser</b>(<i></i>)
1100
Private slot to handle the toggle of the File Browser window.
1101
</p><a NAME="UserInterface.__toggleDebugViewer" ID="UserInterface.__toggleDebugViewer"></a>
1102
<h4>UserInterface.__toggleDebugViewer</h4>
1103
<b>__toggleDebugViewer</b>(<i></i>)
1105
Private slot to handle the toggle of the debug viewer.
1106
</p><a NAME="UserInterface.__toggleLogViewer" ID="UserInterface.__toggleLogViewer"></a>
1107
<h4>UserInterface.__toggleLogViewer</h4>
1108
<b>__toggleLogViewer</b>(<i></i>)
1110
Private slot to handle the toggle of the Log Viewer window.
1111
</p><a NAME="UserInterface.__toggleProjectBrowser" ID="UserInterface.__toggleProjectBrowser"></a>
1112
<h4>UserInterface.__toggleProjectBrowser</h4>
1113
<b>__toggleProjectBrowser</b>(<i></i>)
1115
Private slot to handle the toggle of the Project Browser window.
1116
</p><a NAME="UserInterface.__toggleShell" ID="UserInterface.__toggleShell"></a>
1117
<h4>UserInterface.__toggleShell</h4>
1118
<b>__toggleShell</b>(<i></i>)
1120
Private slot to handle the toggle of the Shell window .
1121
</p><a NAME="UserInterface.__toggleTaskViewer" ID="UserInterface.__toggleTaskViewer"></a>
1122
<h4>UserInterface.__toggleTaskViewer</h4>
1123
<b>__toggleTaskViewer</b>(<i></i>)
1125
Private slot to handle the toggle of the Task Viewer window.
1126
</p><a NAME="UserInterface.__toggleTemplateViewer" ID="UserInterface.__toggleTemplateViewer"></a>
1127
<h4>UserInterface.__toggleTemplateViewer</h4>
1128
<b>__toggleTemplateViewer</b>(<i></i>)
1130
Private slot to handle the toggle of the Template Viewer window.
1131
</p><a NAME="UserInterface.__toggleWindow" ID="UserInterface.__toggleWindow"></a>
1132
<h4>UserInterface.__toggleWindow</h4>
1133
<b>__toggleWindow</b>(<i>w</i>)
1135
Private method to toggle a workspace editor window.
1139
reference to the workspace editor window
1141
</dl><a NAME="UserInterface.__toolExecute" ID="UserInterface.__toolExecute"></a>
1142
<h4>UserInterface.__toolExecute</h4>
1143
<b>__toolExecute</b>(<i>act</i>)
1145
Private slot to execute a particular tool.
1149
reference to the action that was triggered (QAction)
1151
</dl><a NAME="UserInterface.__toolFinished" ID="UserInterface.__toolFinished"></a>
1152
<h4>UserInterface.__toolFinished</h4>
1153
<b>__toolFinished</b>(<i>exitCode, exitStatus</i>)
1155
Private slot to handle the finished signal of a tool process.
1157
<dt><i>exitCode</i></dt>
1159
exit code of the process (integer)
1160
</dd><dt><i>exitStatus</i></dt>
1162
exit status of the process (QProcess.ExitStatus)
1164
</dl><a NAME="UserInterface.__toolGroupSelected" ID="UserInterface.__toolGroupSelected"></a>
1165
<h4>UserInterface.__toolGroupSelected</h4>
1166
<b>__toolGroupSelected</b>(<i>act</i>)
1168
Private slot to set the current tool group.
1172
reference to the action that was triggered (QAction)
1174
</dl><a NAME="UserInterface.__toolGroupsConfiguration" ID="UserInterface.__toolGroupsConfiguration"></a>
1175
<h4>UserInterface.__toolGroupsConfiguration</h4>
1176
<b>__toolGroupsConfiguration</b>(<i></i>)
1178
Private slot to handle the tool groups configuration menu entry.
1179
</p><a NAME="UserInterface.__toolsConfiguration" ID="UserInterface.__toolsConfiguration"></a>
1180
<h4>UserInterface.__toolsConfiguration</h4>
1181
<b>__toolsConfiguration</b>(<i></i>)
1183
Private slot to handle the tools configuration menu entry.
1184
</p><a NAME="UserInterface.__unittest" ID="UserInterface.__unittest"></a>
1185
<h4>UserInterface.__unittest</h4>
1186
<b>__unittest</b>(<i></i>)
1188
Private slot for displaying the unittest dialog.
1189
</p><a NAME="UserInterface.__unittestProject" ID="UserInterface.__unittestProject"></a>
1190
<h4>UserInterface.__unittestProject</h4>
1191
<b>__unittestProject</b>(<i></i>)
1193
Private slot for displaying the unittest dialog and run the current project.
1194
</p><a NAME="UserInterface.__unittestRestart" ID="UserInterface.__unittestRestart"></a>
1195
<h4>UserInterface.__unittestRestart</h4>
1196
<b>__unittestRestart</b>(<i></i>)
1198
Private slot to display the unittest dialog and rerun the last test.
1199
</p><a NAME="UserInterface.__unittestScript" ID="UserInterface.__unittestScript"></a>
1200
<h4>UserInterface.__unittestScript</h4>
1201
<b>__unittestScript</b>(<i>prog = None</i>)
1203
Private slot for displaying the unittest dialog and run the current script.
1205
<dt><i>prog</i></dt>
1207
the python program to be opened
1209
</dl><a NAME="UserInterface.__versionsDownloadCanceled" ID="UserInterface.__versionsDownloadCanceled"></a>
1210
<h4>UserInterface.__versionsDownloadCanceled</h4>
1211
<b>__versionsDownloadCanceled</b>(<i></i>)
1213
Private method called to cancel the version check.
1214
</p><a NAME="UserInterface.__versionsDownloadDone" ID="UserInterface.__versionsDownloadDone"></a>
1215
<h4>UserInterface.__versionsDownloadDone</h4>
1216
<b>__versionsDownloadDone</b>(<i>error</i>)
1218
Private method called, after the versions file has been downloaded
1221
<dt><i>error</i></dt>
1223
flag indicating an error condition (boolean)
1225
</dl><a NAME="UserInterface.__webBrowser" ID="UserInterface.__webBrowser"></a>
1226
<h4>UserInterface.__webBrowser</h4>
1227
<b>__webBrowser</b>(<i>home = None</i>)
1229
Private slot to start a web browser executable.
1231
<dt><i>home</i></dt>
1233
full pathname of a file to display (string or QString)
1235
</dl><a NAME="UserInterface.__whatsThis" ID="UserInterface.__whatsThis"></a>
1236
<h4>UserInterface.__whatsThis</h4>
1237
<b>__whatsThis</b>(<i></i>)
1239
Private slot called in to enter Whats This mode.
1240
</p><a NAME="UserInterface.__writeTasks" ID="UserInterface.__writeTasks"></a>
1241
<h4>UserInterface.__writeTasks</h4>
1242
<b>__writeTasks</b>(<i></i>)
1244
Private slot to write the tasks data to an XML file (.e4t).
1245
</p><a NAME="UserInterface.checkConfigurationStatus" ID="UserInterface.checkConfigurationStatus"></a>
1246
<h4>UserInterface.checkConfigurationStatus</h4>
1247
<b>checkConfigurationStatus</b>(<i></i>)
1249
Public method to check, if eric4 has been configured. If it is not,
1250
the configuration dialog is shown.
1251
</p><a NAME="UserInterface.closeEvent" ID="UserInterface.closeEvent"></a>
1252
<h4>UserInterface.closeEvent</h4>
1253
<b>closeEvent</b>(<i>event</i>)
1255
Private event handler for the close event.
1257
This event handler saves the preferences.
1259
<dt><i>event</i></dt>
1261
close event (QCloseEvent)
1263
</dl><a NAME="UserInterface.dragEnterEvent" ID="UserInterface.dragEnterEvent"></a>
1264
<h4>UserInterface.dragEnterEvent</h4>
1265
<b>dragEnterEvent</b>(<i>event</i>)
1267
Protected method to handle the drag enter event.
1269
<dt><i>event</i></dt>
1271
the drag enter event (QDragEnterEvent)
1273
</dl><a NAME="UserInterface.dragLeaveEvent" ID="UserInterface.dragLeaveEvent"></a>
1274
<h4>UserInterface.dragLeaveEvent</h4>
1275
<b>dragLeaveEvent</b>(<i>event</i>)
1277
Protected method to handle the drag leave event.
1279
<dt><i>event</i></dt>
1281
the drag leave event (QDragLeaveEvent)
1283
</dl><a NAME="UserInterface.dragMoveEvent" ID="UserInterface.dragMoveEvent"></a>
1284
<h4>UserInterface.dragMoveEvent</h4>
1285
<b>dragMoveEvent</b>(<i>event</i>)
1287
Protected method to handle the drag move event.
1289
<dt><i>event</i></dt>
1291
the drag move event (QDragMoveEvent)
1293
</dl><a NAME="UserInterface.dropEvent" ID="UserInterface.dropEvent"></a>
1294
<h4>UserInterface.dropEvent</h4>
1295
<b>dropEvent</b>(<i>event</i>)
1297
Protected method to handle the drop event.
1299
<dt><i>event</i></dt>
1301
the drop event (QDropEvent)
1303
</dl><a NAME="UserInterface.getActions" ID="UserInterface.getActions"></a>
1304
<h4>UserInterface.getActions</h4>
1305
<b>getActions</b>(<i></i>)
1307
Public method to get a list of all actions.
1311
list of all actions (list of E4Action)
1313
</dl><a NAME="UserInterface.getViewProfile" ID="UserInterface.getViewProfile"></a>
1314
<h4>UserInterface.getViewProfile</h4>
1315
<b>getViewProfile</b>(<i></i>)
1317
Public method to get the current view profile.
1321
the name of the current view profile (string)
1323
</dl><a NAME="UserInterface.launchHelpViewer" ID="UserInterface.launchHelpViewer"></a>
1324
<h4>UserInterface.launchHelpViewer</h4>
1325
<b>launchHelpViewer</b>(<i>home</i>)
1327
Public slot to start the help viewer.
1329
<dt><i>home</i></dt>
1331
filename of file to be shown
1333
</dl><a NAME="UserInterface.performVersionCheck" ID="UserInterface.performVersionCheck"></a>
1334
<h4>UserInterface.performVersionCheck</h4>
1335
<b>performVersionCheck</b>(<i>manual = True, alternative = 0</i>)
1337
Public method to check the internet for an eric4 update.
1339
<dt><i>manual</i></dt>
1341
flag indicating an invocation via the menu (boolean)
1343
</dl><a NAME="UserInterface.processArgs" ID="UserInterface.processArgs"></a>
1344
<h4>UserInterface.processArgs</h4>
1345
<b>processArgs</b>(<i>args</i>)
1347
Public method to process the command line args passed to the UI.
1349
<dt><i>args</i></dt>
1351
list of files to open<br />
1352
The args are processed one at a time. All arguments after a
1353
'--' option are considered debug arguments to the program
1354
for the debugger. All files named before the '--' option
1355
are opened in a text editor, unless the argument ends in
1356
.e3p, .e3pz, .e4p or .e4pz, then it is opened as a project file.
1358
</dl><a NAME="UserInterface.setDebugProfile" ID="UserInterface.setDebugProfile"></a>
1359
<h4>UserInterface.setDebugProfile</h4>
1360
<b>setDebugProfile</b>(<i>save = True</i>)
1362
Public slot to activate the debug view profile.
1364
<dt><i>save</i></dt>
1366
flag indicating that the current profile should
1369
</dl><a NAME="UserInterface.showLogTab" ID="UserInterface.showLogTab"></a>
1370
<h4>UserInterface.showLogTab</h4>
1371
<b>showLogTab</b>(<i>tabname</i>)
1373
Public method to show a particular Log-Viewer tab.
1375
<dt><i>tabname</i></dt>
1377
string naming the tab to be shown (string)
1380
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'