[Cmake-commits] [cmake-commits] clinton committed CMakeSetupDialog.cxx 1.52 1.53
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jun 10 22:19:17 EDT 2008
Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv14973
Modified Files:
CMakeSetupDialog.cxx
Log Message:
ENH: Add items under the Options menu for collapsing and expanding the variable
tree.
Index: CMakeSetupDialog.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/CMakeSetupDialog.cxx,v
retrieving revision 1.52
retrieving revision 1.53
diff -C 2 -d -r1.52 -r1.53
*** CMakeSetupDialog.cxx 10 Jun 2008 04:17:00 -0000 1.52
--- CMakeSetupDialog.cxx 11 Jun 2008 02:19:14 -0000 1.53
***************
*** 112,115 ****
--- 112,122 ----
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"));
More information about the Cmake-commits
mailing list