ewoksorange.canvas.config.Config#

class ewoksorange.canvas.config.Config[source]#

Bases: Config

APPLICATION_URLS: Dict[str, Optional[str]] = {'Bug Report': None, 'Documentation': 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: Optional[str] = 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.25.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 addon_entry_points()[source]#
static addon_pypi_search_spec()[source]#
static application_icon()[source]#

Return the main application icon.

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 an EntryPoint iterator for all EXAMPLE_WORKFLOWS_ENTRY entry points.

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 an EntryPoint iterator for all EXAMPLE_WORKFLOWS_ENTRY entry points.

static widget_discovery(*args, **kwargs)[source]#
static widgets_entry_points()[source]#

Return an EntryPoint iterator for all WIDGETS_ENTRY entry points.

static workflow_constructor(*args, **kwargs)[source]#

The default workflow constructor.