mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Add docs for quality models
This commit is contained in:
parent
52da140833
commit
a395f93706
2 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,9 @@ from PyQt5.QtCore import Qt, pyqtSlot
|
|||
from UM.Qt.ListModel import ListModel
|
||||
|
||||
|
||||
#
|
||||
# This the QML model for the quality management page.
|
||||
#
|
||||
class QualityManagementModel(ListModel):
|
||||
NameRole = Qt.UserRole + 1
|
||||
IsReadOnlyRole = Qt.UserRole + 2
|
||||
|
|
|
@ -6,11 +6,12 @@ from PyQt5.QtCore import Qt
|
|||
from UM.Application import Application
|
||||
from UM.Logger import Logger
|
||||
from UM.Qt.ListModel import ListModel
|
||||
|
||||
from cura.Machines.QualityManager import QualityGroup
|
||||
|
||||
|
||||
#
|
||||
# QML Model for all built-in quality profiles.
|
||||
# QML Model for all built-in quality profiles. This model is used for the drop-down quality menu.
|
||||
#
|
||||
class QualityProfilesModel(ListModel):
|
||||
NameRole = Qt.UserRole + 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue