|
96 | 96 | checkable: true |
97 | 97 | onClicked: setSType('cube') |
98 | 98 | checked: UM.ActiveTool.properties.getValue("SType") === 'cube' |
99 | | - z: 4; // Profondeur |
| 99 | + z: 4 // Profondeur |
100 | 100 | } |
101 | 101 |
|
102 | 102 | UM.ToolbarButton |
103 | 103 | { |
104 | | - id: abutmentButton; |
105 | | - text: catalog.i18nc("@label", "Abutment"); |
| 104 | + id: abutmentButton |
| 105 | + text: catalog.i18nc("@label", "Abutment") |
106 | 106 | toolItem: UM.ColorImage |
107 | 107 | { |
108 | 108 | source: Qt.resolvedUrl("type_abutment.svg") |
109 | 109 | color: UM.Theme.getColor("icon") |
110 | 110 | } |
111 | | - property bool needBorder: true; |
112 | | - checkable: true; |
113 | | - onClicked: setSType('abutment'); |
114 | | - checked: UM.ActiveTool.properties.getValue("SType") === 'abutment'; |
115 | | - z: 3; // Profondeur |
| 111 | + property bool needBorder: true |
| 112 | + checkable: true |
| 113 | + onClicked: setSType('abutment') |
| 114 | + checked: UM.ActiveTool.properties.getValue("SType") === 'abutment' |
| 115 | + z: 3 // Profondeur |
116 | 116 | } |
117 | 117 |
|
118 | 118 | UM.ToolbarButton |
119 | 119 | { |
120 | | - id: freeformButton; |
121 | | - text: catalog.i18nc("@label", "Freeshape"); |
| 120 | + id: freeformButton |
| 121 | + text: catalog.i18nc("@label", "Freeshape") |
122 | 122 | toolItem: UM.ColorImage |
123 | 123 | { |
124 | 124 | source: Qt.resolvedUrl("type_freeform.svg") |
125 | 125 | color: UM.Theme.getColor("icon") |
126 | 126 | } |
127 | | - // property bool needBorder: true; |
128 | | - checkable:true; |
129 | | - onClicked: setSType('freeform'); |
130 | | - checked: UM.ActiveTool.properties.getValue("SType") === 'freeform'; |
131 | | - z: 2; // Profondeur |
| 127 | + property bool needBorder: true |
| 128 | + checkable:true |
| 129 | + onClicked: setSType('freeform') |
| 130 | + checked: UM.ActiveTool.properties.getValue("SType") === 'freeform' |
| 131 | + z: 2 // Profondeur |
132 | 132 | } |
133 | 133 |
|
134 | 134 | UM.ToolbarButton |
135 | 135 | { |
136 | | - id: customButton; |
137 | | - text: catalog.i18nc("@label", "custom"); |
| 136 | + id: customButton |
| 137 | + text: catalog.i18nc("@label", "custom") |
138 | 138 | toolItem: UM.ColorImage |
139 | 139 | { |
140 | 140 | source: Qt.resolvedUrl("type_custom.svg") |
141 | 141 | color: UM.Theme.getColor("icon") |
142 | 142 | } |
143 | | - property bool needBorder: true; |
144 | | - checkable:true; |
145 | | - onClicked: setSType('custom'); |
146 | | - checked: UM.ActiveTool.properties.getValue("SType") === 'custom'; |
147 | | - z: 1; // Profondeur |
| 143 | + property bool needBorder: true |
| 144 | + checkable:true |
| 145 | + onClicked: setSType('custom') |
| 146 | + checked: UM.ActiveTool.properties.getValue("SType") === 'custom' |
| 147 | + z: 1 // Profondeur |
148 | 148 | } |
149 | 149 | } |
150 | 150 | Row // CheckBox Row |
|
0 commit comments