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
e89453d4
Commit
e89453d4
authored
Apr 05, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3153 from dogmaphobic/brandingColor
Using proper logo colors.
parents
bd65911d
2d8c2579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
22 deletions
+26
-22
MainToolBar.qml
src/ui/toolbar/MainToolBar.qml
+26
-22
No files found.
src/ui/toolbar/MainToolBar.qml
View file @
e89453d4
...
...
@@ -403,6 +403,31 @@ Rectangle {
anchors.bottom
:
parent
.
bottom
height
:
1
color
:
"
black
"
visible
:
qgcPal
.
globalTheme
==
QGCPalette
.
Light
}
//---------------------------------------------
// Logo (Preferences Button)
Rectangle
{
id
:
preferencesButton
width
:
mainWindow
.
tbButtonWidth
*
1.25
height
:
parent
.
height
anchors.top
:
parent
.
top
anchors.left
:
parent
.
left
color
:
"
#4A2C6D
"
Image
{
height
:
mainWindow
.
tbCellHeight
anchors.centerIn
:
parent
source
:
"
/res/QGCLogoWhite
"
fillMode
:
Image
.
PreserveAspectFit
smooth
:
true
mipmap
:
true
antialiasing
:
true
}
MouseArea
{
anchors.fill
:
parent
onClicked
:
mainWindow
.
showLeftMenu
()
}
}
//---------------------------------------------
...
...
@@ -411,7 +436,7 @@ Rectangle {
id
:
viewRow
height
:
mainWindow
.
tbCellHeight
spacing
:
mainWindow
.
tbSpacing
anchors.left
:
p
arent
.
lef
t
anchors.left
:
p
referencesButton
.
righ
t
anchors.leftMargin
:
mainWindow
.
tbSpacing
anchors.bottomMargin
:
1
anchors.top
:
parent
.
top
...
...
@@ -419,27 +444,6 @@ Rectangle {
ExclusiveGroup
{
id
:
mainActionGroup
}
Image
{
id
:
preferencesButton
width
:
mainWindow
.
tbButtonWidth
anchors.topMargin
:
_topBottomMargins
anchors.bottomMargin
:
_topBottomMargins
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
source
:
qgcPal
.
globalTheme
==
QGCPalette
.
Light
?
"
/res/QGCLogoBlack
"
:
"
/res/QGCLogoWhite
"
fillMode
:
Image
.
PreserveAspectFit
smooth
:
true
mipmap
:
true
antialiasing
:
true
readonly
property
real
_topBottomMargins
:
ScreenTools
.
defaultFontPixelHeight
/
2
MouseArea
{
anchors.fill
:
parent
onClicked
:
mainWindow
.
showLeftMenu
()
}
}
QGCToolBarButton
{
id
:
setupButton
width
:
mainWindow
.
tbButtonWidth
...
...
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