# eric6.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 eric6 compare dialog.
__startDiff | Private slot to start the eric6 diff dialog.
__startEric | Private slot to start the eric6 IDE.
__startHelpViewer | Private slot to start the eric6 web browser.
__startHexEditor | Private slot to start the eric6 hex editor dialog.
__startIconEditor | Private slot to start the eric6 icon editor dialog.
__startMiniEditor | Private slot to start the eric6 Mini Editor.
__startPluginInstall | Private slot to start the eric6 plugin installation dialog.
__startPluginRepository | Private slot to start the eric6 plugin repository dialog.
__startPluginUninstall | Private slot to start the eric6 plugin uninstallation dialog.
__startPreferences | Private slot to start the eric6 configuration dialog.
__startProc | Private method to start an eric6 application.
__startPyRe | Private slot to start the eric6 Python re editor dialog.
__startQRegExp | Private slot to start the eric6 QRegExp editor dialog.
__startShell | Private slot to start the eric6 Shell window.
__startSnapshot | Private slot to start the eric6 snapshot dialog.
__startSqlBrowser | Private slot to start the eric6 sql browser dialog.
__startTRPreviewer | Private slot to start the eric6 translations previewer.
__startUIPreviewer | Private slot to start the eric6 UI previewer.
__startUnittest | Private slot to start the eric6 unittest dialog.
preferencesChanged | Public slot to handle a change of preferences.

### Static Methods

None

#### TrayStarter (Constructor)

TrayStarter(usePyQt4, settingsDir)

Constructor

usePyQt4 (bool)
  flag indicating to use PyQt4
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
  reason code of the signal (QSystemTrayIcon.ActivationReason)

#### 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
  reference to the action that triggered (QAction)

#### 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 eric6 compare dialog.

#### TrayStarter.__startDiff

__startDiff()

Private slot to start the eric6 diff dialog.

#### TrayStarter.__startEric

__startEric()

Private slot to start the eric6 IDE.

#### TrayStarter.__startHelpViewer

__startHelpViewer()

Private slot to start the eric6 web browser.

#### TrayStarter.__startHexEditor

__startHexEditor()

Private slot to start the eric6 hex editor dialog.

#### TrayStarter.__startIconEditor

__startIconEditor()

Private slot to start the eric6 icon editor dialog.

#### TrayStarter.__startMiniEditor

__startMiniEditor()

Private slot to start the eric6 Mini Editor.

#### TrayStarter.__startPluginInstall

__startPluginInstall()

Private slot to start the eric6 plugin installation dialog.

#### TrayStarter.__startPluginRepository

__startPluginRepository()

Private slot to start the eric6 plugin repository dialog.

#### TrayStarter.__startPluginUninstall

__startPluginUninstall()

Private slot to start the eric6 plugin uninstallation dialog.

#### TrayStarter.__startPreferences

__startPreferences()

Private slot to start the eric6 configuration dialog.

#### TrayStarter.__startProc

__startProc(applName, *applArgs)

Private method to start an eric6 application.

applName
  name of the eric6 application script (string)
*applArgs
  variable list of application arguments

#### TrayStarter.__startPyRe

__startPyRe()

Private slot to start the eric6 Python re editor dialog.

#### TrayStarter.__startQRegExp

__startQRegExp()

Private slot to start the eric6 QRegExp editor dialog.

#### TrayStarter.__startShell

__startShell()

Private slot to start the eric6 Shell window.

#### TrayStarter.__startSnapshot

__startSnapshot()

Private slot to start the eric6 snapshot dialog.

#### TrayStarter.__startSqlBrowser

__startSqlBrowser()

Private slot to start the eric6 sql browser dialog.

#### TrayStarter.__startTRPreviewer

__startTRPreviewer()

Private slot to start the eric6 translations previewer.

#### TrayStarter.__startUIPreviewer

__startUIPreviewer()

Private slot to start the eric6 UI previewer.

#### TrayStarter.__startUnittest

__startUnittest()

Private slot to start the eric6 unittest dialog.

#### TrayStarter.preferencesChanged

preferencesChanged()

Public slot to handle a change of preferences.

Up