Eidolon
|
Classes | |
class | Project |
class | SceneManager |
Functions | |
def | createSceneMgr (win, conf=None) |
def | getSceneMgr () |
def | addPlugin (plug) |
def | loadUserPlugins (conf) |
def | initializePlugins () |
def | cleanupPlugins () |
def | _saveLogFileAction (self) |
def func(w): if isinstance(w,self.getPlugin('Plot').BasePlotWidget): sources.append((' +–> '+str(w.objectName()),w,w.width(),w.height())) return False return True More... | |
Variables | |
globalMgr | |
globalPlugins | |
|
private |
def func(w): if isinstance(w,self.getPlugin('Plot').BasePlotWidget): sources.append((' +–> '+str(w.objectName()),w,w.width(),w.height())) return False return True
traverseWidget(d,func) # add any pyqtgraph types to list
Called when the user chooses a filename for a log file.
def eidolon.SceneManager.addPlugin | ( | plug | ) |
Add a plugin to the plugins list, which will be loaded (by calling its init()) method when the global scene manager is creates. If a plugin of the same type as `plug' is already added, `plug' will not be added. Returns `plug' if added, or the plugin with the same type as `plug' if not.
def eidolon.SceneManager.cleanupPlugins | ( | ) |
Call cleanup() on all listed plugins.
def eidolon.SceneManager.createSceneMgr | ( | win, | |
conf = None |
|||
) |
Create the global scene manager (if not already created) and initialize plugins. Returns the scene manager.
def eidolon.SceneManager.getSceneMgr | ( | ) |
Returns the global scene manager.
def eidolon.SceneManager.initializePlugins | ( | ) |
Initializes all plugins by calling the init() method on each in `globalPlugins'.
def eidolon.SceneManager.loadUserPlugins | ( | conf | ) |
Imports plugins from the user-provided plugin directory (by default ~/.eidolon/plugins). This is done by attempting to import every directory or file ending in .py found the conf.get(platformID,ConfVars.userplugindir) directory.
globalMgr |
globalPlugins |