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
55843932
Commit
55843932
authored
Dec 24, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Summary button content now comes from QML
parent
72806be5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
0 deletions
+65
-0
RadioComponentSummary.qml
src/AutoPilotPlugins/PX4/RadioComponentSummary.qml
+65
-0
No files found.
src/AutoPilotPlugins/PX4/RadioComponentSummary.qml
0 → 100644
View file @
55843932
import
QtQuick
2.2
import
QtQuick
.
Controls
1.2
import
QtQuick
.
Controls
.
Styles
1.2
import
QGroundControl
.
FactSystem
1.0
import
QGroundControl
.
FactControls
1.0
Column
{
anchors.fill
:
parent
anchors.margins
:
8
Row
{
width
:
parent
.
width
Text
{
id
:
roll
;
text
:
"
Roll:
"
}
Text
{
horizontalAlignment
:
Text
.
AlignRight
width
:
parent
.
width
-
roll
.
contentWidth
text
:
autopilot
.
parameters
[
"
RC_MAP_ROLL
"
].
value
==
0
?
"
Setup required
"
:
autopilot
.
parameters
[
"
RC_MAP_ROLL
"
].
value
}
}
Row
{
width
:
parent
.
width
Text
{
id
:
pitch
;
text
:
"
Pitch:
"
}
Text
{
horizontalAlignment
:
Text
.
AlignRight
width
:
parent
.
width
-
pitch
.
contentWidth
text
:
autopilot
.
parameters
[
"
RC_MAP_PITCH
"
].
value
==
0
?
"
Setup required
"
:
autopilot
.
parameters
[
"
RC_MAP_PITCH
"
].
value
}
}
Row
{
width
:
parent
.
width
Text
{
id
:
yaw
;
text
:
"
Yaw:
"
}
Text
{
horizontalAlignment
:
Text
.
AlignRight
width
:
parent
.
width
-
yaw
.
contentWidth
text
:
autopilot
.
parameters
[
"
RC_MAP_YAW
"
].
value
==
0
?
"
Setup required
"
:
autopilot
.
parameters
[
"
RC_MAP_YAW
"
].
value
}
}
Row
{
width
:
parent
.
width
Text
{
id
:
throttle
;
text
:
"
Throttle:
"
}
Text
{
horizontalAlignment
:
Text
.
AlignRight
width
:
parent
.
width
-
throttle
.
contentWidth
text
:
autopilot
.
parameters
[
"
RC_MAP_THROTTLE
"
].
value
==
0
?
"
Setup required
"
:
autopilot
.
parameters
[
"
RC_MAP_THROTTLE
"
].
value
}
}
Row
{
width
:
parent
.
width
Text
{
id
:
mode
;
text
:
"
Mode switch:
"
}
Text
{
horizontalAlignment
:
Text
.
AlignRight
width
:
parent
.
width
-
mode
.
contentWidth
text
:
autopilot
.
parameters
[
"
RC_MAP_MODE_SW
"
].
value
==
0
?
"
Setup required
"
:
autopilot
.
parameters
[
"
RC_MAP_MODE_SW
"
].
value
}
}
}
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