diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-09-12 22:42:28 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-09-12 22:42:28 +0000 |
commit | 715a3a80bda633f38fb26df5599a01abd08b85db (patch) | |
tree | a9214e03df2e6d0c10ae80d077232bb3310e6eef /verifynotification.cpp | |
parent | show details in different colours in verfiy detail dialog, further commenting... (diff) | |
download | gpg4usb-715a3a80bda633f38fb26df5599a01abd08b85db.tar.gz gpg4usb-715a3a80bda633f38fb26df5599a01abd08b85db.zip |
changed verifydetailsdialog, updated todo
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@531 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r-- | verifynotification.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp index a13bcc8..eec65f7 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -21,10 +21,12 @@ #include "verifynotification.h" -VerifyNotification::VerifyNotification(GpgME::Context *ctx, QWidget *parent ) : +VerifyNotification::VerifyNotification(QWidget *parent, GpgME::Context *ctx, KeyList *keyList, gpgme_signature_t sign ) : QWidget(parent) { mCtx = ctx; + mKeyList = keyList; + mSignature = sign; verifyLabel = new QLabel(this); importFromKeyserverAct = new QAction(tr("Import missing key from Keyserver"), this); @@ -93,7 +95,7 @@ void VerifyNotification::showImportAction(bool visible) void VerifyNotification::showVerifyDetails() { - QDialog *verifyDetailsDialog = new QDialog(this); + /*QDialog *verifyDetailsDialog = new QDialog(this); // QLabel *label = new QLabel(*verifyDetailText); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close); connect(buttonBox, SIGNAL(rejected()), verifyDetailsDialog, SLOT(close())); @@ -122,5 +124,6 @@ void VerifyNotification::showVerifyDetails() verifyDetailsDialog->show(); //QMessageBox::information(this,tr("Details"),QString(*verifyDetailText), QMessageBox::Ok); - return; + return;*/ + new VerifyDetailsDialog(this, mCtx, mKeyList, mSignature); } |