Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
b4d71d40
Commit
b4d71d40
authored
Sep 03, 2019
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
fb917c16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
83 deletions
+74
-83
GeneralSettings.qml
src/ui/preferences/GeneralSettings.qml
+74
-83
No files found.
src/ui/preferences/GeneralSettings.qml
View file @
b4d71d40
...
@@ -160,13 +160,13 @@ Rectangle {
...
@@ -160,13 +160,13 @@ Rectangle {
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Map Provider
"
)
text
:
qsTr
(
"
Map Provider
"
)
width
:
_labelWidth
width
:
_labelWidth
visible
:
_mapProvider
&&
_mapProvider
.
visible
visible
:
_mapProvider
.
visible
}
}
FactComboBox
{
FactComboBox
{
Layout.preferredWidth
:
_comboFieldWidth
Layout.preferredWidth
:
_comboFieldWidth
fact
:
_mapProvider
fact
:
_mapProvider
indexModel
:
false
indexModel
:
false
visible
:
_mapProvider
&&
_mapProvider
.
visible
visible
:
_mapProvider
.
visible
}
}
QGCLabel
{
QGCLabel
{
...
@@ -189,13 +189,13 @@ Rectangle {
...
@@ -189,13 +189,13 @@ Rectangle {
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Stream GCS Position
"
)
text
:
qsTr
(
"
Stream GCS Position
"
)
visible
:
_followTarget
?
_followTarget
.
visible
:
fals
e
visible
:
_followTarget
.
visibl
e
}
}
FactComboBox
{
FactComboBox
{
Layout.preferredWidth
:
_comboFieldWidth
Layout.preferredWidth
:
_comboFieldWidth
fact
:
_followTarget
fact
:
_followTarget
indexModel
:
false
indexModel
:
false
visible
:
_followTarget
?
_followTarget
.
visible
:
fals
e
visible
:
_followTarget
.
visibl
e
}
}
}
}
}
}
...
@@ -216,7 +216,7 @@ Rectangle {
...
@@ -216,7 +216,7 @@ Rectangle {
RowLayout
{
RowLayout
{
Layout.fillWidth
:
false
Layout.fillWidth
:
false
Layout.alignment
:
Qt
.
AlignHCenter
Layout.alignment
:
Qt
.
AlignHCenter
visible
:
_appFontPointSize
?
_appFontPointSize
.
visible
:
fals
e
visible
:
_appFontPointSize
.
visibl
e
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Font Size:
"
)
text
:
qsTr
(
"
Font Size:
"
)
...
@@ -251,14 +251,14 @@ Rectangle {
...
@@ -251,14 +251,14 @@ Rectangle {
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Use Vehicle Pairing
"
)
text
:
qsTr
(
"
Use Vehicle Pairing
"
)
fact
:
_usePairing
fact
:
_usePairing
visible
:
_usePairing
&&
_usePairing
.
visible
&&
QGroundControl
.
supportsPairing
visible
:
_usePairing
.
visible
&&
QGroundControl
.
supportsPairing
property
Fact
_usePairing
:
QGroundControl
.
settingsManager
.
appSettings
.
usePairing
property
Fact
_usePairing
:
QGroundControl
.
settingsManager
.
appSettings
.
usePairing
}
}
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Mute all audio output
"
)
text
:
qsTr
(
"
Mute all audio output
"
)
fact
:
_audioMuted
fact
:
_audioMuted
visible
:
_audioMuted
&&
_audioMuted
.
visible
visible
:
_audioMuted
.
visible
property
Fact
_audioMuted
:
QGroundControl
.
settingsManager
.
appSettings
.
audioMuted
property
Fact
_audioMuted
:
QGroundControl
.
settingsManager
.
appSettings
.
audioMuted
}
}
...
@@ -308,7 +308,7 @@ Rectangle {
...
@@ -308,7 +308,7 @@ Rectangle {
QGCCheckBox
{
QGCCheckBox
{
id
:
announcePercentCheckbox
id
:
announcePercentCheckbox
text
:
qsTr
(
"
Announce battery lower than
"
)
text
:
qsTr
(
"
Announce battery lower than
"
)
checked
:
_percentRemainingAnnounce
&&
_percentRemainingAnnounce
.
value
!==
0
checked
:
_percentRemainingAnnounce
.
value
!==
0
onClicked
:
{
onClicked
:
{
if
(
checked
)
{
if
(
checked
)
{
_percentRemainingAnnounce
.
value
=
_percentRemainingAnnounce
.
defaultValueString
_percentRemainingAnnounce
.
value
=
_percentRemainingAnnounce
.
defaultValueString
...
@@ -334,13 +334,13 @@ Rectangle {
...
@@ -334,13 +334,13 @@ Rectangle {
anchors.left
:
parent
.
left
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
anchors.right
:
parent
.
right
anchors.top
:
miscColItem
.
bottom
anchors.top
:
miscColItem
.
bottom
visible
:
(
_savePath
&&
_savePath
.
visible
)
&&
!
ScreenTools
.
isMobile
visible
:
_savePath
.
visible
&&
!
ScreenTools
.
isMobile
QGCLabel
{
text
:
qsTr
(
"
Application Load/Save Path
"
)
}
QGCLabel
{
text
:
qsTr
(
"
Application Load/Save Path
"
)
}
QGCTextField
{
QGCTextField
{
Layout.fillWidth
:
true
Layout.fillWidth
:
true
readOnly
:
true
readOnly
:
true
text
:
_savePath
?
(
_savePath
.
rawValue
===
""
?
qsTr
(
"
<not set>
"
)
:
_savePath
.
value
)
:
""
text
:
_savePath
.
rawValue
===
""
?
qsTr
(
"
<not set>
"
)
:
_savePath
.
value
}
}
QGCButton
{
QGCButton
{
text
:
qsTr
(
"
Browse
"
)
text
:
qsTr
(
"
Browse
"
)
...
@@ -348,7 +348,7 @@ Rectangle {
...
@@ -348,7 +348,7 @@ Rectangle {
QGCFileDialog
{
QGCFileDialog
{
id
:
savePathBrowseDialog
id
:
savePathBrowseDialog
title
:
qsTr
(
"
Choose the location to save/load files
"
)
title
:
qsTr
(
"
Choose the location to save/load files
"
)
folder
:
_savePath
?
_savePath
.
rawValue
:
""
folder
:
_savePath
.
rawValue
selectExisting
:
true
selectExisting
:
true
selectFolder
:
true
selectFolder
:
true
onAcceptedForLoad
:
_savePath
.
rawValue
=
file
onAcceptedForLoad
:
_savePath
.
rawValue
=
file
...
@@ -377,7 +377,7 @@ Rectangle {
...
@@ -377,7 +377,7 @@ Rectangle {
id
:
disableDataPersistence
id
:
disableDataPersistence
text
:
qsTr
(
"
Disable all data persistence
"
)
text
:
qsTr
(
"
Disable all data persistence
"
)
fact
:
_disableDataPersistence
fact
:
_disableDataPersistence
visible
:
_disableDataPersistence
&&
_disableDataPersistence
.
visible
visible
:
_disableDataPersistence
.
visible
property
Fact
_disableDataPersistence
:
QGroundControl
.
settingsManager
.
appSettings
.
disableAllPersistence
property
Fact
_disableDataPersistence
:
QGroundControl
.
settingsManager
.
appSettings
.
disableAllPersistence
}
}
QGCLabel
{
QGCLabel
{
...
@@ -408,7 +408,7 @@ Rectangle {
...
@@ -408,7 +408,7 @@ Rectangle {
id
:
promptSaveLog
id
:
promptSaveLog
text
:
qsTr
(
"
Save log after each flight
"
)
text
:
qsTr
(
"
Save log after each flight
"
)
fact
:
_telemetrySave
fact
:
_telemetrySave
visible
:
_telemetrySave
&&
_telemetrySave
.
visible
visible
:
_telemetrySave
.
visible
enabled
:
!
disableDataPersistence
.
checked
enabled
:
!
disableDataPersistence
.
checked
property
Fact
_telemetrySave
:
QGroundControl
.
settingsManager
.
appSettings
.
telemetrySave
property
Fact
_telemetrySave
:
QGroundControl
.
settingsManager
.
appSettings
.
telemetrySave
}
}
...
@@ -416,7 +416,7 @@ Rectangle {
...
@@ -416,7 +416,7 @@ Rectangle {
id
:
logIfNotArmed
id
:
logIfNotArmed
text
:
qsTr
(
"
Save logs even if vehicle was not armed
"
)
text
:
qsTr
(
"
Save logs even if vehicle was not armed
"
)
fact
:
_telemetrySaveNotArmed
fact
:
_telemetrySaveNotArmed
visible
:
_telemetrySaveNotArmed
&&
_telemetrySaveNotArmed
.
visible
visible
:
_telemetrySaveNotArmed
.
visible
enabled
:
promptSaveLog
.
checked
&&
!
disableDataPersistence
.
checked
enabled
:
promptSaveLog
.
checked
&&
!
disableDataPersistence
.
checked
property
Fact
_telemetrySaveNotArmed
:
QGroundControl
.
settingsManager
.
appSettings
.
telemetrySaveNotArmed
property
Fact
_telemetrySaveNotArmed
:
QGroundControl
.
settingsManager
.
appSettings
.
telemetrySaveNotArmed
}
}
...
@@ -446,7 +446,7 @@ Rectangle {
...
@@ -446,7 +446,7 @@ Rectangle {
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Use Preflight Checklist
"
)
text
:
qsTr
(
"
Use Preflight Checklist
"
)
fact
:
_useChecklist
fact
:
_useChecklist
visible
:
_useChecklist
&&
_useChecklist
.
visible
&&
QGroundControl
.
corePlugin
.
options
.
preFlightChecklistUrl
.
toString
().
length
visible
:
_useChecklist
.
visible
&&
QGroundControl
.
corePlugin
.
options
.
preFlightChecklistUrl
.
toString
().
length
property
Fact
_useChecklist
:
QGroundControl
.
settingsManager
.
appSettings
.
useChecklist
property
Fact
_useChecklist
:
QGroundControl
.
settingsManager
.
appSettings
.
useChecklist
}
}
...
@@ -454,14 +454,14 @@ Rectangle {
...
@@ -454,14 +454,14 @@ Rectangle {
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Show Telemetry Log Replay Status Bar
"
)
text
:
qsTr
(
"
Show Telemetry Log Replay Status Bar
"
)
fact
:
_showLogReplayStatusBar
fact
:
_showLogReplayStatusBar
visible
:
_showLogReplayStatusBar
&&
_showLogReplayStatusBar
.
visible
visible
:
_showLogReplayStatusBar
.
visible
property
Fact
_showLogReplayStatusBar
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
showLogReplayStatusBar
property
Fact
_showLogReplayStatusBar
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
showLogReplayStatusBar
}
}
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Virtual Joystick
"
)
text
:
qsTr
(
"
Virtual Joystick
"
)
visible
:
_virtualJoystick
&&
_virtualJoystick
.
visible
visible
:
_virtualJoystick
.
visible
fact
:
_virtualJoystick
fact
:
_virtualJoystick
property
Fact
_virtualJoystick
:
QGroundControl
.
settingsManager
.
appSettings
.
virtualJoystick
property
Fact
_virtualJoystick
:
QGroundControl
.
settingsManager
.
appSettings
.
virtualJoystick
...
@@ -469,7 +469,7 @@ Rectangle {
...
@@ -469,7 +469,7 @@ Rectangle {
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Auto-Center throttle
"
)
text
:
qsTr
(
"
Auto-Center throttle
"
)
visible
:
_virtualJoystickCentralized
&&
_virtualJoystickCentralized
.
visible
&&
activeVehicle
&&
(
activeVehicle
.
sub
||
activeVehicle
.
rover
)
visible
:
_virtualJoystickCentralized
.
visible
&&
activeVehicle
&&
(
activeVehicle
.
sub
||
activeVehicle
.
rover
)
fact
:
_virtualJoystickCentralized
fact
:
_virtualJoystickCentralized
Layout.leftMargin
:
_margins
Layout.leftMargin
:
_margins
...
@@ -477,21 +477,21 @@ Rectangle {
...
@@ -477,21 +477,21 @@ Rectangle {
}
}
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Use Vertical Instrument Panel
"
)
text
:
qsTr
(
"
Use Vertical Instrument Panel
"
)
visible
:
_alternateInstrumentPanel
&&
_alternateInstrumentPanel
.
visible
visible
:
_alternateInstrumentPanel
.
visible
fact
:
_alternateInstrumentPanel
fact
:
_alternateInstrumentPanel
property
Fact
_alternateInstrumentPanel
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
alternateInstrumentPanel
property
Fact
_alternateInstrumentPanel
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
alternateInstrumentPanel
}
}
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Show additional heading indicators on Compass
"
)
text
:
qsTr
(
"
Show additional heading indicators on Compass
"
)
visible
:
_showAdditionalIndicatorsCompass
?
_showAdditionalIndicatorsCompass
.
visible
:
fals
e
visible
:
_showAdditionalIndicatorsCompass
.
visibl
e
fact
:
_showAdditionalIndicatorsCompass
fact
:
_showAdditionalIndicatorsCompass
property
Fact
_showAdditionalIndicatorsCompass
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
showAdditionalIndicatorsCompass
property
Fact
_showAdditionalIndicatorsCompass
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
showAdditionalIndicatorsCompass
}
}
FactCheckBox
{
FactCheckBox
{
text
:
qsTr
(
"
Lock Compass Nose-Up
"
)
text
:
qsTr
(
"
Lock Compass Nose-Up
"
)
visible
:
_lockNoseUpCompass
?
_lockNoseUpCompass
.
visible
:
fals
e
visible
:
_lockNoseUpCompass
.
visibl
e
fact
:
_lockNoseUpCompass
fact
:
_lockNoseUpCompass
property
Fact
_lockNoseUpCompass
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
lockNoseUpCompass
property
Fact
_lockNoseUpCompass
:
QGroundControl
.
settingsManager
.
flyViewSettings
.
lockNoseUpCompass
...
@@ -507,31 +507,31 @@ Rectangle {
...
@@ -507,31 +507,31 @@ Rectangle {
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Guided Minimum Altitude
"
)
text
:
qsTr
(
"
Guided Minimum Altitude
"
)
visible
:
parent
.
_guidedMinimumAltitude
&&
parent
.
_guidedMinimumAltitude
.
visible
visible
:
parent
.
_guidedMinimumAltitude
.
visible
}
}
FactTextField
{
FactTextField
{
Layout.preferredWidth
:
_valueFieldWidth
Layout.preferredWidth
:
_valueFieldWidth
visible
:
parent
.
_guidedMinimumAltitude
&&
parent
.
_guidedMinimumAltitude
.
visible
visible
:
parent
.
_guidedMinimumAltitude
.
visible
fact
:
parent
.
_guidedMinimumAltitude
fact
:
parent
.
_guidedMinimumAltitude
}
}
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Guided Maximum Altitude
"
)
text
:
qsTr
(
"
Guided Maximum Altitude
"
)
visible
:
parent
.
_guidedMaximumAltitude
&&
parent
.
_guidedMaximumAltitude
.
visible
visible
:
parent
.
_guidedMaximumAltitude
.
visible
}
}
FactTextField
{
FactTextField
{
Layout.preferredWidth
:
_valueFieldWidth
Layout.preferredWidth
:
_valueFieldWidth
visible
:
parent
.
_guidedMaximumAltitude
&&
parent
.
_guidedMaximumAltitude
.
visible
visible
:
parent
.
_guidedMaximumAltitude
.
visible
fact
:
parent
.
_guidedMaximumAltitude
fact
:
parent
.
_guidedMaximumAltitude
}
}
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Go To Location Max Distance
"
)
text
:
qsTr
(
"
Go To Location Max Distance
"
)
visible
:
parent
.
_maxGoToLocationDistance
&&
parent
.
_maxGoToLocationDistance
.
visible
visible
:
parent
.
_maxGoToLocationDistance
.
visible
}
}
FactTextField
{
FactTextField
{
Layout.preferredWidth
:
_valueFieldWidth
Layout.preferredWidth
:
_valueFieldWidth
visible
:
parent
.
_maxGoToLocationDistance
&&
parent
.
_maxGoToLocationDistance
.
visible
visible
:
parent
.
_maxGoToLocationDistance
.
visible
fact
:
parent
.
_maxGoToLocationDistance
fact
:
parent
.
_maxGoToLocationDistance
}
}
}
}
...
@@ -711,105 +711,99 @@ Rectangle {
...
@@ -711,105 +711,99 @@ Rectangle {
columns
:
3
columns
:
3
property
var
rtkSettings
:
QGroundControl
.
settingsManager
.
rtkSettings
property
var
rtkSettings
:
QGroundControl
.
settingsManager
.
rtkSettings
property
bool
useFixedPosition
:
rtkSettings
&&
rtkSettings
.
useFixedBasePosition
.
rawValue
property
bool
useFixedPosition
:
rtkSettings
.
useFixedBasePosition
.
rawValue
property
real
firstColWidth
:
ScreenTools
.
defaultFontPixelWidth
*
3
property
real
firstColWidth
:
ScreenTools
.
defaultFontPixelWidth
*
3
QGCRadioButton
{
QGCRadioButton
{
text
:
qsTr
(
"
Perform Survey-In
"
)
text
:
qsTr
(
"
Perform Survey-In
"
)
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
visible
visible
:
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
visible
checked
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
===
false
checked
:
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
===
false
onClicked
:
{
if
(
rtkGrid
.
rtkSettings
)
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
=
false
}
Layout.columnSpan
:
3
Layout.columnSpan
:
3
onClicked
:
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
=
false
}
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
QGCLabel
{
QGCLabel
{
text
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
.
shortDescription
:
""
text
:
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
.
shortDescription
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
.
visible
visible
:
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
.
visible
enabled
:
!
rtkGrid
.
useFixedPosition
enabled
:
!
rtkGrid
.
useFixedPosition
}
}
FactTextField
{
FactTextField
{
fact
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
:
null
fact
:
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
.
visible
visible
:
rtkGrid
.
rtkSettings
.
surveyInAccuracyLimit
.
visible
enabled
:
!
rtkGrid
.
useFixedPosition
enabled
:
!
rtkGrid
.
useFixedPosition
Layout.preferredWidth
:
_valueFieldWidth
Layout.preferredWidth
:
_valueFieldWidth
}
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
QGCLabel
{
QGCLabel
{
text
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
.
shortDescription
:
""
text
:
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
.
shortDescription
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
.
visible
visible
:
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
.
visible
enabled
:
!
rtkGrid
.
useFixedPosition
enabled
:
!
rtkGrid
.
useFixedPosition
}
}
FactTextField
{
FactTextField
{
fact
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
:
null
fact
:
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
.
visible
visible
:
rtkGrid
.
rtkSettings
.
surveyInMinObservationDuration
.
visible
enabled
:
!
rtkGrid
.
useFixedPosition
enabled
:
!
rtkGrid
.
useFixedPosition
Layout.preferredWidth
:
_valueFieldWidth
Layout.preferredWidth
:
_valueFieldWidth
}
}
QGCRadioButton
{
QGCRadioButton
{
text
:
qsTr
(
"
Use Specified Base Position
"
)
text
:
qsTr
(
"
Use Specified Base Position
"
)
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
visible
visible
:
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
visible
checked
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
===
true
checked
:
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
===
true
onClicked
:
{
onClicked
:
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
=
true
if
(
rtkGrid
.
rtkSettings
)
rtkGrid
.
rtkSettings
.
useFixedBasePosition
.
value
=
true
}
Layout.columnSpan
:
3
Layout.columnSpan
:
3
}
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
QGCLabel
{
QGCLabel
{
text
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
.
shortDescription
:
""
text
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
.
shortDescription
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
}
}
FactTextField
{
FactTextField
{
fact
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
:
null
fact
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLatitude
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
Layout.fillWidth
:
true
Layout.fillWidth
:
true
}
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
QGCLabel
{
QGCLabel
{
text
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
.
shortDescription
:
""
text
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
.
shortDescription
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
}
}
FactTextField
{
FactTextField
{
fact
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
:
null
fact
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionLongitude
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
Layout.fillWidth
:
true
Layout.fillWidth
:
true
}
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
QGCLabel
{
QGCLabel
{
text
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
.
shortDescription
:
""
text
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
.
shortDescription
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
}
}
FactTextField
{
FactTextField
{
fact
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
:
null
fact
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAltitude
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
Layout.fillWidth
:
true
Layout.fillWidth
:
true
}
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
Item
{
width
:
rtkGrid
.
firstColWidth
;
height
:
1
}
QGCLabel
{
QGCLabel
{
text
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
.
shortDescription
:
""
text
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
.
shortDescription
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
}
}
FactTextField
{
FactTextField
{
fact
:
rtkGrid
.
rtkSettings
?
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
:
null
fact
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
visible
:
rtkGrid
.
rtkSettings
&&
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
.
visible
visible
:
rtkGrid
.
rtkSettings
.
fixedBasePositionAccuracy
.
visible
enabled
:
rtkGrid
.
useFixedPosition
enabled
:
rtkGrid
.
useFixedPosition
Layout.fillWidth
:
true
Layout.fillWidth
:
true
}
}
...
@@ -992,12 +986,12 @@ Rectangle {
...
@@ -992,12 +986,12 @@ Rectangle {
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Indoor Image
"
)
text
:
qsTr
(
"
Indoor Image
"
)
visible
:
_userBrandImageIndoor
?
_userBrandImageIndoor
.
visible
:
fals
e
visible
:
_userBrandImageIndoor
.
visibl
e
}
}
QGCTextField
{
QGCTextField
{
readOnly
:
true
readOnly
:
true
Layout.fillWidth
:
true
Layout.fillWidth
:
true
text
:
_userBrandImageIndoor
?
_userBrandImageIndoor
.
valueString
.
replace
(
"
file:///
"
,
""
)
:
""
text
:
_userBrandImageIndoor
.
valueString
.
replace
(
"
file:///
"
,
""
)
}
}
QGCButton
{
QGCButton
{
text
:
qsTr
(
"
Browse
"
)
text
:
qsTr
(
"
Browse
"
)
...
@@ -1005,24 +999,21 @@ Rectangle {
...
@@ -1005,24 +999,21 @@ Rectangle {
QGCFileDialog
{
QGCFileDialog
{
id
:
userBrandImageIndoorBrowseDialog
id
:
userBrandImageIndoorBrowseDialog
title
:
qsTr
(
"
Choose custom brand image file
"
)
title
:
qsTr
(
"
Choose custom brand image file
"
)
folder
:
_userBrandImageIndoor
?
_userBrandImageIndoor
.
rawValue
.
replace
(
"
file:///
"
,
""
)
:
""
folder
:
_userBrandImageIndoor
.
rawValue
.
replace
(
"
file:///
"
,
""
)
selectExisting
:
true
selectExisting
:
true
selectFolder
:
false
selectFolder
:
false
onAcceptedForLoad
:
{
onAcceptedForLoad
:
_userBrandImageIndoor
.
rawValue
=
"
file:///
"
+
file
if
(
_userBrandImageIndoor
)
_userBrandImageIndoor
.
rawValue
=
"
file:///
"
+
file
}
}
}
}
}
QGCLabel
{
QGCLabel
{
text
:
qsTr
(
"
Outdoor Image
"
)
text
:
qsTr
(
"
Outdoor Image
"
)
visible
:
_userBrandImageOutdoor
&&
_userBrandImageOutdoor
.
visible
visible
:
_userBrandImageOutdoor
.
visible
}
}
QGCTextField
{
QGCTextField
{
readOnly
:
true
readOnly
:
true
Layout.fillWidth
:
true
Layout.fillWidth
:
true
text
:
_userBrandImageOutdoor
?
_userBrandImageOutdoor
.
valueString
.
replace
(
"
file:///
"
,
""
)
:
""
text
:
_userBrandImageOutdoor
.
valueString
.
replace
(
"
file:///
"
,
""
)
}
}
QGCButton
{
QGCButton
{
text
:
qsTr
(
"
Browse
"
)
text
:
qsTr
(
"
Browse
"
)
...
@@ -1030,7 +1021,7 @@ Rectangle {
...
@@ -1030,7 +1021,7 @@ Rectangle {
QGCFileDialog
{
QGCFileDialog
{
id
:
userBrandImageOutdoorBrowseDialog
id
:
userBrandImageOutdoorBrowseDialog
title
:
qsTr
(
"
Choose custom brand image file
"
)
title
:
qsTr
(
"
Choose custom brand image file
"
)
folder
:
_userBrandImageOutdoor
?
_userBrandImageOutdoor
.
rawValue
.
replace
(
"
file:///
"
,
""
)
:
""
folder
:
_userBrandImageOutdoor
.
rawValue
.
replace
(
"
file:///
"
,
""
)
selectExisting
:
true
selectExisting
:
true
selectFolder
:
false
selectFolder
:
false
onAcceptedForLoad
:
_userBrandImageOutdoor
.
rawValue
=
"
file:///
"
+
file
onAcceptedForLoad
:
_userBrandImageOutdoor
.
rawValue
=
"
file:///
"
+
file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment