|
|
|
@ -6,12 +6,11 @@ import QtGraphicalEffects 1.0
@@ -6,12 +6,11 @@ import QtGraphicalEffects 1.0
|
|
|
|
|
import QGroundControl.ScreenTools 1.0 |
|
|
|
|
import QGroundControl.Palette 1.0 |
|
|
|
|
|
|
|
|
|
QGCMouseArea { |
|
|
|
|
FocusScope { |
|
|
|
|
id: _root |
|
|
|
|
anchors.left: parent.left |
|
|
|
|
anchors.right: parent.right |
|
|
|
|
height: column.height |
|
|
|
|
onClicked: checked = !checked |
|
|
|
|
|
|
|
|
|
property alias text: label.text |
|
|
|
|
property bool checked: true |
|
|
|
@ -27,6 +26,14 @@ QGCMouseArea {
@@ -27,6 +26,14 @@ QGCMouseArea {
|
|
|
|
|
|
|
|
|
|
QGCPalette { id: qgcPal; colorGroupEnabled: true } |
|
|
|
|
|
|
|
|
|
QGCMouseArea { |
|
|
|
|
anchors.fill: parent |
|
|
|
|
|
|
|
|
|
onClicked: { |
|
|
|
|
_root.focus = true |
|
|
|
|
checked = !checked |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
|
id: column |
|
|
|
|
anchors.left: parent.left |
|
|
|
@ -62,3 +69,4 @@ QGCMouseArea {
@@ -62,3 +69,4 @@ QGCMouseArea {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|