2
0
mirror of synced 2025-01-18 18:43:28 +00:00
status-qml/sandbox/ThemeSwitch.qml

29 lines
473 B
QML
Raw Normal View History

import QtQuick 2.14
import QtQuick.Controls 2.14
import StatusQ.Controls 0.1
Row {
id: themeSwitch
signal checkedChanged()
spacing: 2
Text {
text: "🌤"
font.pixelSize: 15
anchors.verticalCenter: parent.verticalCenter
}
StatusSwitch {
onCheckedChanged: themeSwitch.checkedChanged()
}
Text {
text: "🌙"
font.pixelSize: 15
anchors.verticalCenter: parent.verticalCenter
}
}