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
109931a4
Commit
109931a4
authored
Apr 05, 2019
by
Gus Grubba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split data persistence from logging along with wording about what disabling persistence entails.
parent
f0d0856f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
5 deletions
+28
-5
GeneralSettings.qml
src/ui/preferences/GeneralSettings.qml
+28
-5
No files found.
src/ui/preferences/GeneralSettings.qml
View file @
109931a4
...
...
@@ -359,16 +359,16 @@ QGCView {
text
:
qsTr
(
"
Data Persistence
"
)
}
Rectangle
{
Layout.preferredHeight
:
logging
Col
.
height
+
(
_margins
*
2
)
Layout.preferredWidth
:
logging
Col
.
width
+
(
_margins
*
2
)
Layout.preferredHeight
:
dataPersist
Col
.
height
+
(
_margins
*
2
)
Layout.preferredWidth
:
dataPersist
Col
.
width
+
(
_margins
*
2
)
color
:
qgcPal
.
windowShade
Layout.fillWidth
:
true
ColumnLayout
{
id
:
logging
Col
id
:
dataPersist
Col
anchors.margins
:
_margins
anchors.top
:
parent
.
top
anchors.horizontalCenter
:
parent
.
horizontalCenter
spacing
:
_margins
spacing
:
_margins
*
1.5
FactCheckBox
{
id
:
disableDataPersistence
text
:
qsTr
(
"
Disable all data persistence
"
)
...
...
@@ -376,6 +376,30 @@ QGCView {
visible
:
_disableDataPersistence
.
visible
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
{
id
:
promptSaveLog
text
:
qsTr
(
"
Save log after each flight
"
)
...
...
@@ -396,7 +420,6 @@ QGCView {
}
Item
{
width
:
1
;
height
:
_margins
}
QGCLabel
{
id
:
flyViewSectionLabel
text
:
qsTr
(
"
Fly View
"
)
...
...
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