/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/importQtQuick2.3importQtQuick.Controls1.2importQtQuick.Layouts1.2importQGroundControl1.0importQGroundControl.Controls1.0importQGroundControl.MultiVehicleManager1.0importQGroundControl.ScreenTools1.0importQGroundControl.Palette1.0//-------------------------------------------------------------------------//-- Armed IndicatorQGCLabel{anchors.top:parent.topanchors.bottom:parent.bottomverticalAlignment:Text.AlignVCentertext:_armed?qsTr("Armed"):qsTr("Disarmed")font.pointSize:ScreenTools.mediumFontPointSizecolor:qgcPal.buttonTextpropertyvar_activeVehicle:QGroundControl.multiVehicleManager.activeVehiclepropertybool_armed:_activeVehicle?_activeVehicle.armed:falseQGCPalette{id:qgcPal}QGCMouseArea{fillItem:parentonClicked:_armed?toolBar.disarmVehicle():toolBar.armVehicle()}}