FluentUI/src/controls/FluColorView.qml

30 lines
435 B
QML
Raw Normal View History

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