vi
¶
Subpackages¶
vi.actions
vi.framework
vi.sidebarwidgets
vi.translations
vi.views
vi.widgets
vi.widgets.accordion
vi.widgets.appnavigation
vi.widgets.code
vi.widgets.csvexport
vi.widgets.edit
vi.widgets.file
vi.widgets.hierarchy
vi.widgets.htmleditor
vi.widgets.internaledit
vi.widgets.list
vi.widgets.preview
vi.widgets.repeatdate
vi.widgets.search
vi.widgets.sidebar
vi.widgets.table
vi.widgets.task
vi.widgets.tooltip
vi.widgets.topbar
vi.widgets.tree
vi.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.Screen
This 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.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.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¶