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
81908093
Commit
81908093
authored
Oct 12, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making waypoints (orange) colors use palette so it can be changed in one single place.
parent
1388ac3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
MissionEditor.qml
src/MissionEditor/MissionEditor.qml
+2
-2
MissionItemIndexLabel.qml
src/QmlControls/MissionItemIndexLabel.qml
+4
-1
No files found.
src/MissionEditor/MissionEditor.qml
View file @
81908093
...
...
@@ -387,7 +387,7 @@ QGCView {
MapPolyline
{
id
:
homePositionLine
line.width
:
3
line.color
:
"
orange
"
line.color
:
_qgcPal
.
mapButtonHighlight
z
:
1
property
var
homePositionCoordinate
:
_homePositionCoordinate
...
...
@@ -421,7 +421,7 @@ QGCView {
delegate
:
MapPolyline
{
line.width
:
3
line.color
:
"
orange
"
line.color
:
_qgcPal
.
mapButtonHighlight
z
:
1
path
:
[
...
...
src/QmlControls/MissionItemIndexLabel.qml
View file @
81908093
...
...
@@ -3,6 +3,7 @@ import QtQuick.Controls 1.2
import
QtQuick
.
Controls
.
Styles
1.2
import
QGroundControl
.
ScreenTools
1.0
import
QGroundControl
.
Palette
1.0
Rectangle
{
property
alias
label
:
_label
.
text
...
...
@@ -10,12 +11,14 @@ Rectangle {
signal
clicked
QGCPalette
{
id
:
qgcPal
}
width
:
ScreenTools
.
defaultFontPixelHeight
*
1.5
height
:
width
radius
:
width
/
2
border.width
:
2
border.color
:
"
white
"
color
:
isCurrentItem
?
"
green
"
:
"
orange
"
color
:
isCurrentItem
?
"
green
"
:
qgcPal
.
mapButtonHighlight
MouseArea
{
anchors.fill
:
parent
...
...
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