Version: 9.12.0
QtxWebBrowser::Searcher Class Reference

A class is used with QtxSearchTool in order to search text within the web page. More...

Inheritance diagram for QtxWebBrowser::Searcher:
Inheritance graph

Public Member Functions

 Searcher (QWebEngineView *)
 Constructor. More...
 
 ~Searcher ()
 Destructor. More...
 
bool find (const QString &, QtxSearchTool *)
 Find specified text. More...
 
bool findNext (const QString &, QtxSearchTool *)
 Find next entry of specified text starting from the current position. More...
 
bool findPrevious (const QString &, QtxSearchTool *)
 Find previous entry of specified text starting from the current position. More...
 
bool findFirst (const QString &, QtxSearchTool *)
 Find first entry of specified text; does nothing in this implementation. More...
 
bool findLast (const QString &, QtxSearchTool *)
 Find last entry of specified text; does nothing in this implementation. More...
 
- Public Member Functions inherited from QtxSearchTool::Searcher
 Searcher ()
 Constructor. More...
 

Private Attributes

QWebEngineView * myView
 

Detailed Description

A class is used with QtxSearchTool in order to search text within the web page.

Constructor & Destructor Documentation

◆ Searcher()

QtxWebBrowser::Searcher::Searcher ( QWebEngineView *  view)

Constructor.

Parameters
viewweb view

◆ ~Searcher()

QtxWebBrowser::Searcher::~Searcher ( )
virtual

Destructor.

Reimplemented from QtxSearchTool::Searcher.

Member Function Documentation

◆ find()

bool QtxWebBrowser::Searcher::find ( const QString &  text,
QtxSearchTool st 
)
virtual

Find specified text.

Parameters
texttext being searched
stsearch tool
Returns
true if text has been found or false otherwise

Implements QtxSearchTool::Searcher.

References QtxSearchTool::isCaseSensitive(), and QtxSearchTool::isSearchWrapped().

◆ findFirst()

bool QtxWebBrowser::Searcher::findFirst ( const QString &  ,
QtxSearchTool  
)
virtual

Find first entry of specified text; does nothing in this implementation.

Parameters
texttext being searched
stsearch tool
Returns
true if text has been found or false otherwise

Implements QtxSearchTool::Searcher.

◆ findLast()

bool QtxWebBrowser::Searcher::findLast ( const QString &  ,
QtxSearchTool  
)
virtual

Find last entry of specified text; does nothing in this implementation.

Parameters
texttext being searched
stsearch tool
Returns
true if text has been found or false otherwise

Implements QtxSearchTool::Searcher.

◆ findNext()

bool QtxWebBrowser::Searcher::findNext ( const QString &  text,
QtxSearchTool st 
)
virtual

Find next entry of specified text starting from the current position.

Parameters
texttext being searched
stsearch tool
Returns
true if text has been found or false otherwise

Implements QtxSearchTool::Searcher.

◆ findPrevious()

bool QtxWebBrowser::Searcher::findPrevious ( const QString &  text,
QtxSearchTool st 
)
virtual

Find previous entry of specified text starting from the current position.

Parameters
texttext being searched
stsearch tool
Returns
true if text has been found or false otherwise

Implements QtxSearchTool::Searcher.

References QtxSearchTool::isCaseSensitive(), and QtxSearchTool::isSearchWrapped().

Member Data Documentation

◆ myView

QWebEngineView* QtxWebBrowser::Searcher::myView
private

The documentation for this class was generated from the following file: