ewoksorange.gui.canvas.config.Config#
- class ewoksorange.gui.canvas.config.Config[source]#
Bases:
Config- APPLICATION_URLS: Dict[str, str | None] = {'Bug Report': None, 'Documentation': None, 'Donate': None, 'FAQ': None, 'Feedback': None, 'Quick Start': None, 'Screencasts': None}#
Standard application urls. If defined to a valid url appropriate actions are defined in various contexts
- AppUserModelID: str | None = None#
AppUserModelID as used on windows for grouping in the task bar (https://docs.microsoft.com/en-us/windows/win32/shell/appids). This ensures the program does not group with other Python programs and gets its own task icon.
- ApplicationName: str = 'Orange Canvas'#
The application name
- ApplicationVersion: str = '4.27.0'#
Version
- OrganizationDomain: str = 'biolab.si'#
Organization domain
- static addon_defaults_list(session=None)[source]#
Return a list of available add-ons.
- Parameters:
session (
Optional[Session])- Return type:
List[Dict[str,Any]]
- static core_packages()[source]#
Return a list of ‘core packages’
These packages constitute required the application framework. They cannot be removes via the ‘Add-on/plugins’ manager. They however can be updated. The package that defines the application’s main() entry point must always be in this list.
- Return type:
List[str]
- static examples_entry_points()[source]#
Return all EXAMPLE_WORKFLOWS_ENTRY entry points.
- Return type:
Tuple[EntryPoint]
- init()[source]#
Initialize the QCoreApplication.organizationDomain, applicationName, applicationVersion and the default settings format.
Should only be run once at application startup.
- static splash_screen()[source]#
Return a splash screen pixmap and an text area within it.
The text area is used for displaying text messages during application startup.
The default implementation returns a bland rectangle splash screen.
- Return type:
Tuple[QPixmap,QRect]
Returns#
- tTuple[QPixmap, QRect]
A QPixmap and a rect area within it.
- static tutorials_entry_points()#
Return all EXAMPLE_WORKFLOWS_ENTRY entry points.
- Return type:
Tuple[EntryPoint]