Version: 9.12.0
QtxSearchTool::Searcher Class Referenceabstract

Generic searcher class. More...

#include <QtxSearchTool.h>

Inheritance diagram for QtxSearchTool::Searcher:
Inheritance graph

Public Member Functions

 Searcher ()
 Constructor. More...
 
virtual ~Searcher ()
 Destructor. More...
 
virtual bool find (const QString &, QtxSearchTool *)=0
 Start new search. More...
 
virtual bool findNext (const QString &, QtxSearchTool *)=0
 Search next appropriate item. More...
 
virtual bool findPrevious (const QString &, QtxSearchTool *)=0
 Search previous appropriate item. More...
 
virtual bool findFirst (const QString &, QtxSearchTool *)=0
 Search first appropriate item. More...
 
virtual bool findLast (const QString &, QtxSearchTool *)=0
 Search last appropriate item. More...
 

Detailed Description

Generic searcher class.

Searcher is generic class which is used by the search tool to perform widget-dependant search.

To implement a searcher for some widget, just inherit from QtxSearchTool::Searcher and override pure virtual methods find(), findNext(), findPrevious(), findFirst() and findLast()

Constructor & Destructor Documentation

◆ Searcher()

QtxSearchTool::Searcher::Searcher ( )

Constructor.

◆ ~Searcher()

QtxSearchTool::Searcher::~Searcher ( )
virtual

Destructor.

Reimplemented in QtxWebBrowser::Searcher.

Member Function Documentation

◆ find()

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

Start new search.

Parameters
texttext to be found
stsearch tool widget
See also
findNext(), findPrevious(), findFirst(), findLast()

Implemented in QtxWebBrowser::Searcher, and QtxTreeViewSearcher.

◆ findFirst()

QtxSearchTool::Searcher::findFirst ( const QString &  text,
QtxSearchTool st 
)
pure virtual

Search first appropriate item.

Parameters
texttext to be found
stsearch tool widget
See also
find(), findNext(), findPrevious(), findLast()

Implemented in QtxWebBrowser::Searcher, and QtxTreeViewSearcher.

◆ findLast()

QtxSearchTool::Searcher::findLast ( const QString &  text,
QtxSearchTool st 
)
pure virtual

Search last appropriate item.

Parameters
texttext to be found
stsearch tool widget
See also
find(), findNext(), findPrevious(), findFirst()

Implemented in QtxWebBrowser::Searcher, and QtxTreeViewSearcher.

◆ findNext()

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

Search next appropriate item.

Parameters
texttext to be found
stsearch tool widget
See also
find(), findPrevious(), findFirst(), findLast()

Implemented in QtxWebBrowser::Searcher, and QtxTreeViewSearcher.

◆ findPrevious()

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

Search previous appropriate item.

Parameters
texttext to be found
stsearch tool widget
See also
find(), findNext(), findFirst(), findLast()

Implemented in QtxWebBrowser::Searcher, and QtxTreeViewSearcher.


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