mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Added SettingsInheritanceManager
CURA-2361
This commit is contained in:
parent
d0ad654108
commit
50f7c41ae4
4 changed files with 85 additions and 3 deletions
|
@ -17,15 +17,18 @@ Button {
|
|||
signal showTooltip(string text);
|
||||
signal hideTooltip();
|
||||
signal contextMenuRequested()
|
||||
signal showAllHiddenInheritedSettings()
|
||||
|
||||
text: definition.label
|
||||
iconSource: UM.Theme.getIcon(definition.icon)
|
||||
|
||||
|
||||
|
||||
checkable: true
|
||||
checked: definition.expanded
|
||||
|
||||
onClicked: { forceActiveFocus(); definition.expanded ? settingDefinitionsModel.collapse(definition.key) : settingDefinitionsModel.expandAll(definition.key) }
|
||||
|
||||
Component.onCompleted: print(definition.label, propertyProvider.isValueUsed)
|
||||
UM.SimpleButton
|
||||
{
|
||||
id: settingsButton
|
||||
|
@ -57,7 +60,7 @@ Button {
|
|||
anchors.right: parent.right
|
||||
anchors.rightMargin: UM.Theme.getSize("setting_preferences_button_margin").width
|
||||
|
||||
visible: false //hiddenValuesCount > 0
|
||||
visible: true //false //hiddenValuesCount > 0
|
||||
height: parent.height / 2
|
||||
width: height
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue