From 89e00e0ce24261c83043bf912adf3b3bf67c9814 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 14 Nov 2011 21:27:32 +0000 Subject: more text in wizard git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@616 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- fileencryptiondialog.cpp | 2 +- wizard.cpp | 13 +++++++++++-- 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.
" + "The pair contains a public and a private key.
" + "Other users can use the public key to encrypt texts for you
" + "and verify texts signed by you.
" + "You can use the private key to decrypt and sign texts.
" + "For more information have a look in the online tutorial:")); + QLabel *linkLabel = new QLabel(""+tr("Online tutorial")+""); + 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(); -- cgit v1.2.3