diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-07-15 13:34:36 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-07-15 13:34:36 +0000 |
commit | a22e8d4697b413b2348a648735afee259f541a56 (patch) | |
tree | 8adf9d8aaa5c92f550f1420d1c56a85925603a82 /editorpage.cpp | |
parent | add possibility to use stylesheet (diff) | |
download | gpg4usb-a22e8d4697b413b2348a648735afee259f541a56.tar.gz gpg4usb-a22e8d4697b413b2348a648735afee259f541a56.zip |
use css for verifyLabel
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@497 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'editorpage.cpp')
-rw-r--r-- | editorpage.cpp | 5 |
1 files changed, 1 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); |