28 lines
508 B
QML
28 lines
508 B
QML
|
import QtQuick 2.7
|
||
|
|
||
|
import QtQuick.Controls 2.13
|
||
|
|
||
|
|
||
|
RadioButton {
|
||
|
id: control
|
||
|
|
||
|
property real size: 12
|
||
|
spacing: 0
|
||
|
|
||
|
indicator: Rectangle {
|
||
|
width: 16 * gcd.themeScale
|
||
|
height: 16 * gcd.themeScale
|
||
|
anchors.verticalCenter: parent.verticalCenter
|
||
|
radius: 9
|
||
|
border.width: 1
|
||
|
|
||
|
Rectangle {
|
||
|
anchors.fill: parent
|
||
|
visible: control.checked
|
||
|
color: "black"
|
||
|
radius: 9
|
||
|
anchors.margins: 4
|
||
|
}
|
||
|
}
|
||
|
}
|