2019-09-10 12:35:55 +02:00
|
|
|
import QtQuick 2.0
|
|
|
|
|
2020-02-04 19:13:03 +01:00
|
|
|
import org.kde.plasma.components 3.0 as PlasmaComponents
|
2019-09-10 12:35:55 +02:00
|
|
|
import QtQuick.Layouts 1.2
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
ComponentBase {
|
2019-09-10 12:35:55 +02:00
|
|
|
Grid {
|
|
|
|
anchors.fill: parent
|
|
|
|
anchors.margins: 20
|
|
|
|
spacing: 4
|
|
|
|
columns: 2
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
PlasmaComponents.Label {
|
2019-09-10 12:35:55 +02:00
|
|
|
text: "text"
|
|
|
|
}
|
|
|
|
PlasmaComponents.RadioButton {
|
|
|
|
text: "Some awesome radiobutton"
|
|
|
|
}
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
PlasmaComponents.Label {
|
2019-09-10 12:35:55 +02:00
|
|
|
text: "focus"
|
|
|
|
}
|
|
|
|
PlasmaComponents.RadioButton {
|
|
|
|
text: "Some awesome radiobutton"
|
|
|
|
focus: true
|
|
|
|
}
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
PlasmaComponents.Label {
|
2019-09-10 12:35:55 +02:00
|
|
|
text: "checked"
|
|
|
|
}
|
|
|
|
PlasmaComponents.RadioButton {
|
|
|
|
text: "Some awesome radiobutton"
|
|
|
|
checked: true
|
|
|
|
}
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
PlasmaComponents.Label {
|
2019-09-10 12:35:55 +02:00
|
|
|
text: "disabled"
|
|
|
|
}
|
|
|
|
PlasmaComponents.RadioButton {
|
|
|
|
text: "Some awesome radiobutton"
|
|
|
|
enabled: false
|
|
|
|
}
|
|
|
|
|
2019-12-09 17:33:23 +01:00
|
|
|
PlasmaComponents.Label {
|
2019-09-10 12:35:55 +02:00
|
|
|
text: "disabled and checked"
|
|
|
|
}
|
|
|
|
PlasmaComponents.RadioButton {
|
|
|
|
text: "Some awesome radiobutton"
|
|
|
|
enabled: false
|
|
|
|
checked: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|