vi¶
Subpackages¶
vi.actionsvi.frameworkvi.sidebarwidgetsvi.translationsvi.viewsvi.widgetsvi.widgets.accordionvi.widgets.appnavigationvi.widgets.codevi.widgets.csvexportvi.widgets.editvi.widgets.filevi.widgets.hierarchyvi.widgets.htmleditorvi.widgets.internaleditvi.widgets.listvi.widgets.previewvi.widgets.repeatdatevi.widgets.searchvi.widgets.sidebarvi.widgets.tablevi.widgets.taskvi.widgets.tooltipvi.widgets.topbarvi.widgets.treevi.widgets.userlogoutmsg
Submodules¶
Package Contents¶
Classes¶
This is the screen superclass. |
|
This is the screen superclass. |
|
Functions¶
|
Attributes¶
- vi.vi_conf¶
- class vi.LoginScreen(*args, **kwargs)¶
Bases:
vi.screen.ScreenThis is the screen superclass.
It represents a basic screen and its functionality.
- invoke(self, logout=False)¶
Is called to show the screen
- onLogoutSuccess(self, *args, **kwargs)¶
- doShowLogin(self, req, code, *args, **kwargs)¶
- insufficientRights(self)¶
- doSkipLogin(self, req)¶
- onGetAuthMethodsSuccess(self, req)¶
- selectHandler(self, handler=None)¶
- onGetAuthMethodsFailure(self, *args, **kwargs)¶
- redirectNoAdmin(self)¶
- class vi.AdminScreen(*args, **kwargs)¶
Bases:
vi.screen.ScreenThis 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.conf¶
- class vi.Application¶
Bases:
flare.html5.Div- startup(self, *args, **kwargs)¶
- getVersionSuccess(self, req)¶
- getConfigSuccess(self, req)¶
- startupFailure(self, req, err)¶
- login(self, logout=False)¶
- admin(self)¶
- logout(self)¶
- setTitle(self, title=None)¶
- setPath(self, path='')¶
- vi.start()¶
- vi.s¶
- vi.a¶
- vi.d¶
- vi.sc¶
- vi.scinv¶
- vi.s¶