diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-10 01:38:55 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-10 01:38:55 +0000 |
commit | e6c577c72f12273cb27f2be43a1ebd70e0a800a3 (patch) | |
tree | 1ac208d07d22a19897a4fb1db8549c2b79a4a599 /verifynotification.cpp | |
parent | just comments (diff) | |
download | gpg4usb-e6c577c72f12273cb27f2be43a1ebd70e0a800a3.tar.gz gpg4usb-e6c577c72f12273cb27f2be43a1ebd70e0a800a3.zip |
further comments
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@513 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r-- | verifynotification.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp index f1bffc4..1569542 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -6,12 +6,7 @@ VerifyNotification::VerifyNotification(GpgME::Context *ctx, QWidget *parent ) : { mCtx = ctx; verifyLabel = new QLabel(this); - - notificationWidgetLayout = new QHBoxLayout(this); - notificationWidgetLayout->setContentsMargins(0,0,0,0); - notificationWidgetLayout->addWidget(verifyLabel,2); - - this->setLayout(notificationWidgetLayout); + verifyDetailText = new QString(); importFromKeyserverAct = new QAction(tr("Import missing key from Keyserver"), this); connect(importFromKeyserverAct, SIGNAL(triggered()), this, SLOT(importFromKeyserver())); @@ -23,12 +18,18 @@ VerifyNotification::VerifyNotification(GpgME::Context *ctx, QWidget *parent ) : detailMenu->addAction(showVerifyDetailsAct); detailMenu->addAction(importFromKeyserverAct); importFromKeyserverAct->setVisible(false); + keysNotInList = new QStringList(); + detailsButton = new QPushButton("Details",this); detailsButton->setMenu(detailMenu); + notificationWidgetLayout = new QHBoxLayout(this); + notificationWidgetLayout->setContentsMargins(0,0,0,0); + notificationWidgetLayout->addWidget(verifyLabel,2); notificationWidgetLayout->addWidget(detailsButton); - verifyDetailText = new QString(); + this->setLayout(notificationWidgetLayout); + } void VerifyNotification::setVerifyDetailText (QString text) |