QWebEngineFindTextResult Class

The QWebEngineFindTextResult class encapsulates the result of a string search on a page. More...

Header: #include <QWebEngineFindTextResult>
Since: Qt 5.14
Instantiated By: FindTextResult

This class was introduced in Qt 5.14.

Properties

Public Functions

int activeMatchOrdinal() const
int numberOfMatches() const

Detailed Description

Results are passed to the user in the QWebEnginePage::findTextFinished() and WebEngineView.findTextFinished() signals.

Property Documentation

activeMatchOrdinal : const int

This property holds the index of the currently highlighted match.

Access functions:

int activeMatchOrdinal() const

numberOfMatches : const int

This property holds the number of matches found.

Access functions:

int numberOfMatches() const