QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ExclusiveGroupItem.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Controls
3
4/// The ExclusiveGroupItem control can be used as a base class for a control which
5/// needs support for ButtonGroup
6Item {
7 id: _root
8
9 property bool checked: false
10 property ButtonGroup buttonGroup: null
11
12 onButtonGroupChanged: {
13 if (buttonGroup) {
14 buttonGroup.bindCheckable(_root)
15 }
16 }
17}