summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohann Latocha2011-03-08 17:31:20 +0100
committerJohann Latocha2011-03-08 17:31:20 +0100
commitef27d2efc13ba913501d8c44a6c307231834b0de (patch)
treee307c96848d5e08f7fa76a3998788aa37854eb7d
parent[PVSMGRTOUCH] (diff)
downloadpvs-ef27d2efc13ba913501d8c44a6c307231834b0de.tar.gz
pvs-ef27d2efc13ba913501d8c44a6c307231834b0de.tar.xz
pvs-ef27d2efc13ba913501d8c44a6c307231834b0de.zip
[PVSMGRTOUCH]
* Set thumbnail background color to light gray
-rw-r--r--src/gui/connectionFrame.h4
-rw-r--r--src/gui/connectionWindow.cpp2
-rw-r--r--src/gui/frame.cpp1
3 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/connectionFrame.h b/src/gui/connectionFrame.h
index 6578793..84f8549 100644
--- a/src/gui/connectionFrame.h
+++ b/src/gui/connectionFrame.h
@@ -16,8 +16,8 @@ extern "C"
}
#define PROFILE
-#define STYLE_DEFAULT "QGroupBox{background-color: rgb(150, 150, 150); margin: 2px; border: 1px solid black; border-radius: 8px; padding: 2px; padding-top: 1.5em;}"
-#define STYLE_SELECTED "QGroupBox{background-color: rgb(150, 150, 150); margin: 2px; border: 1px solid red; border-radius: 8px; padding: 2px; padding-top: 1.5em;}"
+#define STYLE_DEFAULT "QGroupBox{background-color: #DCDCDC; margin: 2px; border: 1px solid black; border-radius: 8px; padding: 2px; padding-top: 1.5em;}"
+#define STYLE_SELECTED "QGroupBox{background-color: #DCDCDC; margin: 2px; border: 1px solid red; border-radius: 8px; padding: 2px; padding-top: 1.5em;}"
#include <src/util/timeUtil.h>
diff --git a/src/gui/connectionWindow.cpp b/src/gui/connectionWindow.cpp
index df31562..ec6db1b 100644
--- a/src/gui/connectionWindow.cpp
+++ b/src/gui/connectionWindow.cpp
@@ -38,6 +38,8 @@ ConnectionWindow::ConnectionWindow(QWidget *parent) :
menu->addAction(newDummy);
setAcceptDrops(true); //drag&drop should be enabled
+
+ setStyleSheet("background-color: #DCDCDC;");
}
ConnectionWindow::~ConnectionWindow() {
diff --git a/src/gui/frame.cpp b/src/gui/frame.cpp
index 960c502..7b3bf16 100644
--- a/src/gui/frame.cpp
+++ b/src/gui/frame.cpp
@@ -82,6 +82,7 @@ Frame::Frame(const QString & text, QWidget * parent) :
_specialEventTimer->setSingleShot(true);
connect(_specialEventTimer, SIGNAL(timeout()), this, SLOT(showSpecialEventMenu()));
+ setStyleSheet("background-color: #DCDCDC;border: 0px solid #DCDCDC;");
}
Frame::~Frame()