Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Leander Schulten
Lichtsteuerung
Commits
a867e0d0
Commit
a867e0d0
authored
Oct 07, 2019
by
Leander Schulten
Browse files
UI: Remove white backgrounds, so that you can use a Dark mode or other background colors.
#55
parent
00485aff
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/qml/BarMapView.qml
View file @
a867e0d0
...
...
@@ -31,6 +31,7 @@ ColumnLayout{
anchors.left
:
parent
.
left
border.width
:
2
border.color
:
"
black
"
color
:
"
transparent
"
Flickable
{
anchors.fill
:
parent
...
...
src/qml/ControlPane/ControlItem.qml
View file @
a867e0d0
...
...
@@ -14,9 +14,9 @@ ControlItemTemplate{
property
bool
pressed
:
false
onPressedChanged
:{
if
(
pressed
){
rectangle
.
color
=
"
#C7C7FF
"
;
rectangle
.
color
=
Qt
.
rgba
(
0
,
0
,
1
,.
2
)
;
}
else
{
rectangle
.
color
=
"
white
"
;
rectangle
.
color
=
"
transparent
"
;
}
}
...
...
@@ -25,6 +25,7 @@ ControlItemTemplate{
anchors.fill
:
parent
border.width
:
1
border.color
:
"
blue
"
color
:
"
transparent
"
radius
:
3
layer.enabled
:
true
;
layer.effect
:
FastBlur
{
...
...
src/qml/HelpSystem/Help.qml
View file @
a867e0d0
...
...
@@ -152,12 +152,11 @@ Popup {
background
:
Pane
{
padding
:
0
Component.onCompleted
:
background
.
color
=
"
white
"
Material.elevation
:
24
Rectangle
{
id
:
arrow
color
:
"
white
"
color
:
Material
.
backgroundColor
rotation
:
45
width
:
20
height
:
20
...
...
@@ -274,7 +273,6 @@ Popup {
contentItem
:
Page
{
id
:
page
Component.onCompleted
:
background
.
color
=
"
white
"
Keys.onRightPressed
:
if
(
hasNextEntry
)
++
currentIndex
;
Keys.onLeftPressed
:
if
(
hasPreviousEntry
)
--
currentIndex
;
...
...
@@ -290,7 +288,7 @@ Popup {
anchors.right
:
parent
.
right
anchors.top
:
parent
.
top
anchors.topMargin
:
-
3
color
:
mouseArea
.
containsMouse
?
"
black
"
:
"
gray
"
color
:
mouseArea
.
containsMouse
?
Material
.
iconColor
:
Material
.
iconDisabledColor
MouseArea
{
id
:
mouseArea
anchors.fill
:
parent
...
...
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