mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 11:40:43 +08:00
30 lines
435 B
QML
30 lines
435 B
QML
|
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)
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|