5import QGroundControl.Controls
7/// Works just like a regular button but it can have a red indicator on the right side displayed
9 property bool indicatorGreen: false ///< true: no indicator shown, false: red indicator shown
12 anchors.rightMargin: ScreenTools.defaultFontPixelWidth / 3
13 anchors.right: parent.right
14 anchors.verticalCenter: parent.verticalCenter
17 radius: (ScreenTools.defaultFontPixelHeight * .75) / 2
19 visible: enabled && !indicatorGreen