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
af286a63
Commit
af286a63
authored
Apr 02, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix references to __qgcPal which did not exist in control
parent
671f7dc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
OfflineMap.qml
src/QtLocationPlugin/QMLControl/OfflineMap.qml
+14
-12
LinkSettings.qml
src/ui/preferences/LinkSettings.qml
+2
-2
No files found.
src/QtLocationPlugin/QMLControl/OfflineMap.qml
View file @
af286a63
...
...
@@ -36,7 +36,7 @@ import QGroundControl.Palette 1.0
Rectangle
{
id
:
_offlineMapRoot
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
anchors.fill
:
parent
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
...
...
@@ -59,6 +59,8 @@ Rectangle {
readonly
property
real
minZoomLevel
:
3
readonly
property
real
maxZoomLevel
:
20
QGCPalette
{
id
:
qgcpal
}
Component.onCompleted
:
{
QGroundControl
.
mapEngineManager
.
loadTileSets
()
updateMap
()
...
...
@@ -161,7 +163,7 @@ Rectangle {
id
:
_offlineMapTopRect
width
:
parent
.
width
height
:
labelTitle
.
height
+
ScreenTools
.
defaultFontPixelHeight
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
anchors.top
:
parent
.
top
Row
{
spacing
:
ScreenTools
.
defaultFontPixelHeight
*
2
...
...
@@ -240,7 +242,7 @@ Rectangle {
//-- Offline Map Definition
Rectangle
{
id
:
_mapView
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
width
:
parent
.
width
anchors.top
:
_offlineMapTopRect
.
bottom
anchors.bottom
:
parent
.
bottom
...
...
@@ -251,7 +253,7 @@ Rectangle {
width
:
parent
.
width
anchors.top
:
parent
.
top
anchors.bottom
:
bottomRect
.
top
color
:
(
__
qgcPal
.
globalTheme
===
QGCPalette
.
Light
)
?
"
black
"
:
"
#98aca4
"
color
:
(
qgcPal
.
globalTheme
===
QGCPalette
.
Light
)
?
"
black
"
:
"
#98aca4
"
Map
{
id
:
_map
...
...
@@ -332,7 +334,7 @@ Rectangle {
id
:
bottomRect
width
:
parent
.
width
height
:
_controlRow
.
height
+
(
ScreenTools
.
defaultFontPixelHeight
*
2
)
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
anchors.bottom
:
parent
.
bottom
Row
{
id
:
_controlRow
...
...
@@ -621,7 +623,7 @@ Rectangle {
}
Rectangle
{
id
:
_infoView
color
:
__
qgcPal
.
windowShade
color
:
qgcPal
.
windowShade
width
:
parent
.
width
anchors.top
:
_offlineMapTopRect
.
bottom
anchors.bottom
:
parent
.
bottom
...
...
@@ -644,7 +646,7 @@ Rectangle {
Rectangle
{
width
:
infoWidth
height
:
nameLabel
.
height
+
(
ScreenTools
.
defaultFontPixelHeight
*
2
)
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
radius
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.horizontalCenter
:
parent
.
horizontalCenter
QGCLabel
{
...
...
@@ -663,7 +665,7 @@ Rectangle {
id
:
infoRect
width
:
infoWidth
height
:
infoGrid
.
height
+
(
ScreenTools
.
defaultFontPixelHeight
*
4
)
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
radius
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.horizontalCenter
:
parent
.
horizontalCenter
GridLayout
{
...
...
@@ -804,7 +806,7 @@ Rectangle {
}
Rectangle
{
id
:
_optionsView
color
:
__
qgcPal
.
windowShade
color
:
qgcPal
.
windowShade
width
:
parent
.
width
anchors.top
:
_offlineMapTopRect
.
bottom
anchors.bottom
:
parent
.
bottom
...
...
@@ -834,7 +836,7 @@ Rectangle {
Rectangle
{
width
:
infoWidth
height
:
optionsLabel
.
height
+
(
ScreenTools
.
defaultFontPixelHeight
*
2
)
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
radius
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.horizontalCenter
:
parent
.
horizontalCenter
QGCLabel
{
...
...
@@ -848,7 +850,7 @@ Rectangle {
id
:
optionsRect
width
:
optionsGrid
.
width
+
(
ScreenTools
.
defaultFontPixelWidth
*
4
)
height
:
optionsGrid
.
height
+
(
ScreenTools
.
defaultFontPixelHeight
*
4
)
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
radius
:
ScreenTools
.
defaultFontPixelHeight
*
0.5
anchors.horizontalCenter
:
parent
.
horizontalCenter
GridLayout
{
...
...
@@ -890,7 +892,7 @@ Rectangle {
Layout.columnSpan
:
2
Layout.fillWidth
:
true
implicitHeight
:
1
color
:
__
qgcPal
.
text
color
:
qgcPal
.
text
}
QGCLabel
{
text
:
"
MapBox Access Token
"
...
...
src/ui/preferences/LinkSettings.qml
View file @
af286a63
...
...
@@ -32,7 +32,7 @@ import QGroundControl.Palette 1.0
Rectangle
{
id
:
_linkRoot
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
anchors.fill
:
parent
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
...
...
@@ -176,7 +176,7 @@ Rectangle {
Component
{
id
:
commSettings
Rectangle
{
color
:
__
qgcPal
.
window
color
:
qgcPal
.
window
anchors.fill
:
parent
Component.onCompleted
:
{
// If editing, create copy for editing
...
...
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