mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
30 lines
430 B
QML
30 lines
430 B
QML
import QtQuick
|
|
import "../colorpicker"
|
|
|
|
Item {
|
|
|
|
property alias colorValue: color_picker.colorValue
|
|
|
|
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)
|
|
}
|
|
|
|
}
|
|
|