Mercurial > trustbridge
comparison ui/administratorwindow.cpp @ 415:b19290d6b148
Removed obsolete menu entries.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 16 Apr 2014 17:45:16 +0200 |
parents | 340b8759d005 |
children | d7cda835abd6 |
comparison
equal
deleted
inserted
replaced
414:3d803d383b41 | 415:b19290d6b148 |
---|---|
47 void AdministratorWindow::createMenuBar() | 47 void AdministratorWindow::createMenuBar() |
48 { | 48 { |
49 menuBar = new QMenuBar(this); | 49 menuBar = new QMenuBar(this); |
50 QMenu *menu = new QMenu(tr("Menu"), menuBar); | 50 QMenu *menu = new QMenu(tr("Menu"), menuBar); |
51 menuBar->addMenu(menu); | 51 menuBar->addMenu(menu); |
52 QAction *createInstaller = menu->addAction(tr("Create Installer")); | 52 QAction *createInstaller = menu->addAction(tr("Create installer ...")); |
53 QAction *settings = menu->addAction(tr("Settings")); | 53 QAction *about = menu->addAction(tr("About TrustBridge")); |
54 menu->addSeparator(); | |
55 QAction *help = menu->addAction(tr("Help")); | |
56 QAction *about = menu->addAction(tr("About")); | |
57 menu->addSeparator(); | 54 menu->addSeparator(); |
58 QAction *quit = menu->addAction(tr("Quit")); | 55 QAction *quit = menu->addAction(tr("Quit")); |
59 connect(createInstaller, SIGNAL(triggered()), this, SLOT(createInstaller())); | 56 connect(createInstaller, SIGNAL(triggered()), this, SLOT(createInstaller())); |
60 connect(settings, SIGNAL(triggered()), this, SLOT(showSettings())); | |
61 connect(help, SIGNAL(triggered()), this, SLOT(showHelp())); | |
62 connect(about, SIGNAL(triggered()), this, SLOT(showAbout())); | 57 connect(about, SIGNAL(triggered()), this, SLOT(showAbout())); |
63 connect(quit, SIGNAL(triggered()), qApp, SLOT(quit())); | 58 connect(quit, SIGNAL(triggered()), qApp, SLOT(quit())); |
64 setMenuBar(menuBar); | 59 setMenuBar(menuBar); |
65 } | 60 } |
66 | 61 |