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
a4ea5660
Commit
a4ea5660
authored
Mar 13, 2017
by
Gus Grubba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaking Attitude Indicator
parent
59c8eaa3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
build_ios.sh
build_ios.sh
+1
-1
QGCPitchIndicator.qml
src/FlightMap/Widgets/QGCPitchIndicator.qml
+7
-9
No files found.
build_ios.sh
View file @
a4ea5660
...
...
@@ -5,7 +5,7 @@ if [ ! -d /Volumes/RAMDisk ] ; then
exit
1
fi
#-- Set to my local installation
QMAKE
=
/
Applications/Qt/5.5
/ios/bin/qmake
QMAKE
=
/
Users/gus/Applications/Qt/5.7
/ios/bin/qmake
#-- Using Travis variables as this will eventually live there
SHADOW_BUILD_DIR
=
/Volumes/RAMDisk/build-qgroundcontrol-iOS-Release
TRAVIS_BUILD_DIR
=
/Users/gus/github/work/qgroundcontrol
...
...
src/FlightMap/Widgets/QGCPitchIndicator.qml
View file @
a4ea5660
...
...
@@ -21,15 +21,13 @@ import QGroundControl.Controls 1.0
Rectangle
{
property
real
pitchAngle
:
0
property
real
rollAngle
:
0
property
real
size
:
_defaultSize
property
real
size
:
ScreenTools
.
isAndroid
?
300
:
100
property
real
_reticleHeight
:
1
property
real
_reticleSpacing
:
size
*
0.15
property
real
_reticleSlot
:
_reticleSpacing
+
_reticleHeight
property
real
_longDash
:
size
*
0.
40
property
real
_longDash
:
size
*
0.
35
property
real
_shortDash
:
size
*
0.25
property
real
_fontSize
:
ScreenTools
.
defaultFontPointSize
*
(
size
/
_defaultSize
)
property
real
_defaultSize
:
ScreenTools
.
isAndroid
?
300
:
100
property
real
_fontSize
:
ScreenTools
.
defaultFontPointSize
*
0.75
height
:
size
width
:
size
...
...
@@ -55,22 +53,22 @@ Rectangle {
smooth
:
true
QGCLabel
{
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenterOffset
:
-
(
_longDash
*
0.8
)
anchors.horizontalCenterOffset
:
-
(
_longDash
)
anchors.verticalCenter
:
parent
.
verticalCenter
smooth
:
true
font.family
:
ScreenTools
.
demiboldFontFamily
font.pointSize
:
_fontSize
<
1
?
1
:
_fontSize
;
font.pointSize
:
_fontSize
text
:
_pitch
color
:
"
white
"
visible
:
(
_pitch
!=
0
)
&&
((
_pitch
%
10
)
===
0
)
}
QGCLabel
{
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenterOffset
:
(
_longDash
*
0.8
)
anchors.horizontalCenterOffset
:
(
_longDash
)
anchors.verticalCenter
:
parent
.
verticalCenter
smooth
:
true
font.family
:
ScreenTools
.
demiboldFontFamily
font.pointSize
:
_fontSize
<
1
?
1
:
_fontSize
;
font.pointSize
:
_fontSize
text
:
_pitch
color
:
"
white
"
visible
:
(
_pitch
!=
0
)
&&
((
_pitch
%
10
)
===
0
)
...
...
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