|
def | __init__ (self, tray_icon_name=None, **kwargs) |
|
def | recentFiles (self) |
|
def | run (self) |
| Run the main event loop. More...
|
|
def | hideMessage (self, message) |
|
def | showMessage (self, message) |
|
def | showToastMessage (self, str title, str message) |
|
def | setMainQml (self, path) |
|
def | initializeEngine (self) |
|
def | exec_ (self, *args, **kwargs) |
|
def | reloadQML (self) |
|
def | purgeWindows (self) |
|
def | isShuttingDown (self) |
|
def | registerObjects (self, engine) |
|
def | getRenderer (self) |
| Return an application-specific Renderer object. More...
|
|
def | addCommandLineOptions (self, parser, parsed_command_line={}) |
| Can be overridden to add additional command line options to the parser. More...
|
|
def | getMainWindow (self) |
|
def | getSplashScreen (self) |
|
def | setMainWindow (self, window) |
|
def | setVisible (self, visible) |
|
def | isVisible (self) |
|
def | getTheme (self) |
|
def | functionEvent (self, event) |
| Post a function event onto the event loop. More...
|
|
def | event (self, event) |
|
def | windowClosed (self) |
|
def | checkWindowMinimizedState (self) |
|
def | getBackend (self) |
| Get the backend of the application (the program that does the heavy lifting). More...
|
|
def | backend (self) |
|
def | loadQtTranslation (self, file_name, language="default") |
| Load a Qt translation catalog. More...
|
|
def | createSplash (self) |
|
def | showSplashMessage (self, message) |
| Display text on the splash screen.
|
|
def | closeSplash (self) |
| Close the splash screen after the application has started.
|
|
Optional["QObject"] | createQmlComponent (self, str qml_file_path, Dict[str, "QObject"] context_properties=None) |
| Create a QML component from a qml file. More...
|
|
def | preventComputerFromSleeping (self, prevent) |
|
def | __init__ (self, str name, str version, str build_type="", is_debug_mode=False, parser=None, parsed_command_line={}, **kwargs) |
| Init method. More...
|
|
def | getContainerRegistry (self) |
|
def | setGlobalContainerStack (self, "ContainerStack" stack) |
|
Optional["ContainerStack"] | getGlobalContainerStack (self) |
|
def | isExitAllowed (self) |
|
str | getVersion (self) |
| Get the version of the application. More...
|
|
def | getStaticVersion (cls) |
|
str | getBuildType (self) |
| Get the buildtype of the application. More...
|
|
bool | getIsDebugMode (self) |
|
def | hideMessageById (self, message_id) |
| Hide message by ID (as provided by built-in id function) More...
|
|
def | getVisibleMessages (self) |
| Get list of all visible messages. More...
|
|
def | getCommandLineOption (self, name, default=None) |
|
str | getApplicationName (self) |
| Get name of the application. More...
|
|
def | getApplicationLanguage (self) |
| Get the currently used IETF language tag. More...
|
|
def | getRequiredPlugins (self) |
| Application has a list of plugins that it must have. More...
|
|
def | setRequiredPlugins (self, List[str] plugin_names) |
| Set the plugins that the application must have in order to function. More...
|
|
def | setBackend (self, "Backend" backend) |
| Set the backend of the application (the program that does the heavy lifting). More...
|
|
PluginRegistry | getPluginRegistry (self) |
| Get the PluginRegistry of this application. More...
|
|
Controller | getController (self) |
| Get the Controller of this application. More...
|
|
MeshFileHandler | getMeshFileHandler (self) |
| Get the MeshFileHandler of this application. More...
|
|
WorkspaceFileHandler | getWorkspaceFileHandler (self) |
|
OperationStack | getOperationStack (self) |
|
OutputDeviceManager | getOutputDeviceManager (self) |
|
def | preRun (self) |
| Includes eg. More...
|
|
def | callLater (self, Callable[[Any], Any] func, *args, **kwargs) |
| Call a function the next time the event loop runs. More...
|
|
def | getMainThread (self) |
| Get the application"s main thread.
|
|
"Application" | getInstance (cls, **kwargs) |
| Return the singleton instance of the application object.
|
|
def | getCommandlineParser (self, with_help=False) |
|
def | parseCommandLine (self) |
|
def | addExtension (self, "Extension" extension) |
|
List["Extension"] | getExtensions (self) |
|
Application subclass that provides a Qt application object.