ENH: Add items under the Options menu for collapsing and expanding the variable
tree.
This commit is contained in:
parent
36576a4e7a
commit
dfea280ff1
|
@ -111,6 +111,13 @@ CMakeSetupDialog::CMakeSetupDialog()
|
|||
debugAction->setCheckable(true);
|
||||
QObject::connect(debugAction, SIGNAL(toggled(bool)),
|
||||
this, SLOT(setDebugOutput(bool)));
|
||||
|
||||
QAction* expandAction = OptionsMenu->addAction(tr("&Expand Variables Tree"));
|
||||
QObject::connect(expandAction, SIGNAL(triggered(bool)),
|
||||
this->CacheValues, SLOT(expandAll()));
|
||||
QAction* collapseAction = OptionsMenu->addAction(tr("&Collapse Variables Tree"));
|
||||
QObject::connect(collapseAction, SIGNAL(triggered(bool)),
|
||||
this->CacheValues, SLOT(collapseAll()));
|
||||
|
||||
QMenu* HelpMenu = this->menuBar()->addMenu(tr("&Help"));
|
||||
QAction* a = HelpMenu->addAction(tr("About"));
|
||||
|
|
Loading…
Reference in New Issue