ParaView
Public Slots | Public Member Functions | Protected Member Functions
pqCustomFilterManager Class Reference

The pqCustomFilterManager class displays the list of registered custom filter definitions. More...

#include <pqCustomFilterManager.h>

List of all members.

Public Slots

void selectCustomFilter (const QString &name)
 Selects the given custom filter in the list.
void importFiles (const QStringList &files)
 Registers the custom filter definitions in the files.
void exportSelected (const QStringList &files)
 Saves the selected custom filter definitions to the given files.

Public Member Functions

 pqCustomFilterManager (pqCustomFilterManagerModel *model, QWidget *parent=0)
 Creates a custom filter manager dialog.
virtual ~pqCustomFilterManager ()

Protected Member Functions

QString getUnusedFilterName (const QString &group, const QString &name)

Detailed Description

The pqCustomFilterManager class displays the list of registered custom filter definitions.

The custom filter manager uses a pqCustomFilterManagerModel to get the list of registered custom filters. The custom filter manager uses the server manager to import and export custom filter definitions. It can also unregister the selected custom filter.

Definition at line 58 of file pqCustomFilterManager.h.


Constructor & Destructor Documentation

pqCustomFilterManager::pqCustomFilterManager ( pqCustomFilterManagerModel model,
QWidget *  parent = 0 
)

Creates a custom filter manager dialog.

Parameters:
modelThe list of registered custom filters to display.
parentThe parent widget for the dialog.
virtual pqCustomFilterManager::~pqCustomFilterManager ( ) [virtual]

Member Function Documentation

void pqCustomFilterManager::selectCustomFilter ( const QString &  name) [slot]

Selects the given custom filter in the list.

Parameters:
nameThe custom filter name to select.
void pqCustomFilterManager::importFiles ( const QStringList &  files) [slot]

Registers the custom filter definitions in the files.

Parameters:
filesThe list of files to import.
void pqCustomFilterManager::exportSelected ( const QStringList &  files) [slot]

Saves the selected custom filter definitions to the given files.

Parameters:
filesThe list of files to export to.
QString pqCustomFilterManager::getUnusedFilterName ( const QString &  group,
const QString &  name 
) [protected]

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