Module implementing the main user interface.
None |
Redirector | Helper class used to redirect stdout and stderr to the log window |
UserInterface | Class implementing the main user interface. |
None |
Helper class used to redirect stdout and stderr to the log window
None |
None |
Redirector | Constructor |
__bufferedWrite | Private method returning number of characters to write. |
__nWrite | Private method used to write data. |
flush | Public method used to flush the buffered data. |
write | Public method used to write data. |
None |
Constructor
Private method returning number of characters to write.
Private method used to write data.
Public method used to flush the buffered data.
Public method used to write data.
Class implementing the main user interface.
maxFilePathLen |
maxMenuFilePathLen |
maxSbFilePathLen |
None |
UserInterface | Constructor |
__TBMenuTriggered | Private method to handle the toggle of a toolbar. |
__TRPreviewer | Private slot to start the Translation Previewer executable. |
__UIPreviewer | Private slot to start the UI Previewer executable. |
__activateBrowser | Private slot to handle the activation of the file browser. |
__activateDebugViewer | Private slot to handle the activation of the debug browser. |
__activateLogViewer | Private slot to handle the activation of the Log Viewer. |
__activateMultiProjectBrowser | Private slot to handle the activation of the project browser. |
__activateProjectBrowser | Private slot to handle the activation of the project browser. |
__activateShell | Private slot to handle the activation of the Shell window. |
__activateTaskViewer | Private slot to handle the activation of the Task Viewer. |
__activateTemplateViewer | Private slot to handle the activation of the Template Viewer. |
__activateTerminal | Private slot to handle the activation of the Terminal window. |
__activateViewProfile | Private slot to activate a view profile. |
__activateViewmanager | Private slot to handle the activation of the current editor. |
__assistant | Private slot to start the Qt-Assistant executable. |
__assistant4 | Private slot to start the Qt-Assistant 4 executable. |
__checkActions | Private slot to check some actions for their enable/disable status. |
__chmViewer | Private slot to start the win help viewer to show *.chm files. |
__compareFiles | Private slot to handle the Compare Files dialog. |
__compareFilesSbs | Private slot to handle the Compare Files dialog. |
__configShortcuts | Private slot to configure the keyboard shortcuts. |
__configToolBars | Private slot to configure the various toolbars. |
__configViewProfiles | Private slot to configure the various view profiles. |
__configureDockareaCornerUsage | Private method to configure the usage of the dockarea corners. |
__createDockWindow | Private method to create a dock window with common properties. |
__createDockWindowsLayout | Private method to create the DockWindows layout. |
__createFloatingWindowsLayout | Private method to create the FloatingWindows layout. |
__createLayout | Private method to create the layout of the various windows. |
__createSidebarsLayout | Private method to create the Sidebars layout. |
__createToolboxesLayout | Private method to create the Toolboxes layout. |
__customViewer | Private slot to start a custom viewer. |
__debuggingStarted | Private slot to handle the start of a debugging session. |
__deinstallPlugin | Private slot to show a dialog to uninstall a plugin. |
__designer | Private slot to start the Qt-Designer executable. |
__designer4 | Private slot to start the Qt-Designer 4 executable. |
__editPixmap | Private slot to show a pixmap in a dialog. |
__editorOpened | Private slot to handle the editorOpened signal. |
__exportPreferences | Private slot to export the current preferences. |
__exportShortcuts | Private slot to export the keyboard shortcuts. |
__getFloatingGeometry | Private method to get the geometry of a floating windows. |
__helpClosed | Private slot to handle the helpClosed signal of the help window. |
__helpViewer | Private slot to start an empty help viewer. |
__importPreferences | Private slot to import preferences. |
__importShortcuts | Private slot to import the keyboard shortcuts. |
__initActions | Private method to define the user interface actions. |
__initEricDocAction | Private slot to initialize the action to show the eric4 documentation. |
__initExternalToolsActions | Private slot to create actions for the configured external tools. |
__initKdeDocActions | Private slot to initilize the action to show the KDE4 documentation. |
__initMenus | Private slot to create the menus. |
__initPySideDocActions | Private slot to initilize the action to show the PySide documentation. |
__initPythonDocAction | Private slot to initilize the action to show the Python documentation. |
__initQtDocActions | Private slot to initilize the action to show the Qt documentation. |
__initStatusbar | Private slot to set up the status bar. |
__initToolbars | Private slot to create the toolbars. |
__installPlugins | Private slot to show a dialog to install a new plugin. |
__lastEditorClosed | Private slot to handle the lastEditorClosed signal. |
__linguist | Private slot to start the Qt-Linguist executable. |
__linguist4 | Private slot to start the Qt-Linguist 4 executable. |
__newProject | Private slot to handle the NewProject signal. |
__openMiniEditor | Private slot to show a mini editor window. |
__openOnStartup | Private method to open the last file, project or multiproject. |
__pluginsConfigure | Private slot to show the plugin manager configuration page. |
__preferencesChanged | Private slot to handle a change of the preferences. |
__processToolStderr | Private slot to handle the readyReadStderr signal of a tool process. |
__processToolStdout | Private slot to handle the readyReadStdout signal of a tool process. |
__programChange | Private slot to handle the programChange signal. |
__projectClosed | Private slot to handle the projectClosed signal. |
__projectOpened | Private slot to handle the projectOpened signal. |
__proxyAuthenticationRequired | Private slot to handle a proxy authentication request. |
__quit | Private method to quit the application. |
__readSession | Private slot to read in the session file (.e4s) |
__readTasks | Private slot to read in the tasks file (.e4t) |
__reloadAPIs | Private slot to reload the api information. |
__reportBug | Private slot to handle the Report Bug dialog. |
__requestFeature | Private slot to handle the Feature Request dialog. |
__restart | Private method to restart the application. |
__saveCurrentViewProfile | Private slot to save the window geometries of the active profile. |
__setEditProfile | Private slot to activate the edit view profile. |
__setStyle | Private slot to set the style of the interface. |
__setWindowCaption | Private method to set the caption of the Main Window. |
__setupDockWindow | Private method to configure the dock window created with __createDockWindow(). |
__showAvailableVersionInfos | Private method to show the versions available for download. |
__showEmailDialog | Private slot to show the email dialog in a given mode. |
__showEricDoc | Private slot to show the Eric documentation. |
__showExternalTools | Private slot to display a dialog show a list of external tools used by eric4. |
__showExtrasMenu | Private slot to display the Extras menu. |
__showFileMenu | Private slot to display the File menu. |
__showHelpMenu | Private slot to display the Help menu. |
__showNext | Private slot used to show the next tab or file. |
__showPixmap | Private slot to show a pixmap in a dialog. |
__showPluginInfo | Private slot to show the plugin info dialog. |
__showPluginsAvailable | Private slot to show the plugins available for download. |
__showPrevious | Private slot used to show the previous tab or file. |
__showPyKDE4Doc | Private slot to show the PyKDE4 documentation. |
__showPyQt4Doc | Private slot to show the PyQt4 documentation. |
__showPySideDoc | Private slot to show the PySide documentation. |
__showPythonDoc | Private slot to show the Python documentation. |
__showQt4Doc | Private slot to show the Qt4 documentation. |
__showSvg | Private slot to show a SVG file in a dialog. |
__showSystemEmailClient | Private slot to show the system email dialog. |
__showToolGroupsMenu | Private slot to display the Tool Groups menu. |
__showToolbarsMenu | Private slot to display the Toolbars menu. |
__showToolsMenu | Private slot to display the Tools menu. |
__showVersions | Private slot to handle the Versions dialog. |
__showWindowMenu | Private slot to display the Window menu. |
__showWizardsMenu | Private slot to display the Wizards menu. |
__shutdown | Private method to perform all necessary steps to close down the IDE. |
__sqlBrowser | Private slot to start the SQL browser tool. |
__sslErrors | Private slot to handle SSL errors. |
__startToolProcess | Private slot to start an external tool process. |
__startWebBrowser | Private slot to start the eric4 web browser. |
__switchTab | Private slot used to switch between the current and the previous current tab. |
__toggleBottomSidebar | Private slot to handle the toggle of the bottom sidebar window. |
__toggleBrowser | Private slot to handle the toggle of the File Browser window. |
__toggleDebugViewer | Private slot to handle the toggle of the debug viewer. |
__toggleHorizontalToolbox | Private slot to handle the toggle of the Horizontal Toolbox window. |
__toggleLeftSidebar | Private slot to handle the toggle of the left sidebar window. |
__toggleLogViewer | Private slot to handle the toggle of the Log Viewer window. |
__toggleMultiProjectBrowser | Private slot to handle the toggle of the Project Browser window. |
__toggleProjectBrowser | Private slot to handle the toggle of the Project Browser window. |
__toggleShell | Private slot to handle the toggle of the Shell window . |
__toggleTaskViewer | Private slot to handle the toggle of the Task Viewer window. |
__toggleTemplateViewer | Private slot to handle the toggle of the Template Viewer window. |
__toggleTerminal | Private slot to handle the toggle of the Terminal window . |
__toggleVerticalToolbox | Private slot to handle the toggle of the Vertical Toolbox window. |
__toggleWindow | Private method to toggle a workspace editor window. |
__toolActionTriggered | Private slot called by external tools toolbar actions. |
__toolExecute | Private slot to execute a particular tool. |
__toolFinished | Private slot to handle the finished signal of a tool process. |
__toolGroupSelected | Private slot to set the current tool group. |
__toolGroupsConfiguration | Private slot to handle the tool groups configuration menu entry. |
__toolsConfiguration | Private slot to handle the tools configuration menu entry. |
__unittest | Private slot for displaying the unittest dialog. |
__unittestProject | Private slot for displaying the unittest dialog and run the current project. |
__unittestRestart | Private slot to display the unittest dialog and rerun the last test. |
__unittestScript | Private slot for displaying the unittest dialog and run the current script. |
__updateExternalToolsActions | Private method to update the external tools actions for the current tool group. |
__updateVersionsUrls | Private method to update the URLs from which to retrieve the versions file. |
__versionCheckResult | Private method to show the result of the version check action. |
__versionsDownloadCanceled | Private method called to cancel the version check. |
__versionsDownloadDone | Private method called, after the versions file has been downloaded from the internet. |
__webBrowser | Private slot to start a web browser executable. |
__whatsThis | Private slot called in to enter Whats This mode. |
__writeSession | Private slot to write the session data to an XML file (.e4s). |
__writeTasks | Private slot to write the tasks data to an XML file (.e4t). |
addE4Actions | Public method to add actions to the list of actions. |
appendToStderr | Public slot to append text to the stderr log viewer tab. |
appendToStdout | Public slot to append text to the stdout log viewer tab. |
checkConfigurationStatus | Public method to check, if eric4 has been configured. |
checkForErrorLog | Public method to check for the presence of an error log and ask the user, what to do with it. |
closeEvent | Private event handler for the close event. |
dragEnterEvent | Protected method to handle the drag enter event. |
dragLeaveEvent | Protected method to handle the drag leave event. |
dragMoveEvent | Protected method to handle the drag move event. |
dropEvent | Protected method to handle the drop event. |
getActions | Public method to get a list of all actions. |
getLocale | Public method to get the locale of the IDE. |
getMenu | Public method to get a reference to a specific menu. |
getMenuAction | Public method to get a reference to an action of a menu. |
getMenuBarAction | Public method to get a reference to an action of the main menu. |
getToolBarIconSize | Public method to get the toolbar icon size. |
getToolbar | Public method to get a reference to a specific toolbar. |
getViewProfile | Public method to get the current view profile. |
launchHelpViewer | Public slot to start the help viewer. |
performVersionCheck | Public method to check the internet for an eric4 update. |
processArgs | Public method to process the command line args passed to the UI. |
registerToolbar | Public method to register a toolbar. |
removeE4Actions | Public method to remove actions from the list of actions. |
reregisterToolbar | Public method to change the visible text for the named toolbar. |
setDebugProfile | Public slot to activate the debug view profile. |
showAvailableVersionsInfo | Public method to show the eric4 versions available for download. |
showEvent | Protected method to handle the show event. |
showLogTab | Public method to show a particular Log-Viewer tab. |
showPreferences | Public slot to set the preferences. |
unregisterToolbar | Public method to unregister a toolbar. |
versionIsNewer | Public method to check, if the eric4 version is good compared to the required version. |
None |
Constructor
Private method to handle the toggle of a toolbar.
Private slot to start the Translation Previewer executable.
Private slot to start the UI Previewer executable.
Private slot to handle the activation of the file browser.
Private slot to handle the activation of the debug browser.
Private slot to handle the activation of the Log Viewer.
Private slot to handle the activation of the project browser.
Private slot to handle the activation of the project browser.
Private slot to handle the activation of the Shell window.
Private slot to handle the activation of the Task Viewer.
Private slot to handle the activation of the Template Viewer.
Private slot to handle the activation of the Terminal window.
Private slot to activate a view profile.
Private slot to handle the activation of the current editor.
Private slot to start the Qt-Assistant executable.
Private slot to start the Qt-Assistant 4 executable.
Private slot to check some actions for their enable/disable status.
Private slot to start the win help viewer to show *.chm files.
Private slot to handle the Compare Files dialog.
Private slot to handle the Compare Files dialog.
Private slot to configure the keyboard shortcuts.
Private slot to configure the various toolbars.
Private slot to configure the various view profiles.
Private method to configure the usage of the dockarea corners.
Private method to create a dock window with common properties.
Private method to create the DockWindows layout.
Private method to create the FloatingWindows layout.
Private method to create the layout of the various windows.
Private method to create the Sidebars layout.
Private method to create the Toolboxes layout.
Private slot to start a custom viewer.
Private slot to handle the start of a debugging session.
Private slot to show a dialog to uninstall a plugin.
Private slot to start the Qt-Designer executable.
Private slot to start the Qt-Designer 4 executable.
Private slot to show a pixmap in a dialog.
Private slot to handle the editorOpened signal.
Private slot to export the current preferences.
Private slot to export the keyboard shortcuts.
Private method to get the geometry of a floating windows.
Private slot to handle the helpClosed signal of the help window.
Private slot to start an empty help viewer.
Private slot to import preferences.
Private slot to import the keyboard shortcuts.
Private method to define the user interface actions.
Private slot to initialize the action to show the eric4 documentation.
Private slot to create actions for the configured external tools.
Private slot to initilize the action to show the KDE4 documentation.
Private slot to create the menus.
Private slot to initilize the action to show the PySide documentation.
Private slot to initilize the action to show the Python documentation.
Private slot to initilize the action to show the Qt documentation.
Private slot to set up the status bar.
Private slot to create the toolbars.
Private slot to show a dialog to install a new plugin.
Private slot to handle the lastEditorClosed signal.
Private slot to start the Qt-Linguist executable.
Private slot to start the Qt-Linguist 4 executable.
Private slot to handle the NewProject signal.
Private slot to show a mini editor window.
Private method to open the last file, project or multiproject.
Private slot to show the plugin manager configuration page.
Private slot to handle a change of the preferences.
Private slot to handle the readyReadStderr signal of a tool process.
Private slot to handle the readyReadStdout signal of a tool process.
Private slot to handle the programChange signal.
This primarily is here to set the currentProg variable.
Private slot to handle the projectClosed signal.
Private slot to handle the projectOpened signal.
Private slot to handle a proxy authentication request.
Private method to quit the application.
Private slot to read in the session file (.e4s)
Private slot to read in the tasks file (.e4t)
Private slot to reload the api information.
Private slot to handle the Report Bug dialog.
Private slot to handle the Feature Request dialog.
Private method to restart the application.
Private slot to save the window geometries of the active profile.
Private slot to activate the edit view profile.
Private slot to set the style of the interface.
Private method to set the caption of the Main Window.
Private method to configure the dock window created with __createDockWindow().
Private method to show the versions available for download.
Private slot to show the email dialog in a given mode.
Private slot to show the Eric documentation.
Private slot to display a dialog show a list of external tools used by eric4.
Private slot to display the Extras menu.
Private slot to display the File menu.
Private slot to display the Help menu.
Private slot used to show the next tab or file.
Private slot to show a pixmap in a dialog.
Private slot to show the plugin info dialog.
Private slot to show the plugins available for download.
Private slot used to show the previous tab or file.
Private slot to show the PyKDE4 documentation.
Private slot to show the PyQt4 documentation.
Private slot to show the PySide documentation.
Private slot to show the Python documentation.
Private slot to show the Qt4 documentation.
Private slot to show a SVG file in a dialog.
Private slot to show the system email dialog.
Private slot to display the Tool Groups menu.
Private slot to display the Toolbars menu.
Private slot to display the Tools menu.
Private slot to handle the Versions dialog.
Private slot to display the Window menu.
Private slot to display the Wizards menu.
Private method to perform all necessary steps to close down the IDE.
Private slot to start the SQL browser tool.
Private slot to handle SSL errors.
Private slot to start an external tool process.
Private slot to start the eric4 web browser.
Private slot used to switch between the current and the previous current tab.
Private slot to handle the toggle of the bottom sidebar window.
Private slot to handle the toggle of the File Browser window.
Private slot to handle the toggle of the debug viewer.
Private slot to handle the toggle of the Horizontal Toolbox window.
Private slot to handle the toggle of the left sidebar window.
Private slot to handle the toggle of the Log Viewer window.
Private slot to handle the toggle of the Project Browser window.
Private slot to handle the toggle of the Project Browser window.
Private slot to handle the toggle of the Shell window .
Private slot to handle the toggle of the Task Viewer window.
Private slot to handle the toggle of the Template Viewer window.
Private slot to handle the toggle of the Terminal window .
Private slot to handle the toggle of the Vertical Toolbox window.
Private method to toggle a workspace editor window.
Private slot called by external tools toolbar actions.
Private slot to execute a particular tool.
Private slot to handle the finished signal of a tool process.
Private slot to set the current tool group.
Private slot to handle the tool groups configuration menu entry.
Private slot to handle the tools configuration menu entry.
Private slot for displaying the unittest dialog.
Private slot for displaying the unittest dialog and run the current project.
Private slot to display the unittest dialog and rerun the last test.
Private slot for displaying the unittest dialog and run the current script.
Private method to update the external tools actions for the current tool group.
Private method to update the URLs from which to retrieve the versions file.
Private method to show the result of the version check action.
Private method called to cancel the version check.
Private method called, after the versions file has been downloaded from the internet.
Private slot to start a web browser executable.
Private slot called in to enter Whats This mode.
Private slot to write the session data to an XML file (.e4s).
Private slot to write the tasks data to an XML file (.e4t).
Public method to add actions to the list of actions.
Public slot to append text to the stderr log viewer tab.
Public slot to append text to the stdout log viewer tab.
Public method to check, if eric4 has been configured. If it is not, the configuration dialog is shown.
Public method to check for the presence of an error log and ask the user, what to do with it.
Private event handler for the close event.
This event handler saves the preferences.
Protected method to handle the drag enter event.
Protected method to handle the drag leave event.
Protected method to handle the drag move event.
Protected method to handle the drop event.
Public method to get a list of all actions.
Public method to get the locale of the IDE.
Public method to get a reference to a specific menu.
Public method to get a reference to an action of a menu.
Public method to get a reference to an action of the main menu.
Public method to get the toolbar icon size.
Public method to get a reference to a specific toolbar.
Public method to get the current view profile.
Public slot to start the help viewer.
Public method to check the internet for an eric4 update.
Public method to process the command line args passed to the UI.
Public method to register a toolbar.
This method must be called in order to make a toolbar manageable by the UserInterface object.
Public method to remove actions from the list of actions.
Public method to change the visible text for the named toolbar.
Public slot to activate the debug view profile.
Public method to show the eric4 versions available for download.
Protected method to handle the show event.
Public method to show a particular Log-Viewer tab.
Public slot to set the preferences.
Public method to unregister a toolbar.
Public method to check, if the eric4 version is good compared to the required version.