mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Singleton management in Cura
-QualityManagementModel, MaterialManagementModel, SimpleModeSettingsManager, MachineActionManager and CustomQualityProfilesDropDownMenuModel *deleted* -QualityProfilesDropDownmenuModel changed to RegisterType CURA-7812
This commit is contained in:
parent
b60b07e2b2
commit
11aa71a5df
4 changed files with 17 additions and 15 deletions
|
@ -12,6 +12,7 @@ import Cura 1.0 as Cura
|
|||
UM.ManagementPage
|
||||
{
|
||||
id: base
|
||||
property var machineActionManager: CuraApplication.getMachineActionManagerQml()
|
||||
Item { enabled: false; UM.I18nCatalog { id: catalog; name: "cura"} }
|
||||
|
||||
title: catalog.i18nc("@title:tab", "Printers")
|
||||
|
@ -58,10 +59,11 @@ UM.ManagementPage
|
|||
anchors.fill: parent
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
|
||||
|
||||
Repeater
|
||||
{
|
||||
id: machineActionRepeater
|
||||
model: base.currentItem ? Cura.MachineActionManager.getSupportedActions(Cura.MachineManager.getDefinitionByMachineId(base.currentItem.id)) : null
|
||||
model: base.currentItem ? machineActionManager.getSupportedActions(Cura.MachineManager.getDefinitionByMachineId(base.currentItem.id)) : null
|
||||
|
||||
Item
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue