From c3b622979891cd755829b99d68e9c819bb39595f Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Thu, 25 Mar 2010 13:29:51 +0100
Subject: [PATCH] QmlDesigner: unifying background color

---
 .../qmldesigner/propertyeditor/Qt/propertyEditor.css |  4 ++--
 .../components/itemlibrary/qml/ItemsViewStyle.qml    |  2 +-
 .../qmldesigner/components/resources/stylesheet.css  | 12 ++++++------
 .../components/stateseditor/stateslist.qml           |  2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css b/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css
index 0f23858ad58..236ebed42ae 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css
@@ -1,5 +1,5 @@
 QFrame, QSpinBox {
-    background-color: #707070;
+    background-color: #4f4f4f;
 }
 
 QFrame 
@@ -10,7 +10,7 @@ QFrame
 
 WidgetFrame {
    border: 0px;
-   background-color: #707070;
+   background-color: #4f4f4f;
 }
 
  QComboBox QAbstractItemView {
diff --git a/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsViewStyle.qml b/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsViewStyle.qml
index 80a76b2e80d..7e879231516 100644
--- a/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsViewStyle.qml
+++ b/src/plugins/qmldesigner/components/itemlibrary/qml/ItemsViewStyle.qml
@@ -32,7 +32,7 @@ import Qt 4.6
 // the style used the items view
 
 Item {
-    property string backgroundColor: "#707070"
+    property string backgroundColor: "#4f4f4f"
     property string raisedBackgroundColor: "#e0e0e0"
 
     property string scrollbarBorderColor: "#8F8F8F"
diff --git a/src/plugins/qmldesigner/components/resources/stylesheet.css b/src/plugins/qmldesigner/components/resources/stylesheet.css
index 9c794ab37dd..74ee7546fce 100644
--- a/src/plugins/qmldesigner/components/resources/stylesheet.css
+++ b/src/plugins/qmldesigner/components/resources/stylesheet.css
@@ -1,6 +1,6 @@
 QFrame {
    border: 2px;
-   background-color: #707070;
+   background-color: #4f4f4f;
 }
 
 QLabel {
@@ -13,28 +13,28 @@ QLabel {
 
 QScrollArea {
      border: 0px;
-     background-color: #707070;
+     background-color: #4f4f4f;
 }
 
 QStackedWidget {
      border: 0px;
-     background-color: #707070;
+     background-color: #4f4f4f;
 }
 
 
 QGraphicsView {
      border: 0px;
-     background-color: #707070;
+     background-color: #4f4f4f;
 }
 
 QTabWidget {
      border: 0px;
-     background-color: #707070;
+     background-color: #4f4f4f;
 }
 
 QTabWidget::pane { /* The tab widget frame */
      border: 0px;
-     background-color: #707070;
+     background-color: #4f4f4f;
 }
 
 QLineEdit
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
index 43d1172621f..441ecab71a2 100644
--- a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
+++ b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
@@ -9,7 +9,7 @@ Rectangle {
     signal deleteState(int index)
     signal duplicateCurrentState
 
-    color: "#707070";
+    color: "#4f4f4f";
 
     function adjustCurrentStateIndex() {
         if (currentStateIndex >= statesEditorModel.count)
-- 
GitLab