Public Slots | Public Member Functions | Protected Member Functions | List of all members
pqCustomFilterManager Class Reference

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

#include <pqCustomFilterManager.h>

Inherits QDialog.

Public Slots

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

Public Member Functions

 pqCustomFilterManager (pqCustomFilterManagerModel *model, QWidget *parent=nullptr)
 Creates a custom filter manager dialog. More...
 
 ~pqCustomFilterManager () override
 

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 32 of file pqCustomFilterManager.h.

Constructor & Destructor Documentation

◆ pqCustomFilterManager()

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

Creates a custom filter manager dialog.

Parameters
modelThe list of registered custom filters to display.
parentThe parent widget for the dialog.

◆ ~pqCustomFilterManager()

pqCustomFilterManager::~pqCustomFilterManager ( )
override

Member Function Documentation

◆ selectCustomFilter

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

Selects the given custom filter in the list.

Parameters
nameThe custom filter name to select.

◆ importFiles

void pqCustomFilterManager::importFiles ( const QStringList &  files)
slot

Registers the custom filter definitions in the files.

Parameters
filesThe list of files to import.

◆ exportSelected

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.

◆ getUnusedFilterName()

QString pqCustomFilterManager::getUnusedFilterName ( const QString &  group,
const QString &  name 
)
protected

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