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.
BottomSide |
ErrorLogFileName |
LeftSide |
RightSide |
maxFilePathLen |
maxMenuFilePathLen |
None |
UserInterface | Constructor |
__TBMenuTriggered | Private method to handle the toggle of a toolbar via the Window-> Toolbars submenu. |
__TBPopupMenuTriggered | Private method to handle the toggle of a toolbar via the QMainWindow Toolbars popup menu. |
__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. |
__activateCondaWidget | Private slot to handle the activation of the Conda manager widget. |
__activateIRC | Private slot to handle the activation of the IRC window. |
__activateLogViewer | Private slot to handle the activation of the Log Viewer. |
__activateMicroPython | Private slot to handle the activation of the MicroPython widget. |
__activateMultiProjectBrowser | Private slot to handle the activation of the project browser. |
__activateNumbersViewer | Private slot to handle the activation of the Numbers Viewer. |
__activatePipWidget | Private slot to handle the activation of the PyPI manager widget. |
__activateProjectBrowser | Private slot to handle the activation of the project browser. |
__activateShell | Private slot to handle the activation of the Shell window. |
__activateSymbolsViewer | Private slot to handle the activation of the Symbols Viewer. |
__activateTaskViewer | Private slot to handle the activation of the Task Viewer. |
__activateTemplateViewer | Private slot to handle the activation of the Template Viewer. |
__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. |
__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. |
__clearPrivateData | Private slot to clear the private data lists. |
__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. |
__connectToWebBrowser | Private method to connect to a started web browser. |
__createDockWindow | Private method to create a dock window with common properties. |
__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. |
__createUnitTestDialog | Private slot to generate the unit test dialog on demand. |
__customViewer | Private slot to start a custom viewer. |
__debuggingDone | Private slot to handle the end of a debugging session. |
__debuggingStarted | Private slot to handle the start of a debugging session. |
__deinstallPlugin | Private slot to show a dialog to uninstall a plugin. |
__deleteCrashSession | Private slot to delete the crash session file. |
__designer | Private slot to start the Qt-Designer 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. |
__hasErrorLog | Private method to check, if an error log file exists. |
__helpViewer | Private slot to start an empty help viewer/web browser. |
__importPreferences | Private slot to import preferences. |
__importShortcuts | Private slot to import the keyboard shortcuts. |
__initActions | Private method to define the user interface actions. |
__initDebugToolbarsLayout | Private slot to initialize the toolbars layout for the debug profile. |
__initEricDocAction | Private slot to initialize the action to show the eric6 documentation. |
__initExternalToolsActions | Private slot to create actions for the configured external tools. |
__initMenus | Private slot to create the menus. |
__initPySideDocActions | Private slot to initialize the actions to show the PySide documentation. |
__initPythonDocActions | Private slot to initialize the actions to show the Python documentation. |
__initQtDocActions | Private slot to initialize the action to show the Qt documentation. |
__initStatusbar | Private slot to set up the status bar. |
__initToolbars | Private slot to create the toolbars. |
__initToolsMenus | Private slot to initialize the various tool menus. |
__installPlugins | Private slot to show a dialog to install a new plugin. |
__ircAutoConnected | Private slot handling the automatic connection of the IRC client. |
__lastEditorClosed | Private slot to handle the lastEditorClosed signal. |
__launchExternalWebBrowser | Private method to start an external web browser and communicate with it. |
__linguist | Private slot to start the Qt-Linguist executable. |
__loadSessionFromFile | Private slot to load a session from disk. |
__masterPasswordChanged | Private slot to handle the change of the master password. |
__newProject | Private slot to handle the NewProject signal. |
__newWindow | Private slot to start a new instance of eric6. |
__onlineStateChanged | Private slot handling changes in online state. |
__openHexEditor | Private slot to open the hex editor window. |
__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. |
__populateToolbarsMenu | Private method to populate a toolbars menu. |
__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. |
__quit | Private method to quit the application. |
__readCrashSession | Private method to check for and read a crash session. |
__readSession | Private slot to read in the session file (.e5s or .e4s). |
__readTasks | Private slot to read in the tasks file (.e6t). |
__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. |
__saveSessionToFile | Private slot to save a session to disk. |
__setEditProfile | Private slot to activate the edit view profile. |
__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. |
__showCertificatesDialog | Private slot to show the certificates management dialog. |
__showEricDoc | Private slot to show the Eric documentation. |
__showErrorLog | Private slot to show the most recent error log message. |
__showExternalTools | Private slot to display a dialog show a list of external tools used by eric6. |
__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. |
__showPluginToolsMenu | Private slot to show the Plugin Tools menu. |
__showPrevious | Private slot used to show the previous tab or file. |
__showPyQt5Doc | Private slot to show the PyQt5 documentation. |
__showPySideDoc | Private slot to show the PySide2 documentation. |
__showPythonDoc | Private slot to show the Python 3 documentation. |
__showQt5Doc | Private slot to show the Qt5 documentation. |
__showQtDoc | Private method to show the Qt documentation. |
__showSettingsMenu | Private slot to show the Settings menu. |
__showSubWindowMenu | Private slot to display the Window menu of the Window menu. |
__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. |
__showUserToolsMenu | Private slot to display the User 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. |
__snapshot | Private slot to start the snapshot tool. |
__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 eric6 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. |
__toggleHorizontalToolbox | Private slot to handle the toggle of the Horizontal Toolbox window. |
__toggleLeftSidebar | Private slot to handle the toggle of the left sidebar window. |
__toggleLeftToolbox | Private slot to handle the toggle of the Left Toolbox window. |
__toggleRightSidebar | Private slot to handle the toggle of the right sidebar window. |
__toggleRightToolbox | Private slot to handle the toggle of the Right 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. |
__unittestRerunFailed | Private slot to display the unittest dialog and rerun all failed tests of the last run. |
__unittestRestart | Private slot to display the unittest dialog and rerun the last unit test. |
__unittestScript | Private slot for displaying the unittest dialog and run the current script. |
__unittestStopped | Private slot to handle the end of a unit test run. |
__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. |
__versionToTuple | Private method to convert a version string into a tuple. |
__versionsDownloadCanceled | Private slot called to cancel the version check. |
__versionsDownloadDone | Private slot called, after the versions file has been downloaded from the internet. |
__webBrowser | Private slot to start the eric6 web browser. |
__webBrowserFinished | Private slot handling the end of the external web browser process. |
__webBrowserShutdown | Private method to shut down the web browser. |
__whatsThis | Private slot called in to enter Whats This mode. |
__writeCrashSession | Private slot to write a crash session file. |
__writeSession | Private slot to write the session data to an XML file (.e5s). |
__writeTasks | Private slot to write the tasks data to an XML file (.e6t). |
activateCodeDocumentationViewer | Public slot to handle the activation of the Code Documentation Viewer. |
activateCooperationViewer | Public slot to handle the activation of the cooperation window. |
activateDebugViewer | Public slot to handle the activation of the debug viewer. |
addE5Actions | Public method to add actions to the list of actions. |
addSideWidget | Public method to add a widget to the sides. |
appendToStderr | Public slot to append text to the stderr log viewer tab. |
appendToStdout | Public slot to append text to the stdout log viewer tab. |
autoConnectIrc | Public method to initiate the IRC auto connection. |
checkConfigurationStatus | Public method to check, if eric6 has been configured. |
checkForErrorLog | Public method to check for the presence of an error log and ask the user, what to do with it. |
checkPluginUpdatesAvailable | Public method to check the availability of updates of plug-ins. |
checkProjectsWorkspace | Public method to check, if a projects workspace has been configured. |
closeEvent | Protected event handler for the close event. |
createPopupMenu | Public method to create the toolbars menu for Qt. |
documentationViewer | Public method to provide a reference to the code documentation viewer. |
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. |
getLayoutType | Public method to get the current layout type. |
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. |
getOriginalPathString | Public method to get the original PATH environment variable (i.e. |
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. |
handleUrl | Public slot to handle opening a URL. |
isOnline | Public method to get the online state. |
launchHelpViewer | Public slot to start the help viewer/web browser. |
networkAccessManager | Public method to get a reference to the network access manager object. |
notificationsEnabled | Public method to check, if notifications are enabled. |
performVersionCheck | Public method to check the internet for an eric6 update. |
processArgs | Public method to process the command line args passed to the UI. |
registerToolbar | Public method to register a toolbar. |
removeE5Actions | Public method to remove actions from the list of actions. |
removeSideWidget | Public method to remove a widget added using addSideWidget(). |
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 eric6 versions available for download. |
showEmailDialog | Public slot to show the email dialog in a given mode. |
showEvent | Protected method to handle the show event. |
showFindFileByNameDialog | Public slot to show the Find File by Name dialog. |
showFindFilesDialog | Public slot to show the Find In Files dialog. |
showLogViewer | Public method to show the Log-Viewer. |
showNotification | Public method to show a desktop notification. |
showPluginsAvailable | Public slot to show the plugins available for download. |
showPreferences | Public slot to set the preferences. |
showReplaceFilesDialog | Public slot to show the Find & Replace In Files dialog. |
showSideWidget | Public method to show a specific widget placed in the side widgets. |
unregisterToolbar | Public method to unregister a toolbar. |
versionIsNewer | Public method to check, if the eric6 version is good compared to the required version. |
None |
Constructor
Private method to handle the toggle of a toolbar via the Window-> Toolbars submenu.
Private method to handle the toggle of a toolbar via the QMainWindow Toolbars popup menu.
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 Conda manager widget.
Private slot to handle the activation of the IRC window.
Private slot to handle the activation of the Log Viewer.
Private slot to handle the activation of the MicroPython widget.
Private slot to handle the activation of the project browser.
Private slot to handle the activation of the Numbers Viewer.
Private slot to handle the activation of the PyPI manager widget.
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 Symbols Viewer.
Private slot to handle the activation of the Task Viewer.
Private slot to handle the activation of the Template Viewer.
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 check some actions for their enable/disable status.
Private slot to start the win help viewer to show *.chm files.
Private slot to clear the private data lists.
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 connect to a started web browser.
Private method to create a dock window with common properties.
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 generate the unit test dialog on demand.
Private slot to start a custom viewer.
Private slot to handle the end of a debugging session.
Private slot to handle the start of a debugging session.
Private slot to show a dialog to uninstall a plugin.
Private slot to delete the crash session file.
Private slot to start the Qt-Designer 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 method to check, if an error log file exists.
Private slot to start an empty help viewer/web browser.
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 toolbars layout for the debug profile.
Private slot to initialize the action to show the eric6 documentation.
Private slot to create actions for the configured external tools.
Private slot to create the menus.
Private slot to initialize the actions to show the PySide documentation.
Private slot to initialize the actions to show the Python documentation.
Private slot to initialize the action to show the Qt documentation.
Private slot to set up the status bar.
Private slot to create the toolbars.
Private slot to initialize the various tool menus.
Private slot to show a dialog to install a new plugin.
Private slot handling the automatic connection of the IRC client.
Private slot to handle the lastEditorClosed signal.
Private method to start an external web browser and communicate with it.
Private slot to start the Qt-Linguist executable.
Private slot to load a session from disk.
Private slot to handle the change of the master password.
Private slot to handle the NewProject signal.
Private slot to start a new instance of eric6.
Private slot handling changes in online state.
Private slot to open the hex editor window.
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 method to populate a toolbars menu.
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 method to quit the application.
Private method to check for and read a crash session.
Private slot to read in the session file (.e5s or .e4s).
Private slot to read in the tasks file (.e6t).
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 save a session to disk.
Private slot to activate the edit view profile.
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 certificates management dialog.
Private slot to show the Eric documentation.
Private slot to show the most recent error log message.
Private slot to display a dialog show a list of external tools used by eric6.
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 Plugin Tools menu.
Private slot used to show the previous tab or file.
Private slot to show the PyQt5 documentation.
Private slot to show the PySide2 documentation.
Private slot to show the Python 3 documentation.
Private slot to show the Qt5 documentation.
Private method to show the Qt documentation.
Private slot to show the Settings menu.
Private slot to display the Window menu of the Window menu.
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 User 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 snapshot tool.
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 eric6 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 Horizontal Toolbox window.
Private slot to handle the toggle of the left sidebar window.
Private slot to handle the toggle of the Left Toolbox window.
Private slot to handle the toggle of the right sidebar window.
Private slot to handle the toggle of the Right 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 all failed tests of the last run.
Private slot to display the unittest dialog and rerun the last unit test.
Private slot for displaying the unittest dialog and run the current script.
Private slot to handle the end of a unit test run.
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 to convert a version string into a tuple.
Private slot called to cancel the version check.
Private slot called, after the versions file has been downloaded from the internet.
Private slot to start the eric6 web browser.
Private slot handling the end of the external web browser process.
Private method to shut down the web browser.
Private slot called in to enter Whats This mode.
Private slot to write a crash session file.
Private slot to write the session data to an XML file (.e5s).
Private slot to write the tasks data to an XML file (.e6t).
Public slot to handle the activation of the Code Documentation Viewer.
Public slot to handle the activation of the cooperation window.
Public slot to handle the activation of the debug viewer.
Public method to add actions to the list of actions.
Public method to add a widget to the sides.
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 initiate the IRC auto connection.
Public method to check, if eric6 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.
Public method to check the availability of updates of plug-ins.
Public method to check, if a projects workspace has been configured. If it has not, a dialog is shown.
Protected event handler for the close event.
This event handler saves the preferences.
Public method to create the toolbars menu for Qt.
Public method to provide a reference to the code documentation viewer.
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 current layout type.
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 original PATH environment variable (i.e. before modifications by eric6 and PyQt5).
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 handle opening a URL.
Public method to get the online state.
Public slot to start the help viewer/web browser.
Public method to get a reference to the network access manager object.
Public method to check, if notifications are enabled.
Public method to check the internet for an eric6 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 remove a widget added using addSideWidget().
Public method to change the visible text for the named toolbar.
Public slot to activate the debug view profile.
Public method to show the eric6 versions available for download.
Public slot to show the email dialog in a given mode.
Protected method to handle the show event.
Public slot to show the Find File by Name dialog.
Public slot to show the Find In Files dialog.
Public method to show the Log-Viewer.
Public method to show a desktop notification.
Public slot to show the plugins available for download.
Public slot to set the preferences.
Public slot to show the Find & Replace In Files dialog.
Public method to show a specific widget placed in the side widgets.
Public method to unregister a toolbar.
Public method to check, if the eric6 version is good compared to the required version.