Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
6a50472b
Commit
6a50472b
authored
Feb 24, 2016
by
dogmaphobic
Browse files
Adding a little gear indicator to flight widget.
parent
17fee7a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
qgcresources.qrc
View file @
6a50472b
...
@@ -138,6 +138,7 @@
...
@@ -138,6 +138,7 @@
<file alias="ArrowDown.svg">resources/ArrowDown.svg</file>
<file alias="ArrowDown.svg">resources/ArrowDown.svg</file>
<file alias="buttonLeft.svg">resources/buttonLeft.svg</file>
<file alias="buttonLeft.svg">resources/buttonLeft.svg</file>
<file alias="buttonRight.svg">resources/buttonRight.svg</file>
<file alias="buttonRight.svg">resources/buttonRight.svg</file>
<file alias="gear.svg">resources/gear.svg</file>
<file alias="JoystickBezel.png">resources/JoystickBezel.png</file>
<file alias="JoystickBezel.png">resources/JoystickBezel.png</file>
<file alias="JoystickBezelLight.png">resources/JoystickBezelLight.png</file>
<file alias="JoystickBezelLight.png">resources/JoystickBezelLight.png</file>
<file alias="notile.png">resources/notile.png</file>
<file alias="notile.png">resources/notile.png</file>
...
...
resources/gear.svg
0 → 100644
View file @
6a50472b
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
version=
"1.1"
id=
"Capa_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
viewBox=
"160 862 72 72"
style=
"enable-background:new 160 862 72 72;"
xml:space=
"preserve"
>
<path
d=
"M170.781,905.108c0.575,1.97,1.372,3.87,2.381,5.653l-2.873,3.624c-0.938,1.185-0.833,2.873,0.223,3.941l4.949,4.949
c1.067,1.067,2.756,1.161,3.941,0.223l3.601-2.85c1.853,1.067,3.823,1.9,5.876,2.486l0.54,4.633
c0.176,1.501,1.443,2.627,2.944,2.627h7.002c1.501,0,2.768-1.126,2.944-2.627l0.516-4.469c2.205-0.575,4.316-1.431,6.298-2.545
l3.483,2.756c1.185,0.938,2.873,0.833,3.941-0.223l4.949-4.949c1.067-1.067,1.161-2.756,0.223-3.941l-2.709-3.436
c1.126-1.947,2.006-4.023,2.592-6.193l4.175-0.481c1.501-0.176,2.627-1.443,2.627-2.944v-7.002c0-1.501-1.126-2.768-2.627-2.944
l-4.117-0.481c-0.563-2.146-1.407-4.199-2.486-6.122l2.533-3.202c0.938-1.185,0.833-2.873-0.223-3.941l-4.938-4.938
c-1.067-1.067-2.756-1.161-3.941-0.223l-3.108,2.463c-2.017-1.185-4.175-2.088-6.439-2.698l-0.469-4.023
c-0.176-1.501-1.443-2.627-2.944-2.627h-7.002c-1.501,0-2.768,1.126-2.944,2.627l-0.469,4.023c-2.322,0.622-4.539,1.56-6.603,2.791
l-3.225-2.557c-1.185-0.938-2.873-0.833-3.941,0.223l-4.949,4.949c-1.067,1.067-1.161,2.756-0.223,3.941l2.698,3.413
c-1.079,1.947-1.9,4.023-2.44,6.181l-4.316,0.493c-1.501,0.176-2.627,1.443-2.627,2.944v7.002c0,1.501,1.126,2.768,2.627,2.944
L170.781,905.108z M196.15,886.166c6.38,0,11.576,5.196,11.576,11.576s-5.196,11.576-11.576,11.576
c-6.38,0-11.576-5.196-11.576-11.576S189.77,886.166,196.15,886.166z"
/>
</svg>
src/FlightMap/Widgets/QGCInstrumentWidget.qml
View file @
6a50472b
...
@@ -77,6 +77,15 @@ Rectangle {
...
@@ -77,6 +77,15 @@ Rectangle {
anchors.horizontalCenter
:
parent
.
horizontalCenter
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
}
Image
{
anchors.bottom
:
attitude
.
bottom
anchors.right
:
attitude
.
right
source
:
"
/res/gear.svg
"
mipmap
:
true
width
:
attitude
.
width
*
0.15
fillMode
:
Image
.
PreserveAspectFit
}
Rectangle
{
Rectangle
{
id
:
_spacer1
id
:
_spacer1
anchors.topMargin
:
_spacing
anchors.topMargin
:
_spacing
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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