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
05b3b92a
Commit
05b3b92a
authored
May 08, 2017
by
Patrick José Pereira
Browse files
Change pie color with theme
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
a5f49104
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PlanView/SurveyItemEditor.qml
View file @
05b3b92a
...
...
@@ -549,13 +549,14 @@ Rectangle {
}
}
Image
{
QGCColored
Image
{
id
:
windRoseArrow
source
:
"
/res/wind-rose-arrow.svg
"
visible
:
windRosePie
.
visible
width
:
windRosePie
.
width
/
5
height
:
width
*
1.454
smooth
:
true
color
:
qgcPal
.
colorGrey
transform
:
Rotation
{
origin.x
:
windRoseArrow
.
width
/
2
origin.y
:
windRoseArrow
.
height
/
2
...
...
@@ -566,13 +567,14 @@ Rectangle {
z
:
windRosePie
.
z
}
Image
{
QGCColored
Image
{
id
:
windGuru
source
:
"
/res/wind-guru.svg
"
visible
:
windRosePie
.
visible
width
:
windRosePie
.
width
/
3
height
:
width
*
4.28
e
-
1
smooth
:
true
color
:
qgcPal
.
colorGrey
transform
:
Rotation
{
origin.x
:
windGuru
.
width
/
2
origin.y
:
windGuru
.
height
/
2
...
...
@@ -589,8 +591,8 @@ Rectangle {
width
:
2.6
*
windRoseButton
.
width
visible
:
false
property
string
colorCircle
:
Qt
.
rgba
(
0
,
0
,
0
,
0.45
)
property
string
colorBackground
:
Qt
.
rgba
(
0
,
0
,
0
,
0.75
)
property
string
colorCircle
:
qgcPal
.
windowShade
property
string
colorBackground
:
qgcPal
.
colorGrey
property
real
lineWidth
:
windRoseButton
.
width
/
3
property
real
angle
:
0
...
...
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