Scribus
Open source desktop publishing at your fingertips
PicSearchOptions Class Reference
Inheritance diagram for PicSearchOptions:
Collaboration diagram for PicSearchOptions:

Public Member Functions

 PicSearchOptions (QWidget *parent, const QString &fileName, const QString &searchBase)
 
const QString & getLastDirSearched ()
 Fetch the last used searchBase. More...
 
const QString & getFileName ()
 Fetch the filename used for the last search. More...
 
const QStringList & getMatches ()
 Fetch all found matches. More...
 
bool getCancelled ()
 Did the user cancel the search? More...
 

Protected Member Functions

void setSearchButton (bool toCancel, const FileSearch *searcher)
 Toggle a search button in the table between "Search" and "Cancel Search", fixing signal connections as well. More...
 
void enableGuiWhileSearching (bool enable)
 Enable/disable gui elements while searching. More...
 

Member Function Documentation

void PicSearchOptions::enableGuiWhileSearching ( bool  enable)
protected

Enable/disable gui elements while searching.

Parameters
enableSet to FALSE if searching.
bool PicSearchOptions::getCancelled ( )
inline

Did the user cancel the search?

Returns
bool TRUE if cancelled.
const QString& PicSearchOptions::getFileName ( )
inline

Fetch the filename used for the last search.

Returns
Filename string.
const QString& PicSearchOptions::getLastDirSearched ( )
inline

Fetch the last used searchBase.

Returns
Path string.
const QStringList& PicSearchOptions::getMatches ( )
inline

Fetch all found matches.

Returns
List of file paths.
void PicSearchOptions::setSearchButton ( bool  toCancel,
const FileSearch searcher 
)
protected

Toggle a search button in the table between "Search" and "Cancel Search", fixing signal connections as well.

Parameters
toCanceltrue in the "cancelation" state/process
searchera reference to the searcher object

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