Uranium
Application Framework
Loading...
Searching...
No Matches
UM.OutputDevice.ProjectOutputDevice.ProjectOutputDevice Class Reference
Inheritance diagram for UM.OutputDevice.ProjectOutputDevice.ProjectOutputDevice:
UM.OutputDevice.OutputDevice.OutputDevice

Public Member Functions

 __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
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)
 

Static Public Member Functions

Optional[str] getLastOutputName ()
 
None setLastOutputName (Optional[str] name=None)
 

Public Attributes

 add_to_output_devices
 
 menu_entry_text
 
 shortcut
 

Static Public Attributes

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

Protected Attributes

 _enabled
 
- Protected Attributes inherited from UM.OutputDevice.OutputDevice.OutputDevice
 _id
 
 _name
 
 _short_description
 
 _description
 
 _icon_name
 
 _priority
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

UM.OutputDevice.ProjectOutputDevice.ProjectOutputDevice.__init__ ( self,
str device_id,
bool add_to_output_devices = False,
parent = None,
** kwargs )

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: