comparison ui/mainwindow.cpp @ 523:ca583ffe728a

Removed menu entries.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 29 Apr 2014 15:26:02 +0200
parents fa56a9403939
children a097dd86cb4d
comparison
equal deleted inserted replaced
522:c495dd026d61 523:ca583ffe728a
315 { 315 {
316 mMenuBar = new QMenuBar(this); 316 mMenuBar = new QMenuBar(this);
317 QMenu *mMenu = new QMenu(tr("Menu"), mMenuBar); 317 QMenu *mMenu = new QMenu(tr("Menu"), mMenuBar);
318 mMenuBar->addMenu(mMenu); 318 mMenuBar->addMenu(mMenu);
319 QAction *update = mMenu->addAction(tr("Force Update")); 319 QAction *update = mMenu->addAction(tr("Force Update"));
320 QAction *settings = mMenu->addAction(tr("Settings")); 320 // QAction *settings = mMenu->addAction(tr("Settings"));
321 QAction *status = mMenu->addAction(tr("Statusdialog")); 321 // QAction *status = mMenu->addAction(tr("Statusdialog"));
322 mMenu->addSeparator(); 322 mMenu->addSeparator();
323 QAction *help = mMenu->addAction(tr("Help")); 323 QAction *help = mMenu->addAction(tr("Help"));
324 QAction *about = mMenu->addAction(tr("About")); 324 QAction *about = mMenu->addAction(tr("About"));
325 mMenu->addSeparator(); 325 mMenu->addSeparator();
326 QAction *quit = mMenu->addAction(tr("Quit")); 326 QAction *quit = mMenu->addAction(tr("Quit"));
327 connect(update, SIGNAL(triggered()), this, SLOT(checkUpdates())); 327 connect(update, SIGNAL(triggered()), this, SLOT(checkUpdates()));
328 connect(settings, SIGNAL(triggered()), this, SLOT(showSettings())); 328 // connect(settings, SIGNAL(triggered()), this, SLOT(showSettings()));
329 connect(status, SIGNAL(triggered()), this, SLOT(showStatus())); 329 // connect(status, SIGNAL(triggered()), this, SLOT(showStatus()));
330 connect(help, SIGNAL(triggered()), this, SLOT(showHelp())); 330 connect(help, SIGNAL(triggered()), this, SLOT(showHelp()));
331 connect(about, SIGNAL(triggered()), this, SLOT(showAbout())); 331 connect(about, SIGNAL(triggered()), this, SLOT(showAbout()));
332 connect(quit, SIGNAL(triggered()), this, SLOT(closeApp())); 332 connect(quit, SIGNAL(triggered()), this, SLOT(closeApp()));
333 setMenuBar(mMenuBar); 333 setMenuBar(mMenuBar);
334 } 334 }

http://wald.intevation.org/projects/trustbridge/