mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Added getters for MachineAction
CURA-1385
This commit is contained in:
parent
06dfb73602
commit
b899c65027
1 changed files with 7 additions and 0 deletions
|
|
@ -7,5 +7,12 @@ from UM.PluginObject import PluginObject
|
||||||
|
|
||||||
class MachineAction(QObject, PluginObject):
|
class MachineAction(QObject, PluginObject):
|
||||||
def __init__(self, key, label = ""):
|
def __init__(self, key, label = ""):
|
||||||
|
super().__init__()
|
||||||
self._key = key
|
self._key = key
|
||||||
self._label = label
|
self._label = label
|
||||||
|
|
||||||
|
def getKey(self):
|
||||||
|
return self._key
|
||||||
|
|
||||||
|
def getLabel(self):
|
||||||
|
return self._label
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue