mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-24 08:28:35 -07:00
18 lines
406 B
QML
18 lines
406 B
QML
// Copyright (c) 2025 UltiMaker
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick
|
|
|
|
import UM 1.7 as UM
|
|
import Cura 1.0 as Cura
|
|
|
|
|
|
Cura.ModeSelectorButton
|
|
{
|
|
id: modeSelectorButton
|
|
|
|
property string mode
|
|
|
|
selected: UM.Controller.properties.getValue("PaintType") === modeSelectorButton.mode
|
|
onClicked: UM.Controller.setProperty("PaintType", modeSelectorButton.mode)
|
|
}
|