Version: 6.3.1
Public Member Functions

QtxSearchTool.Searcher Class Reference

Generic searcher class. More...

#include <QtxSearchTool.h>

Inheritance diagram for QtxSearchTool.Searcher:
Inheritance graph

Public Member Functions

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

Detailed Description

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

QtxSearchTool.Searcher::Searcher ( )
QtxSearchTool.Searcher::~Searcher ( ) [virtual]

Member Function Documentation

QtxSearchTool.Searcher::find ( const QString &  text,
QtxSearchTool st 
) [pure virtual]
Parameters:
texttext to be found
stsearch tool widget
See also:
findNext(), findPrevious(), findFirst(), findLast()

Implemented in QtxTreeViewSearcher.

QtxSearchTool.Searcher::findNext ( const QString &  text,
QtxSearchTool st 
) [pure virtual]
Parameters:
texttext to be found
stsearch tool widget
See also:
find(), findPrevious(), findFirst(), findLast()

Implemented in QtxTreeViewSearcher.

QtxSearchTool.Searcher::findPrevious ( const QString &  text,
QtxSearchTool st 
) [pure virtual]
Parameters:
texttext to be found
stsearch tool widget
See also:
find(), findNext(), findFirst(), findLast()

Implemented in QtxTreeViewSearcher.

QtxSearchTool.Searcher::findFirst ( const QString &  text,
QtxSearchTool st 
) [pure virtual]
Parameters:
texttext to be found
stsearch tool widget
See also:
find(), findNext(), findPrevious(), findLast()

Implemented in QtxTreeViewSearcher.

QtxSearchTool.Searcher::findLast ( const QString &  text,
QtxSearchTool st 
) [pure virtual]
Parameters:
texttext to be found
stsearch tool widget
See also:
find(), findNext(), findPrevious(), findFirst()

Implemented in QtxTreeViewSearcher.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS