Uranium
Application Framework
UM.OutputDevice.ProjectOutputDevice.ProjectOutputDevice Class Reference
Inheritance diagram for UM.OutputDevice.ProjectOutputDevice.ProjectOutputDevice:
UM.OutputDevice.OutputDevice.OutputDevice

Public Member Functions

def __init__ (self, str device_id, bool add_to_output_devices=False, parent=None, **kwargs)
 
bool enabled (self)
 
None enabled (self, bool enabled)
 
- Public Member Functions inherited from UM.OutputDevice.OutputDevice.OutputDevice
None __init__ (self, str device_id, **str kwargs)
 
str getId (self)
 
str getName (self)
 
None setName (self, str name)
 
str getShortDescription (self)
 
None setShortDescription (self, str description)
 
str getDescription (self)
 
None setDescription (self, str description)
 
str getIconName (self)
 
None setIconName (self, str name)
 
int getPriority (self)
 
None setPriority (self, int priority)
 
None requestWrite (self, List[SceneNode] nodes, Optional[str] file_name=None, bool limit_mimetypes=False, Optional[FileHandler] file_handler=None, bool filter_by_machine=False, **str kwargs)
 

Public Attributes

 add_to_output_devices
 
 menu_entry_text
 
 shortcut
 

Static Public Attributes

 enabledChanged = pyqtSignal()
 
- Static Public Attributes inherited from UM.OutputDevice.OutputDevice.OutputDevice
 metaDataChanged = Signal()
 
 writeStarted = Signal()
 
 writeProgress = Signal()
 
 writeFinished = Signal()
 
 writeError = Signal()
 
 writeSuccess = Signal()
 

Detailed Description

Extends the OutputDevice class for OutputeDevices that support saving project files.

Member Function Documentation

◆ enabled()

None UM.OutputDevice.ProjectOutputDevice.ProjectOutputDevice.enabled (   self,
bool  enabled 
)
Setter for the enable property. It ensures that a project output device that gets enabled is also added to
the output devices, if that is necessary.

:param enabled: Whether the device should be enabled or disabled

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