diff options
| author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-11-21 21:15:30 +0100 |
|---|---|---|
| committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-11-21 21:15:30 +0100 |
| commit | a0b51452baaae811fbd3143f1e6f4ec9642a33c6 (patch) | |
| tree | 02abb172b1bbaa43dd62e20e6da6a00ec5964bd3 /importdetaildialog.h | |
| parent | added dialog after key import (diff) | |
| download | gpg4usb-a0b51452baaae811fbd3143f1e6f4ec9642a33c6.tar.gz gpg4usb-a0b51452baaae811fbd3143f1e6f4ec9642a33c6.zip | |
added files for import information
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@646 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'importdetaildialog.h')
| -rw-r--r-- | importdetaildialog.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/importdetaildialog.h b/importdetaildialog.h new file mode 100644 index 0000000..f4d05de --- /dev/null +++ b/importdetaildialog.h @@ -0,0 +1,55 @@ +/* + * importdetailsdialog.h + * + * Copyright 2008 gpg4usb-team <[email protected]> + * + * This file is part of gpg4usb. + * + * Gpg4usb is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Gpg4usb is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with gpg4usb. If not, see <http://www.gnu.org/licenses/> + */ + +#ifndef __IMPORTDETAILSDIALOG_H__ +#define __IMPORTDETAILSDIALOG_H__ + +#include "keylist.h" +#include <gpgme.h> + +QT_BEGIN_NAMESPACE +class QGridLayout; +class QDialogButtonBox; +QT_END_NAMESPACE + +class ImportDetailDialog : public QDialog +{ + Q_OBJECT + +public: + ImportDetailDialog(GpgME::GpgContext* ctx, KeyList* keyList, gpgme_import_result_t result, QWidget *parent = 0); + +private: + void createGeneralInfoBox(); + void createKeyInfoBox(); + + GpgME::GpgContext *mCtx; + KeyList *mKeyList; + QGroupBox *generalInfoBox; + QGroupBox *keyInfoBox; + QDialogButtonBox *okButtonBox; + QVBoxLayout *mvbox; + QGridLayout *generalInfoBoxLayout; + QGridLayout *keyInfoBoxLayout; + gpgme_import_result_t mResult; +}; + +#endif // __IMPORTDETAILSDIALOG_H__ |
