mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Add 'Compact Modelling' submenu in 'Tools' menu
This commit is contained in:
parent
286d54dbcd
commit
0fe6a7e92c
@ -268,7 +268,7 @@ private:
|
||||
// menus contain the items of their menubar
|
||||
enum { MaxRecentFiles = 8 };
|
||||
QMenu *fileMenu, *editMenu, *insMenu, *projMenu, *simMenu, *viewMenu,
|
||||
*helpMenu, *alignMenu, *toolMenu, *recentFilesMenu;
|
||||
*helpMenu, *alignMenu, *toolMenu, *recentFilesMenu, *cmMenu;
|
||||
QAction *fileRecentAction[MaxRecentFiles];
|
||||
QAction *fileClearRecent;
|
||||
|
||||
|
@ -693,9 +693,6 @@ void QucsApp::initMenuBar()
|
||||
fileMenu->addAction(filePrint);
|
||||
fileMenu->addAction(filePrintFit);
|
||||
fileMenu->insertSeparator();
|
||||
fileMenu->addAction(buildVAModule);
|
||||
fileMenu->addAction(buildIFS);
|
||||
fileMenu->insertSeparator();
|
||||
fileMenu->addAction(fileExamples);
|
||||
fileMenu->insertSeparator();
|
||||
fileMenu->addAction(fileSettings);
|
||||
@ -788,6 +785,12 @@ void QucsApp::initMenuBar()
|
||||
toolMenu->addAction(callMatch);
|
||||
toolMenu->addAction(callAtt);
|
||||
toolMenu->addAction(callRes);
|
||||
toolMenu->insertSeparator();
|
||||
|
||||
cmMenu = new QMenu(tr("Compact modelling"));
|
||||
cmMenu->addAction(buildVAModule);
|
||||
cmMenu->addAction(buildIFS);
|
||||
toolMenu->addMenu(cmMenu);
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user