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
78004042
Commit
78004042
authored
Nov 03, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Airframe Panel tweaks.
parent
f970a839
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
AirframeComponent.qml
src/AutoPilotPlugins/PX4/AirframeComponent.qml
+8
-8
No files found.
src/AutoPilotPlugins/PX4/AirframeComponent.qml
View file @
78004042
...
...
@@ -21,7 +21,7 @@
======================================================================*/
import
QtQuick
2.
2
import
QtQuick
2.
5
import
QtQuick
.
Controls
1.2
import
QtQuick
.
Controls
.
Styles
1.2
import
QtQuick
.
Dialogs
1.2
...
...
@@ -180,7 +180,7 @@ QGCView {
Rectangle
{
id
:
airframeBackground
width
:
_boxWidth
height
:
ScreenTools
.
defaultFontPixel
Width
*
22.5
height
:
ScreenTools
.
defaultFontPixel
Height
*
14
color
:
(
modelData
.
name
!=
controller
.
currentAirframeType
)
?
qgcPal
.
windowShade
:
qgcPal
.
buttonHighlight
readonly
property
real
titleHeight
:
ScreenTools
.
defaultFontPixelHeight
*
1.75
...
...
@@ -210,22 +210,22 @@ QGCView {
id
:
image
anchors.topMargin
:
innerMargin
anchors.top
:
title
.
bottom
x
:
innerMargin
width
:
parent
.
width
-
(
innerMargin
*
2
)
width
:
parent
.
width
*
0.75
height
:
parent
.
height
-
title
.
height
-
combo
.
height
-
(
innerMargin
*
3
)
fillMode
:
Image
.
PreserveAspectFit
smooth
:
true
mipmap
:
true
source
:
modelData
.
imageResource
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
QGCCheckBox
{
id
:
airframeCheckBox
anchors.bottom
:
image
.
bottom
anchors.right
:
image
.
right
checked
:
modelData
.
name
==
controller
.
currentAirframeType
exclusiveGroup
:
airframeTypeExclusive
anchors.bottom
:
image
.
bottom
anchors.right
:
parent
.
right
anchors.rightMargin
:
innerMargin
onCheckedChanged
:
{
if
(
checked
&&
combo
.
currentIndex
!=
-
1
)
{
...
...
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