Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
109931a4
Commit
109931a4
authored
Apr 05, 2019
by
Gus Grubba
Browse files
Split data persistence from logging along with wording about what disabling persistence entails.
parent
f0d0856f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/preferences/GeneralSettings.qml
View file @
109931a4
...
@@ -359,16 +359,16 @@ QGCView {
...
@@ -359,16 +359,16 @@ QGCView {
text
:
qsTr
(
"
Data Persistence
"
)
text
:
qsTr
(
"
Data Persistence
"
)
}
}
Rectangle
{
Rectangle
{
Layout.preferredHeight
:
logging
Col
.
height
+
(
_margins
*
2
)
Layout.preferredHeight
:
dataPersist
Col
.
height
+
(
_margins
*
2
)
Layout.preferredWidth
:
logging
Col
.
width
+
(
_margins
*
2
)
Layout.preferredWidth
:
dataPersist
Col
.
width
+
(
_margins
*
2
)
color
:
qgcPal
.
windowShade
color
:
qgcPal
.
windowShade
Layout.fillWidth
:
true
Layout.fillWidth
:
true
ColumnLayout
{
ColumnLayout
{
id
:
logging
Col
id
:
dataPersist
Col
anchors.margins
:
_margins
anchors.margins
:
_margins
anchors.top
:
parent
.
top
anchors.top
:
parent
.
top
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
spacing
:
_margins
spacing
:
_margins
*
1.5
FactCheckBox
{
FactCheckBox
{
id
:
disableDataPersistence
id
:
disableDataPersistence
text
:
qsTr
(
"
Disable all data persistence
"
)
text
:
qsTr
(
"
Disable all data persistence
"
)
...
@@ -376,6 +376,30 @@ QGCView {
...
@@ -376,6 +376,30 @@ QGCView {
visible
:
_disableDataPersistence
.
visible
visible
:
_disableDataPersistence
.
visible
property
Fact
_disableDataPersistence
:
QGroundControl
.
settingsManager
.
appSettings
.
disableAllPersistence
property
Fact
_disableDataPersistence
:
QGroundControl
.
settingsManager
.
appSettings
.
disableAllPersistence
}
}
QGCLabel
{
text
:
qsTr
(
"
When Data Persistence is disabled, all telemetry logging and map tile caching is disabled and not written to disk.
"
)
wrapMode
:
Text
.
WordWrap
font.pointSize
:
ScreenTools
.
smallFontPointSize
Layout.maximumWidth
:
logIfNotArmed
.
visible
?
logIfNotArmed
.
width
:
disableDataPersistence
.
width
*
1.5
}
}
}
Item
{
width
:
1
;
height
:
_margins
}
QGCLabel
{
text
:
qsTr
(
"
Telemetry Logs from Vehicle
"
)
}
Rectangle
{
Layout.preferredHeight
:
loggingCol
.
height
+
(
_margins
*
2
)
Layout.preferredWidth
:
loggingCol
.
width
+
(
_margins
*
2
)
color
:
qgcPal
.
windowShade
Layout.fillWidth
:
true
ColumnLayout
{
id
:
loggingCol
anchors.margins
:
_margins
anchors.top
:
parent
.
top
anchors.horizontalCenter
:
parent
.
horizontalCenter
spacing
:
_margins
FactCheckBox
{
FactCheckBox
{
id
:
promptSaveLog
id
:
promptSaveLog
text
:
qsTr
(
"
Save log after each flight
"
)
text
:
qsTr
(
"
Save log after each flight
"
)
...
@@ -396,7 +420,6 @@ QGCView {
...
@@ -396,7 +420,6 @@ QGCView {
}
}
Item
{
width
:
1
;
height
:
_margins
}
Item
{
width
:
1
;
height
:
_margins
}
QGCLabel
{
QGCLabel
{
id
:
flyViewSectionLabel
id
:
flyViewSectionLabel
text
:
qsTr
(
"
Fly View
"
)
text
:
qsTr
(
"
Fly View
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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