aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2016-06-19 19:38:43 +0200
committerJean-Baptiste Mardelle <[email protected]>2016-06-19 19:38:43 +0200
commitac06cad13ca794c2f01a41950e0a1c2c36d8e4b9 (patch)
tree5edf54a0a24d2398a8e812c2a6d6c30f6ddb4722
parenta06dfcca148de0ef8e1a012b6f882b365cf05cf2 (diff)
Make monitor toolbar use color theme
-rw-r--r--data/EffectToolBar.qml3
-rw-r--r--data/SceneToolBar.qml3
2 files changed, 4 insertions, 2 deletions
diff --git a/data/EffectToolBar.qml b/data/EffectToolBar.qml
index 2527624..70f24df 100644
--- a/data/EffectToolBar.qml
+++ b/data/EffectToolBar.qml
@@ -7,7 +7,8 @@ Rectangle {
objectName: "effecttoolbar"
width: fullscreenButton.width
height: fullscreenButton.height * 5 + zoomSlider.height + 2
- color: Qt.rgba(1, 1, 1, 0.6)
+ SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
+ color: Qt.rgba(myPalette.window.r, myPalette.window.g, myPalette.window.b, 0.7)
radius: 4
border.color : Qt.rgba(0, 0, 0, 0.3)
border.width: 1
diff --git a/data/SceneToolBar.qml b/data/SceneToolBar.qml
index f567ef6..3fd3497 100644
--- a/data/SceneToolBar.qml
+++ b/data/SceneToolBar.qml
@@ -7,7 +7,8 @@ Rectangle {
objectName: "scenetoolbar"
width: fullscreenButton.width
height: fullscreenButton.height * 5 + zoomSlider.height + 2
- color: Qt.rgba(1, 1, 1, 0.6)
+ SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
+ color: Qt.rgba(myPalette.window.r, myPalette.window.g, myPalette.window.b, 0.7)
radius: 4
border.color : Qt.rgba(0, 0, 0, 0.3)
border.width: 1