mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
cmake-gui: Add regex explorer window
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user