mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
WIP: use new QualityChangesGroups
This commit is contained in:
parent
d84ea07e9e
commit
bf2317a74d
6 changed files with 97 additions and 23 deletions
|
|
@ -40,18 +40,21 @@ Menu
|
|||
Instantiator
|
||||
{
|
||||
id: customProfileInstantiator
|
||||
model: Cura.UserProfilesModel
|
||||
model: Cura.NewCustomQualityProfilesModel
|
||||
|
||||
Connections
|
||||
{
|
||||
onModelReset: customSeparator.visible = rowCount() > 0
|
||||
target: Cura.NewCustomQualityProfilesModel
|
||||
onModelReset: customSeparator.visible = Cura.NewCustomQualityProfilesModel.rowCount() > 0
|
||||
}
|
||||
|
||||
MenuItem
|
||||
{
|
||||
text: model.name
|
||||
checkable: true
|
||||
checked: Cura.MachineManager.activeQualityChangesId == model.id
|
||||
checkable: model.available
|
||||
checked: Cura.MachineManager.activeQualityChangesId == model.id // TODO: fix for new
|
||||
exclusiveGroup: group
|
||||
onTriggered: Cura.MachineManager.setActiveQuality(model.id)
|
||||
onTriggered: Cura.MachineManager.setActiveQuality(model.id) // TODO: fix for new
|
||||
}
|
||||
|
||||
onObjectAdded:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue