aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Kozlov <AnKozlov@luxoft.com>2018-03-23 10:51:06 +0100
committerDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-03-23 12:45:23 +0000
commit33d3be5dd563707a73b3219791e279a2cdc1077c (patch)
tree16d79c9a0111893a9bcbf8883dd31d0f07d230ea
parent89e4ad9ed4901dea635192a883af17dbb2ed2b54 (diff)
[Instrument Cluster] Add support NeptuneStyle.accentColor
- The Instrument Cluster supports NeptuneStyle.accentColor Task-number: AUTOSUITE-240 Change-Id: Ice1308038cceafafcc355df5543424ae4b6c42e0 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
-rw-r--r--apps/com.theqtcompany.cluster/DialFrame.qml4
-rw-r--r--apps/com.theqtcompany.cluster/DialPower.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/com.theqtcompany.cluster/DialFrame.qml b/apps/com.theqtcompany.cluster/DialFrame.qml
index 29b76608..ac88e396 100644
--- a/apps/com.theqtcompany.cluster/DialFrame.qml
+++ b/apps/com.theqtcompany.cluster/DialFrame.qml
@@ -46,8 +46,8 @@ Item {
property real zeroAng: minAng
property real maxAng: 90
property real minAng: -270
- property color positiveColor: "#fba054"
- property color negativeColor: "#fba054"
+ property color positiveColor: NeptuneStyle.accentColor
+ property color negativeColor: NeptuneStyle.accentColor
//private
QtObject {
diff --git a/apps/com.theqtcompany.cluster/DialPower.qml b/apps/com.theqtcompany.cluster/DialPower.qml
index 74b7338b..cdffcf99 100644
--- a/apps/com.theqtcompany.cluster/DialPower.qml
+++ b/apps/com.theqtcompany.cluster/DialPower.qml
@@ -249,7 +249,7 @@ Item {
minAng: -210
maxAng: 0
zeroAng: -180
- positiveColor: "#fba054"
+ positiveColor: NeptuneStyle.accentColor
negativeColor: "#80447191"
highLightAng: d.power2Angle(d.ePower)
}