mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
21 lines
504 B
QML
21 lines
504 B
QML
import QtQuick
|
|
import "../../theme" as Theme
|
|
import "../.."
|
|
|
|
Rectangle {
|
|
property var checkState: Qt.Unchecked
|
|
implicitHeight: 18
|
|
implicitWidth: 18
|
|
radius: width / 2
|
|
color: checkState == Qt.Checked ? Theme.Colors.menuRadioButtonColor1 : Theme.Colors.menuRadioButtonColor2
|
|
|
|
Rectangle {
|
|
x: parent.width * 0.25
|
|
y: parent.height * 0.25
|
|
visible: checkState == Qt.Checked
|
|
width: parent.width * 0.5
|
|
height: width
|
|
radius: width / 2
|
|
}
|
|
}
|