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
542dbc4b
Commit
542dbc4b
authored
May 21, 2015
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix layout of mag cal
parent
ffded6de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
29 deletions
+22
-29
SensorsComponent.qml
src/AutoPilotPlugins/PX4/SensorsComponent.qml
+22
-29
No files found.
src/AutoPilotPlugins/PX4/SensorsComponent.qml
View file @
542dbc4b
...
...
@@ -181,41 +181,34 @@ QGCView {
anchors.fill
:
parent
spacing
:
10
Column
{
spacing
:
5
// Compass 0 rotation
Component
{
id
:
compass0ComponentLabel
QGCLabel
{
width
:
parent
.
width
wrapMode
:
Text
.
WordWrap
text
:
compassRotationText
}
QGCLabel
{
font.pointSize
:
sideBarH1PointSize
text
:
"
External Compass Orientation
"
}
// Compass 0 rotation
Component
{
id
:
compass0ComponentLabel
QGCLabel
{
font.pointSize
:
sideBarH1PointSize
text
:
"
External Compass Orientation
"
}
Component
{
id
:
compass0ComponentText
QGCLabel
{
width
:
parent
.
width
wrapMode
:
Text
.
WordWrap
text
:
compassRotationText
}
}
Component
{
id
:
compass0ComponentCombo
FactComboBox
{
id
:
compass0RotationCombo
width
:
rotationColumnWidth
model
:
rotations
fact
:
Fact
{
name
:
"
CAL_MAG0_ROT
"
;
onFactMissing
:
showMissingFactOverlay
(
name
)
}
}
}
Component
{
id
:
compass0ComponentCombo
FactComboBox
{
id
:
compass0RotationCombo
width
:
rotationColumnWidth
model
:
rotations
fact
:
Fact
{
name
:
"
CAL_MAG0_ROT
"
;
onFactMissing
:
showMissingFactOverlay
(
name
)
}
}
Loader
{
sourceComponent
:
showCompass0Rot
?
compass0ComponentLabel
:
null
}
Loader
{
sourceComponent
:
showCompass0Rot
?
compass0ComponentText
:
null
}
Loader
{
sourceComponent
:
showCompass0Rot
?
compass0ComponentCombo
:
null
}
}
Loader
{
sourceComponent
:
showCompass0Rot
?
compass0ComponentLabel
:
null
}
Loader
{
sourceComponent
:
showCompass0Rot
?
compass0ComponentCombo
:
null
}
// Compass 1 rotation
Component
{
id
:
compass1ComponentLabel
...
...
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