summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.cxx
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-11-18 21:40:59 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2015-12-03 20:45:54 (GMT)
commitfc656fa4fe2926c7a50de91ff1b5564802ac4a7e (patch)
treead3915eb2fe0b35bc0e17d4e2c93c8ec61832e67 /Source/QtDialog/CMakeSetupDialog.cxx
parent9cbb8058ca843c1a3f3b67d155718b03a3e91d6c (diff)
downloadCMake-fc656fa4fe2926c7a50de91ff1b5564802ac4a7e.zip
CMake-fc656fa4fe2926c7a50de91ff1b5564802ac4a7e.tar.gz
CMake-fc656fa4fe2926c7a50de91ff1b5564802ac4a7e.tar.bz2
cmake-gui: Add regex explorer window
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 748dd7d..2b12834 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -33,6 +33,7 @@
#include "QCMakeCacheView.h"
#include "AddCacheEntry.h"
#include "FirstConfigure.h"
+#include "RegexExplorer.h"
#include "cmSystemTools.h"
#include "cmVersion.h"
@@ -125,6 +126,9 @@ CMakeSetupDialog::CMakeSetupDialog()
this, SLOT(doInstallForCommandLine()));
#endif
ToolsMenu->addSeparator();
+ ToolsMenu->addAction(tr("Regular Expression Explorer..."),
+ this, SLOT(doRegexExplorerDialog()));
+ ToolsMenu->addSeparator();
ToolsMenu->addAction(tr("&Find in Output..."),
this, SLOT(doOutputFindDialog()),
QKeySequence::Find);
@@ -1272,6 +1276,12 @@ void CMakeSetupDialog::doOutputFindDialog()
}
}
+void CMakeSetupDialog::doRegexExplorerDialog()
+{
+ RegexExplorer dialog(this);
+ dialog.exec();
+}
+
void CMakeSetupDialog::doOutputFindPrev()
{
doOutputFindNext(false);