diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-09-27 19:25:31 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-09-27 19:25:31 +0000 |
commit | 0b84b5f31fd6be36c2c13598cde0d7c4d44ab5fe (patch) | |
tree | 9034f4adc514272ac5f16a01c9ee472b484ba0cd /gpgwin.cpp | |
parent | updated todo (diff) | |
download | gpg4usb-0b84b5f31fd6be36c2c13598cde0d7c4d44ab5fe.tar.gz gpg4usb-0b84b5f31fd6be36c2c13598cde0d7c4d44ab5fe.zip |
more error handling for encryption in context.cpp
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@378 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r-- | gpgwin.cpp | 28 |
1 files changed, 25 insertions, 3 deletions
@@ -324,7 +324,31 @@ void GpgWin::createToolBars() void GpgWin::createStatusBar() { - statusBar()->showMessage(tr("Ready")); + QWidget *langBox = new QWidget(); + QHBoxLayout *vbox2 = new QHBoxLayout(); + + langBox->setLayout(vbox2); + +// langBox->addMenuAction(appendSelectedKeysAct); + + + statusBar()->showMessage(tr("Ready"),2000); + statusBar()->setContentsMargins(0,0,0,0); + QLabel *label; + QPixmap *pixmap; + QMenu *menu; + pixmap = new QPixmap(iconPath + "statusbar_txt3.png"); + label = new QLabel(statusBar()); + label->setPixmap(*pixmap); + langBox->setLayout(vbox2); + menu = new QMenu(label); + QMenu *filemenu; + filemenu= menu->addMenu(tr("&File")); + label->setStatusTip("Es liegen Dateien im Attachments-Ordner"); + label->setWhatsThis("Attachment vorhanden"); + + statusBar()->insertPermanentWidget(0,label,0); + statusBar()->setFixedHeight(30); } void GpgWin::createDockWindows() @@ -346,8 +370,6 @@ void GpgWin::createDockWindows() // hide till attachmendt is decrypted viewMenu->addAction(aDock->toggleViewAction()); aDock->hide(); - - } void GpgWin::closeEvent(QCloseEvent *event) |