Module initializes system at startup, terminates it, when Enki closed, and used for get core instances, such as main window, workspace, etc.
Bases: QObject
Core object initializes system at startup and terminates when closing.
It creates instances of other core modules and holds references to it
restoreSession()
Signal for session plugin. Emitted, when initialization has been finished and all files, listed in the command line has been opened. Only if user hadn’t passed –no-session key
aboutToTerminate()
Signal emitted, before closing all files and terminating Enki
settingsDialogAccepted()
Signal emitted, when settings dialog had been accepted
Initialize core.
Called only by main()
Terminate plugins and core modules
Called only by main()
Get enki.core.mainwindow.MainWindow instance
Get main window :enki.core.actionmanager.ActionManager instance
Get enki.core.workspace.Workspace instance
Get enki.core.config.Config instance
Get list of curretly loaded plugins (:enki.core.Plugin instances)
Negative file filter
See :enki.core.filefilter
:enki.core.locator.Locator instance
Widget, which appears on Ctrl+L. Allows to execute textual commands Extendable with new commands
:enki.core.uisettings.UISettingsManager instance
Settings dialogue (Edit -> Settings) manager. Use it for adding own settings to the dialogue
Dictionary of command line arguments, passed on Enki start
Project support core module
:enki.core.project.Project
Core instance. It is accessible as:
from enki.core.core import core
core.anyMethod()