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
862f543c
Commit
862f543c
authored
Feb 13, 2018
by
acfloria
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move high latency checkbox to the bottom of the settings
parent
1da34402
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
54 deletions
+42
-54
SerialSettings.qml
src/ui/preferences/SerialSettings.qml
+14
-18
TcpSettings.qml
src/ui/preferences/TcpSettings.qml
+14
-18
UdpSettings.qml
src/ui/preferences/UdpSettings.qml
+14
-18
No files found.
src/ui/preferences/SerialSettings.qml
View file @
862f543c
...
...
@@ -43,24 +43,6 @@ Item {
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
parent
.
width
}
QGCCheckBox
{
text
:
"
High Latency
"
checked
:
false
visible
:
editConfig
?
editConfig
.
highLatencyAllowed
:
false
onCheckedChanged
:
{
if
(
editConfig
)
{
editConfig
.
highLatency
=
checked
}
}
Component
.
onCompleted
:
{
if
(
editConfig
)
checked
=
editConfig
.
highLatency
}
}
Item
{
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
parent
.
width
}
Row
{
spacing
:
ScreenTools
.
defaultFontPixelWidth
QGCLabel
{
...
...
@@ -253,5 +235,19 @@ Item {
}
}
}
QGCCheckBox
{
text
:
"
High Latency
"
checked
:
false
visible
:
editConfig
?
editConfig
.
highLatencyAllowed
:
false
onCheckedChanged
:
{
if
(
editConfig
)
{
editConfig
.
highLatency
=
checked
}
}
Component
.
onCompleted
:
{
if
(
editConfig
)
checked
=
editConfig
.
highLatency
}
}
}
}
src/ui/preferences/TcpSettings.qml
View file @
862f543c
...
...
@@ -46,24 +46,6 @@ Item {
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
parent
.
width
}
QGCCheckBox
{
text
:
"
High Latency
"
checked
:
false
visible
:
editConfig
?
editConfig
.
highLatencyAllowed
:
false
onCheckedChanged
:
{
if
(
editConfig
)
{
editConfig
.
highLatency
=
checked
}
}
Component
.
onCompleted
:
{
if
(
editConfig
)
checked
=
editConfig
.
highLatency
}
}
Item
{
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
parent
.
width
}
Row
{
spacing
:
ScreenTools
.
defaultFontPixelWidth
QGCLabel
{
...
...
@@ -93,5 +75,19 @@ Item {
anchors.verticalCenter
:
parent
.
verticalCenter
}
}
QGCCheckBox
{
text
:
"
High Latency
"
checked
:
false
visible
:
editConfig
?
editConfig
.
highLatencyAllowed
:
false
onCheckedChanged
:
{
if
(
editConfig
)
{
editConfig
.
highLatency
=
checked
}
}
Component
.
onCompleted
:
{
if
(
editConfig
)
checked
=
editConfig
.
highLatency
}
}
}
}
src/ui/preferences/UdpSettings.qml
View file @
862f543c
...
...
@@ -52,24 +52,6 @@ Item {
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
parent
.
width
}
QGCCheckBox
{
text
:
"
High Latency
"
checked
:
false
visible
:
editConfig
?
editConfig
.
highLatencyAllowed
:
false
onCheckedChanged
:
{
if
(
editConfig
)
{
editConfig
.
highLatency
=
checked
}
}
Component
.
onCompleted
:
{
if
(
editConfig
)
checked
=
editConfig
.
highLatency
}
}
Item
{
height
:
ScreenTools
.
defaultFontPixelHeight
/
2
width
:
parent
.
width
}
Row
{
spacing
:
ScreenTools
.
defaultFontPixelWidth
QGCLabel
{
...
...
@@ -193,5 +175,19 @@ Item {
}
}
}
QGCCheckBox
{
text
:
"
High Latency
"
checked
:
false
visible
:
editConfig
?
editConfig
.
highLatencyAllowed
:
false
onCheckedChanged
:
{
if
(
editConfig
)
{
editConfig
.
highLatency
=
checked
}
}
Component
.
onCompleted
:
{
if
(
editConfig
)
checked
=
editConfig
.
highLatency
}
}
}
}
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