44 void addReplaceButtons();
48 bool find(
bool backwards =
false);
57 void resetSearchFlags();
59 void findNotInProgress();
61 void clearEditorSelection();
65 void showEvent(QShowEvent *event)
override;
#define EXPORT_OPT_MANTIDQT_COMMON
Raises a dialog allowing the user to find/replace text in the editor.
QCheckBox * boxCaseSensitive
Case-sensitive check box.
QComboBox * boxFind
Find box.
QCheckBox * boxWholeWords
Whole words check box.
QCheckBox * boxWrapAround
Wrap around.
QComboBox * boxReplace
Replace box.
QPushButton * buttonReplace
Replace text button.
QPushButton * buttonReplaceAll
Replace all text button.
QGridLayout * m_topLayout
QCheckBox * boxSearchBackwards
Search backwards.
QCheckBox * boxRegex
Treat as regular expressions.
bool m_findInProgress
If a find is in progress.
QPushButton * buttonNext
Find next match button.
ScriptEditor * m_editor
The text editor we are working on.
QPushButton * buttonCancel
Cancel dialog button.
This class provides an area to write scripts.