mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 19:05:54 +08:00
Add documentation for getQualityGroups()
This commit is contained in:
parent
27f4574223
commit
e340f8e534
@ -205,6 +205,12 @@ class QualityManager(QObject):
|
|||||||
|
|
||||||
return quality_changes_group_dict
|
return quality_changes_group_dict
|
||||||
|
|
||||||
|
#
|
||||||
|
# Gets all quality groups for the given machine. Both available and none available ones will be included.
|
||||||
|
# It returns a dictionary with "quality_type"s as keys and "QualityGroup"s as values.
|
||||||
|
# Whether a QualityGroup is available can be unknown via the field QualityGroup.is_available.
|
||||||
|
# For more details, see QualityGroup.
|
||||||
|
#
|
||||||
def getQualityGroups(self, machine: "GlobalStack") -> dict:
|
def getQualityGroups(self, machine: "GlobalStack") -> dict:
|
||||||
machine_definition_id = getMachineDefinitionIDForQualitySearch(machine)
|
machine_definition_id = getMachineDefinitionIDForQualitySearch(machine)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user