# eric7.Tools.TrayStarter

Module implementing a starter for the system tray.

### Global Attributes

None

### Classes

TrayStarter | Class implementing a starter for the system tray.

### Functions

None

## TrayStarter

Class implementing a starter for the system tray.

### Derived from

QSystemTrayIcon

### Class Attributes

None

### Class Methods

None

### Methods

TrayStarter | Constructor
__about | Private slot to handle the About dialog.
__activated | Private slot to handle the activated signal.
__loadRecentFiles | Private method to load the recently opened filenames.
__loadRecentMultiProjects | Private method to load the recently opened multi project filenames.
__loadRecentProjects | Private method to load the recently opened project filenames.
__openRecent | Private method to open a project or file from the list of recently opened projects or files.
__showContextMenu | Private slot to show the context menu.
__showPreferences | Private slot to set the preferences.
__showRecentFilesMenu | Private method to set up the recent files menu.
__showRecentMultiProjectsMenu | Private method to set up the recent multi projects menu.
__showRecentProjectsMenu | Private method to set up the recent projects menu.
__showVersions | Private slot to handle the Versions dialog.
__startCompare | Private slot to start the eric compare dialog.
__startDiff | Private slot to start the eric diff dialog.
__startEric | Private slot to start the eric IDE.
__startHexEditor | Private slot to start the eric hex editor dialog.
__startIconEditor | Private slot to start the eric icon editor dialog.
__startMiniEditor | Private slot to start the eric Mini Editor.
__startPdfViewer | Private slot to start the eric PDF Viewer window.
__startPip | Private slot to start the eric package manager (PyPI) window.
__startPluginInstall | Private slot to start the eric plugin installation dialog.
__startPluginRepository | Private slot to start the eric plugin repository dialog.
__startPluginUninstall | Private slot to start the eric plugin uninstallation dialog.
__startPreferences | Private slot to start the eric configuration dialog.
__startProc | Private method to start an eric application.
__startPyRe | Private slot to start the eric Python re editor dialog.
__startQRegularExpression | Private slot to start the eric QRegularExpression editor dialog.
__startShell | Private slot to start the eric Shell window.
__startSnapshot | Private slot to start the eric snapshot dialog.
__startSqlBrowser | Private slot to start the eric sql browser dialog.
__startTRPreviewer | Private slot to start the eric translations previewer.
__startTesting | Private slot to start the eric testing dialog.
__startUIPreviewer | Private slot to start the eric UI previewer.
__startVirtualenvManager | Private slot to start the eric virtual environments manager window.
__startWebBrowser | Private slot to start the eric web browser.
__startWebBrowserPrivate | Private slot to start the eric web browser in private mode.
__startWebBrowserQtHelp | Private slot to start the eric web browser with QtHelp support.
preferencesChanged | Public slot to handle a change of preferences.

### Static Methods

None

#### TrayStarter (Constructor)

TrayStarter(settingsDir)

Constructor

settingsDir (str)
  directory to be used for the settings files

#### TrayStarter.__about

__about()

Private slot to handle the About dialog.

#### TrayStarter.__activated

__activated(reason)

Private slot to handle the activated signal.

reason (QSystemTrayIcon.ActivationReason)
  reason code of the signal

#### TrayStarter.__loadRecentFiles

__loadRecentFiles()

Private method to load the recently opened filenames.

#### TrayStarter.__loadRecentMultiProjects

__loadRecentMultiProjects()

Private method to load the recently opened multi project filenames.

#### TrayStarter.__loadRecentProjects

__loadRecentProjects()

Private method to load the recently opened project filenames.

#### TrayStarter.__openRecent

__openRecent(act)

Private method to open a project or file from the list of recently opened projects or files.

act (QAction)
  reference to the action that triggered

#### TrayStarter.__showContextMenu

__showContextMenu()

Private slot to show the context menu.

#### TrayStarter.__showPreferences

__showPreferences()

Private slot to set the preferences.

#### TrayStarter.__showRecentFilesMenu

__showRecentFilesMenu()

Private method to set up the recent files menu.

#### TrayStarter.__showRecentMultiProjectsMenu

__showRecentMultiProjectsMenu()

Private method to set up the recent multi projects menu.

#### TrayStarter.__showRecentProjectsMenu

__showRecentProjectsMenu()

Private method to set up the recent projects menu.

#### TrayStarter.__showVersions

__showVersions()

Private slot to handle the Versions dialog.

#### TrayStarter.__startCompare

__startCompare()

Private slot to start the eric compare dialog.

#### TrayStarter.__startDiff

__startDiff()

Private slot to start the eric diff dialog.

#### TrayStarter.__startEric

__startEric()

Private slot to start the eric IDE.

#### TrayStarter.__startHexEditor

__startHexEditor()

Private slot to start the eric hex editor dialog.

#### TrayStarter.__startIconEditor

__startIconEditor()

Private slot to start the eric icon editor dialog.

#### TrayStarter.__startMiniEditor

__startMiniEditor()

Private slot to start the eric Mini Editor.

#### TrayStarter.__startPdfViewer

__startPdfViewer()

Private slot to start the eric PDF Viewer window.

#### TrayStarter.__startPip

__startPip()

Private slot to start the eric package manager (PyPI) window.

#### TrayStarter.__startPluginInstall

__startPluginInstall()

Private slot to start the eric plugin installation dialog.

#### TrayStarter.__startPluginRepository

__startPluginRepository()

Private slot to start the eric plugin repository dialog.

#### TrayStarter.__startPluginUninstall

__startPluginUninstall()

Private slot to start the eric plugin uninstallation dialog.

#### TrayStarter.__startPreferences

__startPreferences()

Private slot to start the eric configuration dialog.

#### TrayStarter.__startProc

__startProc(applName, *applArgs)

Private method to start an eric application.

applName (str)
  name of the eric application script
*applArgs (list of str)
  variable list of application arguments

#### TrayStarter.__startPyRe

__startPyRe()

Private slot to start the eric Python re editor dialog.

#### TrayStarter.__startQRegularExpression

__startQRegularExpression()

Private slot to start the eric QRegularExpression editor dialog.

#### TrayStarter.__startShell

__startShell()

Private slot to start the eric Shell window.

#### TrayStarter.__startSnapshot

__startSnapshot()

Private slot to start the eric snapshot dialog.

#### TrayStarter.__startSqlBrowser

__startSqlBrowser()

Private slot to start the eric sql browser dialog.

#### TrayStarter.__startTRPreviewer

__startTRPreviewer()

Private slot to start the eric translations previewer.

#### TrayStarter.__startTesting

__startTesting()

Private slot to start the eric testing dialog.

#### TrayStarter.__startUIPreviewer

__startUIPreviewer()

Private slot to start the eric UI previewer.

#### TrayStarter.__startVirtualenvManager

__startVirtualenvManager()

Private slot to start the eric virtual environments manager window.

#### TrayStarter.__startWebBrowser

__startWebBrowser()

Private slot to start the eric web browser.

#### TrayStarter.__startWebBrowserPrivate

__startWebBrowserPrivate()

Private slot to start the eric web browser in private mode.

#### TrayStarter.__startWebBrowserQtHelp

__startWebBrowserQtHelp()

Private slot to start the eric web browser with QtHelp support.

#### TrayStarter.preferencesChanged

preferencesChanged()

Public slot to handle a change of preferences.

Up