Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
5axes committed May 19, 2022
1 parent a7bba10 commit a305cd1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
44 changes: 22 additions & 22 deletions qml_qt6/CustomSupport.qml
Original file line number Diff line number Diff line change
Expand Up @@ -96,55 +96,55 @@ Item
checkable: true
onClicked: setSType('cube')
checked: UM.ActiveTool.properties.getValue("SType") === 'cube'
z: 4; // Profondeur
z: 4 // Profondeur
}

UM.ToolbarButton
{
id: abutmentButton;
text: catalog.i18nc("@label", "Abutment");
id: abutmentButton
text: catalog.i18nc("@label", "Abutment")
toolItem: UM.ColorImage
{
source: Qt.resolvedUrl("type_abutment.svg")
color: UM.Theme.getColor("icon")
}
property bool needBorder: true;
checkable: true;
onClicked: setSType('abutment');
checked: UM.ActiveTool.properties.getValue("SType") === 'abutment';
z: 3; // Profondeur
property bool needBorder: true
checkable: true
onClicked: setSType('abutment')
checked: UM.ActiveTool.properties.getValue("SType") === 'abutment'
z: 3 // Profondeur
}

UM.ToolbarButton
{
id: freeformButton;
text: catalog.i18nc("@label", "Freeshape");
id: freeformButton
text: catalog.i18nc("@label", "Freeshape")
toolItem: UM.ColorImage
{
source: Qt.resolvedUrl("type_freeform.svg")
color: UM.Theme.getColor("icon")
}
// property bool needBorder: true;
checkable:true;
onClicked: setSType('freeform');
checked: UM.ActiveTool.properties.getValue("SType") === 'freeform';
z: 2; // Profondeur
property bool needBorder: true
checkable:true
onClicked: setSType('freeform')
checked: UM.ActiveTool.properties.getValue("SType") === 'freeform'
z: 2 // Profondeur
}

UM.ToolbarButton
{
id: customButton;
text: catalog.i18nc("@label", "custom");
id: customButton
text: catalog.i18nc("@label", "custom")
toolItem: UM.ColorImage
{
source: Qt.resolvedUrl("type_custom.svg")
color: UM.Theme.getColor("icon")
}
property bool needBorder: true;
checkable:true;
onClicked: setSType('custom');
checked: UM.ActiveTool.properties.getValue("SType") === 'custom';
z: 1; // Profondeur
property bool needBorder: true
checkable:true
onClicked: setSType('custom')
checked: UM.ActiveTool.properties.getValue("SType") === 'custom'
z: 1 // Profondeur
}
}
Row // CheckBox Row
Expand Down
8 changes: 4 additions & 4 deletions qml_qt6/type_abutment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a305cd1

Please sign in to comment.