aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-29 22:57:00 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-01-29 22:57:00 +0000
commit79aefc30833413435ed3199ba00338529e9f1638 (patch)
tree03fef026a4bec7bcb0c44b063ff3b503eaa7fb97 /gpgwin.cpp
parentupdated TODO (diff)
downloadgpg4usb-79aefc30833413435ed3199ba00338529e9f1638.tar.gz
gpg4usb-79aefc30833413435ed3199ba00338529e9f1638.zip
restructured code of about dialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@458 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp37
1 files changed, 22 insertions, 15 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 983512c..0771e52 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -449,21 +449,28 @@ void GpgWin::closeEvent(QCloseEvent *event)
void GpgWin::about()
{
- QMessageBox::about(this, tr("About ") + qApp->applicationName(),
- "<center><h2>" + qApp->applicationName() + " "
- + qApp->applicationVersion() + "</h2></center>"
- + tr("<center>This Application allows you to do simple<br>"
- "encryption/decryption of your text-message or file.<br>"
- "It's licensed under the GPL v2.0<br><br>"
- "<b>Developer:</b><br>"
- "Bene, Heimer, Juergen, Nils, Ubbo<br><br>"
- "<b>Translation:</b><br>"
- "Alessandro (pt_br), Kirill (ru), Viriato (es), Serse (it) <br><br>"
- "If you have any questions and/or<br>"
- "suggestions, contact us at<br>"
- "gpg4usb at cpunk.de</a><br><br>"
- "or feel free to meet us in our xmpp-channel:<br>"
- "gpg4usb at conference.jabber.ccc.de</center>"));
+ QPixmap *pixmap = new QPixmap(iconPath + "gpg4usb-logo.png");
+ QString *title = new QString(tr("About ") + qApp->applicationName());
+ QString *text = new QString("<center><h2>" + qApp->applicationName() + " "
+ + qApp->applicationVersion() + "</h2></center>"
+ + tr("<center>This Application allows you to do simple<br>"
+ "encryption/decryption of your text-message or file.<br>"
+ "It's licensed under the GPL v2.0<br><br>"
+ "<b>Developer:</b><br>"
+ "Bene, Heimer, Juergen, Nils, Ubbo<br><br>"
+ "<b>Translation:</b><br>"
+ "Alessandro (pt_br), Kirill (ru), Viriato (es), Serse (it) <br><br>"
+ "If you have any questions and/or<br>"
+ "suggestions, contact us at<br>"
+ "gpg4usb at cpunk.de</a><br><br>"
+ "or feel free to meet us in our xmpp-channel:<br>"
+ "gpg4usb at conference.jabber.ccc.de</center>"));
+
+ QMessageBox::about(this, *title, *text);
+/* aboutBox.setText(*text);
+ aboutBox.setIconPixmap(*pixmap);
+ aboutBox.setWindowTitle(*title);
+ aboutBox.exec();*/
}
void GpgWin::openTranslate() {