/**************************************************************************** * * (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.3importQGroundControl1.0importQGroundControl.Controls1.0importQGroundControl.Vehicle1.0PreFlightCheckButton{name:qsTr("GPS")telemetryFailure:_3dLockFailure||_satCountFailuretelemetryTextFailure:_3dLockFailure?qsTr("Waiting for 3D lock."):(_satCountFailure?_satCountFailureText:"")allowTelemetryFailureOverride:!_3dLockFailure&&_satCountFailure&&allowOverrideSatCountpropertyboolallowOverrideSatCount:false///< true: sat count above failureSatCount reguired to pass, false: user can click past satCount <= failureSetCountpropertyintfailureSatCount:-1///< -1 indicates no sat count check
propertybool_3dLockFailure:!_3dLockpropertybool_satCountFailure:failureSatCount!==-1&&_satCount<=failureSatCountpropertystring_satCountFailureText:allowOverrideSatCount?qsTr("Warning - Sat count below %1.").arg(failureSatCount+1):qsTr("Waiting for sat count above %1.").arg(failureSatCount)}