From ef27d2efc13ba913501d8c44a6c307231834b0de Mon Sep 17 00:00:00 2001 From: Johann Latocha Date: Tue, 8 Mar 2011 17:31:20 +0100 Subject: [PVSMGRTOUCH] * Set thumbnail background color to light gray --- src/gui/connectionFrame.h | 4 ++-- src/gui/connectionWindow.cpp | 2 ++ src/gui/frame.cpp | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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 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() -- cgit v1.2.3-55-g7522