WaterLevelSensor/ColorInput.qml

21 lines
458 B
QML
Raw Normal View History

2026-09-23 17:36:00 +05:30
import QtQuick
import QtQuick.Effects
import QtQuick.Controls
import QtQuick.Controls.Material
TextField {
id: color_text
text: "F05FAF5F"
property alias color_text: base.color
Rectangle {
id: base
anchors {
right: parent.right
rightMargin: 10
verticalCenter: parent.verticalCenter
}
width: 10
height: parent.height / 2
color: "#" + color_text.text
}
}