first commit

This commit is contained in:
2025-12-18 09:19:39 +08:00
parent 1bc7adf399
commit d4975da9a5
24 changed files with 2506 additions and 0 deletions

18
qml/content/Toggle.qml Normal file
View File

@@ -0,0 +1,18 @@
import QtQuick
import QtQuick.Controls
Item {
property string text
property alias checked: toggleIndicator.checked
Label {
id: toggleText
text: parent.text
anchors.verticalCenter: toggleIndicator.verticalCenter
}
Switch {
id: toggleIndicator
anchors.left: toggleText.right
anchors.leftMargin: 8
}
}