diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 00:13:55 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 00:13:55 +0000 |
commit | a2f4f2b703425f68e3c721a58d153da0572887a1 (patch) | |
tree | a2e437b44d8d901bf3eb4e45849fb38c2caf13e3 | |
parent | wizard styling (diff) | |
download | gpg4usb-a2f4f2b703425f68e3c721a58d153da0572887a1.tar.gz gpg4usb-a2f4f2b703425f68e3c721a58d153da0572887a1.zip |
simplified gnupg import page in wizard and some minor beautifying
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@758 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | TODO | 2 | ||||
-rwxr-xr-x | release/keydb/gpg.conf | 1 | ||||
-rw-r--r-- | wizard.cpp | 24 |
3 files changed, 11 insertions, 16 deletions
@@ -29,6 +29,7 @@ Release 0.3.2 - only show one import detail dialog, when importing public/private keys - always activate next button - nextid is not called when clicking finish button +- BUG: cancel decryption on windows hangs programm -> possibly bug in gpgme [DONE] - option in settingsdialog for enabling steganographic operations [DONE] - minimal steganography option: remove or add pgp-headers on demand [DONE] - Add advanced tab to settings dialog [DONE] @@ -121,7 +122,6 @@ Later: BUGS ---- -- cancel decryption on windows hangs programm -> possibly bug in gpgme - entering wrong password for decrypt on windows hangs program -> possible bug in gpgme - Sometimes two or more stars are added to title of modified tabs diff --git a/release/keydb/gpg.conf b/release/keydb/gpg.conf deleted file mode 100755 index 32c4395..0000000 --- a/release/keydb/gpg.conf +++ /dev/null @@ -1 +0,0 @@ -lock-never @@ -164,7 +164,7 @@ bool ImportFromGpg4usbPage::importKeysFromGpg4usb() // Return, if no keyrings are found in subdir of chosen dir if (!(pubRing.exists() or secRing.exists())) { - QMessageBox::critical(0, tr("Import Error"), tr("Couldn't locate any keyring file in choosen directory")); + QMessageBox::critical(0, tr("Import Error"), tr("Couldn't locate any keyring file in %1").arg(dir+"/keydb")); return false; } @@ -197,25 +197,21 @@ ImportFromGnupgPage::ImportFromGnupgPage(GpgME::GpgContext *ctx, KeyMgmt *keyMgm //setPixmap(QWizard::WatermarkPixmap, QPixmap(":/logo-flipped.png")); mCtx=ctx; mKeyMgmt=keyMgmt; - setTitle(tr("Keyring Import")); + setTitle(tr("Key import from Gnupg")); setSubTitle("bla"); - QGroupBox *gnupgBox = new QGroupBox(tr("Import from GnuPG"), this); - QGridLayout *gnupgLayout = new QGridLayout(); - gnupgLabel = new QLabel(tr("Should I try to import keys from a locally installed GnuPG?")); - gnupgLayout->addWidget(gnupgLabel,1,1); + QGridLayout *layout = new QGridLayout(); + gnupgLabel = new QLabel(tr("Should I try to import keys from a locally installed GnuPG?<br/> The location is read " + "from registry in Windows and assumed to be the .gnupg folder in the your home directory in Linux")); + gnupgLabel->setWordWrap(true); + layout->addWidget(gnupgLabel,1,1); QWidget *importFromGnupgButtonBox = new QWidget(this); QHBoxLayout *importFromGnupgButtonBoxLayout = new QHBoxLayout(importFromGnupgButtonBox); importFromGnupgButton = new QPushButton(tr("Import keys from GnuPG")); connect(importFromGnupgButton, SIGNAL(clicked()), this, SLOT(importKeysFromGnupg())); importFromGnupgButtonBox->setLayout(importFromGnupgButtonBoxLayout); - gnupgLayout->addWidget(importFromGnupgButton,2,1); - - gnupgBox->setLayout(gnupgLayout); - - layout = new QVBoxLayout(); - layout->addWidget(gnupgBox); + layout->addWidget(importFromGnupgButton,2,1); this->setLayout(layout); } @@ -293,8 +289,8 @@ KeyGenPage::KeyGenPage(GpgME::GpgContext *ctx, QWidget *parent) "Other users can use the public key to encrypt texts for you<br/>" "and verify texts signed by you.<br/>" "You can use the private key to decrypt and sign texts.<br/>" - "For more information have a look in the online tutorial:")); - QLabel *linkLabel = new QLabel("<a href=""docu_keygen.html#content"">"+tr("Online tutorial")+"</a>"); + "For more information have a look in the offline tutorial (which then is shown in the main window:")); + QLabel *linkLabel = new QLabel("<a href=""docu_keygen.html#content"">"+tr("Offline tutorial")+"</a>"); //linkLabel->setOpenExternalLinks(true); connect(linkLabel, SIGNAL(linkActivated(const QString&)), parentWidget()->parentWidget(), SLOT(openHelp(const QString&))); |