FluentUI/src/controls/FluColorView.qml

30 lines
430 B
QML
Raw Normal View History

2023-03-24 20:44:38 +08:00
import QtQuick
2023-03-23 17:40:10 +08:00
import "../colorpicker"
Item {
width: color_picker.width+10
height: color_picker.height
property alias colorValue: color_picker.colorValue
FluArea{
anchors.fill: parent
radius: 5
FluShadow{
radius: 5
}
ColorPicker{
id:color_picker
}
}
function setColor(color) {
color_picker.setColor(color)
}
}