Uranium
Application Framework
UM.Qt.QtApplication.QtApplication Class Reference
Inheritance diagram for UM.Qt.QtApplication.QtApplication:
UM.Application.Application

Public Member Functions

def __init__
 
def addCommandLineOptions (self)
 
def initialize (self)
 
def startSplashWindowPhase (self)
 
def readPreferencesFromConfiguration (self)
 
def initializeEngine (self)
 
def recentFiles (self)
 
def fileProviders (self)
 
def addFileToRecentFiles
 
def run (self)
 
def hideMessage
 
def showMessage
 
def showToastMessage
 
def setMainQml
 
def exec_
 
def reloadQML (self)
 
def purgeWindows (self)
 
def isShuttingDown (self)
 
def registerObjects (self, engine)
 
def getRenderer (self)
 
def getMainWindow (self)
 
def setMainWindow
 
def setVisible
 
def isVisible (self)
 
def getTheme (self)
 
def functionEvent
 
def event
 
def windowClosed
 
def checkWindowMinimizedState (self)
 
def getBackend (self)
 
def backend (self)
 
def createSplash (self)
 
def showSplashMessage
 
def closeSplash (self)
 
def createQmlComponent
 
def deleteAll (self, only_selectable=True)
 
def resetWorkspace (self)
 
def getMeshFileHandler (self)
 
def getWorkspaceFileHandler (self)
 
def getPackageManager (self)
 
def getHttpRequestManager (self)
 
def getInstance (cls, args, kwargs)
 
def applicationDisplayName (self)
 
- Public Member Functions inherited from UM.Application.Application
def __init__
 
def getAPIVersion (self)
 
def getWorkspaceMetadataStorage (self)
 
def getCurrentWorkspaceInformation (self)
 
def addCommandLineOptions (self)
 
def parseCliOptions (self)
 
def initialize (self)
 
def startSplashWindowPhase (self)
 
def startPostSplashWindowPhase (self)
 
def hasJustUpdatedFromOldVersion (self)
 
def run (self)
 
def getContainerRegistry (self)
 
def getApplicationLockFilename (self)
 
def setGlobalContainerStack
 
def getGlobalContainerStack (self)
 
def hideMessage
 
def showMessage
 
def showToastMessage
 
def getVersion (self)
 
def getBuildType (self)
 
def getIsDebugMode (self)
 
def getIsHeadLess (self)
 
def getUseExternalBackend (self)
 
def hideMessageById
 
def getVisibleMessages (self)
 
def getApplicationName (self)
 
def getApplicationDisplayName (self)
 
def getPreferences (self)
 
def savePreferences (self)
 
def getApplicationLanguage (self)
 
def getRequiredPlugins (self)
 
def setRequiredPlugins
 
def setBackend
 
def getBackend (self)
 
def getPluginRegistry (self)
 
def getController (self)
 
def getOperationStack (self)
 
def getOutputDeviceManager (self)
 
def getRenderer (self)
 
def functionEvent
 
def callLater
 
def getMainThread (self)
 
def addExtension
 
def getExtensions (self)
 
def addFileProvider
 
def getFileProviders (self)
 
def getInstance (cls, args, kwargs)
 

Static Public Attributes

 pluginsLoaded = Signal()
 
 applicationRunning = Signal()
 
 recentFilesChanged = pyqtSignal()
 
 notify
 
 fileProvidersChanged = pyqtSignal()
 
 engineCreatedSignal = Signal()
 
 mainWindowChanged = Signal()
 
 result
 
 constant
 
 splash = None
 
 str
 
- Static Public Attributes inherited from UM.Application.Application
 applicationShuttingDown = Signal()
 
 showMessageSignal = Signal()
 
 hideMessageSignal = Signal()
 
 globalContainerStackChanged = Signal()
 
 workspaceLoaded = Signal()
 
 visibleMessageAdded = Signal()
 
 visibleMessageRemoved = Signal()
 

Additional Inherited Members

- Static Public Member Functions inherited from UM.Application.Application
def getAppFolderPrefix ()
 
def getInstallPrefix ()
 
- Public Attributes inherited from UM.Application.Application
 default_theme
 

Detailed Description

Application subclass that provides a Qt application object.

Member Function Documentation

◆ backend()

def UM.Qt.QtApplication.QtApplication.backend (   self,
  Backend 
)
Property used to expose the backend

It is made static as the backend is not supposed to change during runtime.
This makes the connection between backend and QML more reliable than the pyqtSlot above.
:returns: Backend :type{Backend}

◆ closeSplash()

def UM.Qt.QtApplication.QtApplication.closeSplash (   self,
  None 
)
Close the splash screen after the application has started.

◆ deleteAll()

def UM.Qt.QtApplication.QtApplication.deleteAll (   self,
  only_selectable = True,
  None 
)
Delete all nodes containing mesh data in the scene.
:param only_selectable:. Set this to False to delete objects from all build plates

◆ getBackend()

def UM.Qt.QtApplication.QtApplication.getBackend (   self,
  Backend 
)
Get the backend of the application (the program that does the heavy lifting).

The backend is also a QObject, which can be used from qml.

◆ getInstance()

def UM.Qt.QtApplication.QtApplication.getInstance (   cls,
  args,
  kwargs,
  QtApplication 
)
Gets the instance of this application.

This is just to further specify the type of Application.getInstance().
:return: The instance of this application.

◆ getMeshFileHandler()

def UM.Qt.QtApplication.QtApplication.getMeshFileHandler (   self,
  MeshFileHandler 
)
Get the MeshFileHandler of this application.

The documentation for this class was generated from the following file: