Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 191:246c21b1727f
Show the help dialog.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 26 Mar 2014 12:21:35 +0100 |
parents | 5f0d45ca9de4 |
children | fe424c5fc875 |
comparison
equal
deleted
inserted
replaced
190:1a66a15d0df8 | 191:246c21b1727f |
---|---|
24 #define SW_RESOURCE "/incoming/aheinecke/test" | 24 #define SW_RESOURCE "/incoming/aheinecke/test" |
25 | 25 |
26 #include "certificatelist.h" | 26 #include "certificatelist.h" |
27 #include "downloader.h" | 27 #include "downloader.h" |
28 #include "listupdatedialog.h" | 28 #include "listupdatedialog.h" |
29 #include "helpdialog.h" | |
29 | 30 |
30 MainWindow::MainWindow() { | 31 MainWindow::MainWindow() { |
31 createActions(); | 32 createActions(); |
32 createTrayIcon(); | 33 createTrayIcon(); |
33 createMenuBar(); | 34 createMenuBar(); |
288 } | 289 } |
289 | 290 |
290 void MainWindow::showHelp() | 291 void MainWindow::showHelp() |
291 { | 292 { |
292 qDebug() << "show helpdialog"; | 293 qDebug() << "show helpdialog"; |
294 HelpDialog *help = new HelpDialog(this); | |
295 help->show(); | |
293 } | 296 } |
294 | 297 |
295 void MainWindow::showAbout() | 298 void MainWindow::showAbout() |
296 { | 299 { |
297 qDebug() << "show aboutdialog"; | 300 qDebug() << "show aboutdialog"; |