FluentUI/src/controls/FluColorView.qml

30 lines
435 B
QML
Raw Normal View History

2023-03-23 17:40:10 +08:00
import QtQuick 2.15
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)
}
}