Extending Qt Creator Manual | BaseTextFind

Extending Qt Creator Manual 4.3.0

# BaseTextFind Class

(Core::BaseTextFind)

Inherits: | Core::IFindSupport

- List of all members, including inherited members

## Public Functions

| BaseTextFind(QPlainTextEdit *editor)
| BaseTextFind(QTextEdit *editor)
virtual | ~BaseTextFind()

## Reimplemented Public Functions

virtual void | clearFindScope()
virtual void | clearHighlights()
virtual QString | completedFindString() const
virtual QString | currentFindString() const
virtual void | defineFindScope()
virtual Result | findIncremental(const QString &txt, FindFlags findFlags)
virtual Result | findStep(const QString &txt, FindFlags findFlags)
virtual void | highlightAll(const QString &txt, FindFlags findFlags)
virtual void | replace(const QString &before, const QString &after, FindFlags findFlags)
virtual int | replaceAll(const QString &before, const QString &after, FindFlags findFlags)
virtual bool | replaceStep(const QString &before, const QString &after, FindFlags findFlags)
virtual void | resetIncrementalSearch()
virtual FindFlags | supportedFindFlags() const
virtual bool | supportsReplace() const

- 14 public functions inherited from Core::IFindSupport

## Signals

void | findScopeChanged(const QTextCursor &start, const QTextCursor &end, int verticalBlockSelectionFirstColumn, int verticalBlockSelectionLastColumn)
void | highlightAllRequested(const QString &txt, Core::FindFlags findFlags)

- 1 signal inherited from Core::IFindSupport

### Additional Inherited Members

- 1 static public member inherited from Core::IFindSupport

## Member Function Documentation

### BaseTextFind::BaseTextFind(QPlainTextEdit *editor)

Default constructs an instance of BaseTextFind.

### BaseTextFind::BaseTextFind(QTextEdit *editor)

Default constructs an instance of BaseTextFind.

### `[virtual]` BaseTextFind::~BaseTextFind()

Destroys the instance of BaseTextFind. The destructor is virtual.

### `[virtual]` void BaseTextFind::clearFindScope()

### `[virtual]` void BaseTextFind::clearHighlights()

### `[virtual]` QString BaseTextFind::completedFindString() const

### `[virtual]` QString BaseTextFind::currentFindString() const

### `[virtual]` void BaseTextFind::defineFindScope()

### `[virtual]` Result BaseTextFind::findIncremental(const QString &txt, FindFlags findFlags)

### `[signal]` void BaseTextFind::findScopeChanged(const QTextCursor &start, const QTextCursor &end, int verticalBlockSelectionFirstColumn, int verticalBlockSelectionLastColumn)

### `[virtual]` Result BaseTextFind::findStep(const QString &txt, FindFlags findFlags)

### `[virtual]` void BaseTextFind::highlightAll(const QString &txt, FindFlags findFlags)

### `[signal]` void BaseTextFind::highlightAllRequested(const QString &txt, Core::FindFlags findFlags)

### `[virtual]` void BaseTextFind::replace(const QString &before, const QString &after, FindFlags findFlags)

### `[virtual]` int BaseTextFind::replaceAll(const QString &before, const QString &after, FindFlags findFlags)

### `[virtual]` bool BaseTextFind::replaceStep(const QString &before, const QString &after, FindFlags findFlags)

### `[virtual]` void BaseTextFind::resetIncrementalSearch()

### `[virtual]` FindFlags BaseTextFind::supportedFindFlags() const

### `[virtual]` bool BaseTextFind::supportsReplace() const