vi.admin
¶
Module Contents¶
Classes¶
This is the screen superclass. |
Attributes¶
- class vi.admin.AdminScreen(*args, **kwargs)¶
Bases:
vi.screen.Screen
This is the screen superclass.
It represents a basic screen and its functionality.
- onClick(self, event)¶
- reset(self)¶
- invoke(self)¶
Is called to show the screen
- getCurrentUser(self)¶
- getCurrentUserSuccess(self, req)¶
- getCurrentUserFailure(self, req, code)¶
- startup(self)¶
- initializeViews(self)¶
- initializeConfig(self)¶
- openView(self, name, icon, viewName, moduleName, actionName, data, focusView=True, append=False, target='mainNav')¶
- openNewMainView(self, name, icon, viewName, moduleName, actionName, data, focusView=True, append=False)¶
- openNewPopup(self, name, icon, viewName, moduleName, actionName, data, focusView=True, append=False)¶
- log(self, type, msg, icon=None, modul=None, action=None, key=None, data=None)¶
- checkInitialHash(self, *args, **kwargs)¶
- execCall(self, path, params=None)¶
Performs an execution call.
- Parameters
path – Path to the module and action
params – Parameters passed to the module
- stackWidget(self, widget, disableOtherWidgets=True)¶
We dont stack widgets anymore. We use now Popups.
- removeWidget(self, widget)¶
- switchFullscreen(self, fullscreen=True)¶
- isFullscreen(self)¶
- onError(self, req, code)¶
- vi.admin.viInitializedEvent¶