5import QGroundControl.Controls
6import QGroundControl.FactControls
7import QGroundControl.GPS.NTRIP
12 Layout.fillWidth: true
13 heading: qsTr("Connection")
14 visible: _ntrip.userVisible
16 property var _ntrip: QGroundControl.settingsManager.ntripSettings
17 property Fact _enabled: _ntrip.ntripServerConnectEnabled
18 property var _ntripMgr: QGroundControl.ntripManager
19 property bool _isActive: _enabled.rawValue
20 property bool _hasHost: _ntrip.ntripServerHostAddress.rawValue !== ""
22 NTRIPConnectionStatusRow {
23 Layout.fillWidth: true
24 ntripManager: root._ntripMgr
25 canConnect: root._isActive || root._hasHost
26 onClicked: root._enabled.rawValue = !root._isActive
29 NTRIPConnectionStatus {
30 Layout.fillWidth: true
31 rtcmMavlink: root._ntripMgr ? root._ntripMgr.rtcmMavlink : null