aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-14 21:27:32 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-14 21:27:32 +0000
commit89e00e0ce24261c83043bf912adf3b3bf67c9814 (patch)
tree1a6b4b44cb3af0482a6350dfbf02223e302feb28
parent fixed a lot of bugs, where app crached, when no tab is opened (liek save as,... (diff)
downloadgpg4usb-89e00e0ce24261c83043bf912adf3b3bf67c9814.tar.gz
gpg4usb-89e00e0ce24261c83043bf912adf3b3bf67c9814.zip
more text in wizard
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@616 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rwxr-xr-xfileencryptiondialog.cpp2
-rw-r--r--wizard.cpp13
2 files changed, 12 insertions, 3 deletions
diff --git a/fileencryptiondialog.cpp b/fileencryptiondialog.cpp
index 53bf8f7..d7bd27f 100755
--- a/fileencryptiondialog.cpp
+++ b/fileencryptiondialog.cpp
@@ -45,7 +45,7 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QString iconP
fl1->setBuddy(inputFileEdit);
outputFileEdit = new QLineEdit();
- QPushButton *fb2 = new QPushButton(tr("..."));
+ QPushButton *fb2 = new QPushButton("...");
connect(fb2, SIGNAL(clicked()), this, SLOT(selectOutputFile()));
QLabel *fl2 = new QLabel(tr("Output"));
fl2->setBuddy(outputFileEdit);
diff --git a/wizard.cpp b/wizard.cpp
index 3d4162c..84b8657 100644
--- a/wizard.cpp
+++ b/wizard.cpp
@@ -66,10 +66,19 @@ KeyGenPage::KeyGenPage(GpgME::GpgContext *ctx, QWidget *parent)
{
mCtx=ctx;
setTitle(tr("Key-Generating"));
- topLabel = new QLabel(tr("First you've got to create an own key."));
+ topLabel = new QLabel(tr("First you've got to create an own keypair.<br/>"
+ "The pair contains a public and a private key.<br/>"
+ "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=""http://gpg4usb.cpunk.de/docu.html"">"+tr("Online tutorial")+"</a>");
+ linkLabel->setOpenExternalLinks(true);
+
createKeyButton = new QPushButton(tr("Create New Key"));
layout = new QVBoxLayout();
layout->addWidget(topLabel);
+ layout->addWidget(linkLabel);
layout->addWidget(createKeyButton);
connect(createKeyButton, SIGNAL(clicked()), this, SLOT(generateKeyDialog()));
@@ -98,7 +107,7 @@ ImportPage::ImportPage(GpgME::GpgContext *ctx, QWidget *parent)
{
mCtx=ctx;
setTitle(tr("Keyring Import from GnuPG-home-directory"));
- topLabel = new QLabel(tr("Should I try to import keys from gnupg?"));
+ topLabel = new QLabel(tr("Should I try to import keys from GnuPG?"));
// Layout for private keys
privateKeysCheckBox = new QCheckBox();