comparison mainwindow.cpp @ 191:b2fae1f16002

* Rejig menu
author Chris Cannam
date Mon, 20 Dec 2010 21:23:13 +0000
parents f4d261fa3a99
children 702ca6dafcbe
comparison
equal deleted inserted replaced
190:f4d261fa3a99 191:b2fae1f16002
1995 { 1995 {
1996 fileMenu = menuBar()->addMenu(tr("File")); 1996 fileMenu = menuBar()->addMenu(tr("File"));
1997 1997
1998 fileMenu -> addAction(openAct); 1998 fileMenu -> addAction(openAct);
1999 fileMenu -> addAction(changeRemoteRepoAct); 1999 fileMenu -> addAction(changeRemoteRepoAct);
2000 fileMenu -> addSeparator();
2001
2002 advancedMenu = fileMenu->addMenu(tr("Advanced"));
2003
2000 fileMenu -> addAction(settingsAct); 2004 fileMenu -> addAction(settingsAct);
2005
2001 fileMenu -> addSeparator(); 2006 fileMenu -> addSeparator();
2002 fileMenu -> addAction(exitAct); 2007 fileMenu -> addAction(exitAct);
2003 2008
2004 advancedMenu = menuBar()->addMenu(tr("Advanced"));
2005
2006 advancedMenu -> addAction(hgIgnoreAct); 2009 advancedMenu -> addAction(hgIgnoreAct);
2007 advancedMenu -> addSeparator();
2008 advancedMenu -> addAction(hgServeAct); 2010 advancedMenu -> addAction(hgServeAct);
2009 2011
2010 helpMenu = menuBar()->addMenu(tr("Help")); 2012 helpMenu = menuBar()->addMenu(tr("Help"));
2011 helpMenu->addAction(aboutAct); 2013 helpMenu->addAction(aboutAct);
2012 } 2014 }