mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:39:03 +08:00
placing Setting loaded from ucp on top before Suggested Profile setting
CURA-11721
This commit is contained in:
parent
4e564c7eb5
commit
cf7f807b41
@ -156,46 +156,6 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
WorkspaceSection
|
|
||||||
{
|
|
||||||
id: profileSection
|
|
||||||
title: manager.isUcp? catalog.i18nc("@action:label", "Suggested Profile settings"):catalog.i18nc("@action:label", "Profile settings")
|
|
||||||
iconSource: UM.Theme.getIcon("Sliders")
|
|
||||||
content: Column
|
|
||||||
{
|
|
||||||
id: profileSettingsValuesTable
|
|
||||||
spacing: UM.Theme.getSize("default_margin").height
|
|
||||||
leftPadding: UM.Theme.getSize("medium_button_icon").width + UM.Theme.getSize("default_margin").width
|
|
||||||
|
|
||||||
WorkspaceRow
|
|
||||||
{
|
|
||||||
leftLabelText: catalog.i18nc("@action:label", "Name")
|
|
||||||
rightLabelText: manager.qualityName
|
|
||||||
visible: manager.isCompatibleMachine
|
|
||||||
}
|
|
||||||
|
|
||||||
WorkspaceRow
|
|
||||||
{
|
|
||||||
leftLabelText: catalog.i18nc("@action:label", "Intent")
|
|
||||||
rightLabelText: manager.intentName
|
|
||||||
visible: manager.isCompatibleMachine
|
|
||||||
}
|
|
||||||
|
|
||||||
WorkspaceRow
|
|
||||||
{
|
|
||||||
leftLabelText: catalog.i18nc("@action:label", "Not in profile")
|
|
||||||
rightLabelText: catalog.i18ncp("@action:label", "%1 override", "%1 overrides", manager.numUserSettings).arg(manager.numUserSettings)
|
|
||||||
visible: manager.numUserSettings != 0 && manager.isCompatibleMachine
|
|
||||||
}
|
|
||||||
|
|
||||||
WorkspaceRow
|
|
||||||
{
|
|
||||||
leftLabelText: catalog.i18nc("@action:label", "Derivative from")
|
|
||||||
rightLabelText: catalog.i18ncp("@action:label", "%1, %2 override", "%1, %2 overrides", manager.numSettingsOverridenByQualityChanges).arg(manager.qualityType).arg(manager.numSettingsOverridenByQualityChanges)
|
|
||||||
visible: manager.numSettingsOverridenByQualityChanges != 0 && manager.isCompatibleMachine
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WorkspaceSection
|
WorkspaceSection
|
||||||
{
|
{
|
||||||
id: ucpProfileSection
|
id: ucpProfileSection
|
||||||
@ -279,6 +239,47 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WorkspaceSection
|
||||||
|
{
|
||||||
|
id: profileSection
|
||||||
|
title: manager.isUcp? catalog.i18nc("@action:label", "Suggested Profile settings"):catalog.i18nc("@action:label", "Profile settings")
|
||||||
|
iconSource: UM.Theme.getIcon("Sliders")
|
||||||
|
content: Column
|
||||||
|
{
|
||||||
|
id: profileSettingsValuesTable
|
||||||
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
|
leftPadding: UM.Theme.getSize("medium_button_icon").width + UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
|
WorkspaceRow
|
||||||
|
{
|
||||||
|
leftLabelText: catalog.i18nc("@action:label", "Name")
|
||||||
|
rightLabelText: manager.qualityName
|
||||||
|
visible: manager.isCompatibleMachine
|
||||||
|
}
|
||||||
|
|
||||||
|
WorkspaceRow
|
||||||
|
{
|
||||||
|
leftLabelText: catalog.i18nc("@action:label", "Intent")
|
||||||
|
rightLabelText: manager.intentName
|
||||||
|
visible: manager.isCompatibleMachine
|
||||||
|
}
|
||||||
|
|
||||||
|
WorkspaceRow
|
||||||
|
{
|
||||||
|
leftLabelText: catalog.i18nc("@action:label", "Not in profile")
|
||||||
|
rightLabelText: catalog.i18ncp("@action:label", "%1 override", "%1 overrides", manager.numUserSettings).arg(manager.numUserSettings)
|
||||||
|
visible: manager.numUserSettings != 0 && !manager.isUcp
|
||||||
|
}
|
||||||
|
|
||||||
|
WorkspaceRow
|
||||||
|
{
|
||||||
|
leftLabelText: catalog.i18nc("@action:label", "Derivative from")
|
||||||
|
rightLabelText: catalog.i18ncp("@action:label", "%1, %2 override", "%1, %2 overrides", manager.numSettingsOverridenByQualityChanges).arg(manager.qualityType).arg(manager.numSettingsOverridenByQualityChanges)
|
||||||
|
visible: manager.numSettingsOverridenByQualityChanges != 0 && manager.isCompatibleMachine
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
WorkspaceSection
|
WorkspaceSection
|
||||||
{
|
{
|
||||||
id: materialSection
|
id: materialSection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user