From 97197b497141f0d9a0ccf33b022bc8da256b82aa Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 9 Jan 2012 22:42:24 +0000 Subject: added flipped logo to wizard git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@738 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpg4usb.qrc | 2 ++ release/icons/gpg4usb-logo_flipped.png | Bin 0 -> 8570 bytes wizard.cpp | 8 +++++--- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 release/icons/gpg4usb-logo_flipped.png diff --git a/gpg4usb.qrc b/gpg4usb.qrc index 0885c28..73632b3 100644 --- a/gpg4usb.qrc +++ b/gpg4usb.qrc @@ -3,5 +3,7 @@ release/icons/keymgmt.png release/icons/help.png release/icons/button_copy.png + release/icons/gpg4usb-logo.png + release/icons/gpg4usb-logo_flipped.png diff --git a/release/icons/gpg4usb-logo_flipped.png b/release/icons/gpg4usb-logo_flipped.png new file mode 100644 index 0000000..0e044da Binary files /dev/null and b/release/icons/gpg4usb-logo_flipped.png differ diff --git a/wizard.cpp b/wizard.cpp index b9fd914..4b64a7d 100644 --- a/wizard.cpp +++ b/wizard.cpp @@ -1,5 +1,4 @@ -/* - * wizard.cpp +/* * wizard.cpp * * Copyright 2008 gpg4usb-team * @@ -40,7 +39,6 @@ Wizard::Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent) #ifndef Q_WS_MAC setWizardStyle(ModernStyle); #endif - setWindowTitle(tr("First Start Wizard")); } @@ -48,6 +46,7 @@ IntroPage::IntroPage(QWidget *parent) : QWizardPage(parent) { setTitle(tr("Introduction")); + setPixmap(QWizard::WatermarkPixmap, QPixmap(":/logo-flipped.png")); topLabel = new QLabel(tr("This wizard will help you getting started with encrypting and decrypting.")); topLabel->setWordWrap(true); @@ -65,6 +64,8 @@ int IntroPage::nextId() const KeyGenPage::KeyGenPage(GpgME::GpgContext *ctx, QWidget *parent) : QWizardPage(parent) { + + setPixmap(QWizard::WatermarkPixmap, QPixmap(":/logo-flipped.png")); mCtx=ctx; setTitle(tr("Key-Generating")); topLabel = new QLabel(tr("First you've got to create an own keypair.
" @@ -110,6 +111,7 @@ void KeyGenPage::showKeyGeneratedMessage() ImportPage::ImportPage(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent) : QWizardPage(parent) { + setPixmap(QWizard::WatermarkPixmap, QPixmap(":/logo-flipped.png")); mCtx=ctx; mKeyMgmt=keyMgmt; setTitle(tr("Keyring Import")); -- cgit v1.2.3