aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editorpage.cpp5
-rw-r--r--release/css/default.css3
2 files changed, 4 insertions, 4 deletions
diff --git a/editorpage.cpp b/editorpage.cpp
index efbdf2e..0839584 100644
--- a/editorpage.cpp
+++ b/editorpage.cpp
@@ -29,10 +29,7 @@ EditorPage::EditorPage(const QString &filePath, QWidget *parent) : QWidget(paren
{
textPage = new QPlainTextEdit();
verifyLabel = new QLabel("Verified");
- verifyLabel->setAutoFillBackground(1);
- QPalette verifyPalette = verifyLabel->palette();
- verifyPalette.setColor(QPalette::Background, "#CBFDCB");
- verifyLabel->setPalette(verifyPalette);
+ verifyLabel->setObjectName("verifyLabel");
this->showVerifyLabel(false);
mainLayout = new QVBoxLayout();
mainLayout->setSpacing(0);
diff --git a/release/css/default.css b/release/css/default.css
index 8b81422..50e1344 100644
--- a/release/css/default.css
+++ b/release/css/default.css
@@ -1,3 +1,6 @@
+/* CSS for GUI, look e.g. at http://doc.qt.nokia.com/latest/stylesheet-examples.html */
+
+QLabel#verifyLabel { background-color: #CBFDCB }
/*
QLabel, QAbstractButton {