The pqCustomFilterDefinitionWizard class is used to create a compound proxy definition one step at a time. More...
#include <pqCustomFilterDefinitionWizard.h>
Inherits QDialog.
Public Slots | |
void | createCustomFilter () |
Creates a compound proxy definition. More... | |
Public Member Functions | |
pqCustomFilterDefinitionWizard (pqCustomFilterDefinitionModel *model, QWidget *parent=nullptr) | |
Creates a custom filter definition wizard. More... | |
~pqCustomFilterDefinitionWizard () override | |
pqCustomFilterDefinitionModel * | getModel () const |
Gets the custom filter definition model used by the wizard. More... | |
QString | getCustomFilterName () const |
Gets the name of the compound proxy created by the wizard. More... | |
The pqCustomFilterDefinitionWizard class is used to create a compound proxy definition one step at a time.
The wizard should be created with a pqCustomFilterDefinitionModel. The model stores the sources that will be placed in the custom filter. The model is also used when selecting the exposed properties.
The following is an example of how to use the wizard:
The custom filter definition model is filled out using the selected pipeline sources. After setting the custom filter definition model's contents, you can check to see if any sources were added. The wizard can make a compound proxy without any sources, but you may not want to allow it. After the createCustomFilter
call, you can get the name of the newly created compound proxy.
Definition at line 54 of file pqCustomFilterDefinitionWizard.h.
pqCustomFilterDefinitionWizard::pqCustomFilterDefinitionWizard | ( | pqCustomFilterDefinitionModel * | model, |
QWidget * | parent = nullptr |
||
) |
Creates a custom filter definition wizard.
model | The custom filter definition model to use. The model should not be null. |
parent | The parent widget for the wizard. |
|
override |
|
inline |
Gets the custom filter definition model used by the wizard.
Definition at line 75 of file pqCustomFilterDefinitionWizard.h.
QString pqCustomFilterDefinitionWizard::getCustomFilterName | ( | ) | const |
Gets the name of the compound proxy created by the wizard.
|
slot |
Creates a compound proxy definition.
The compound proxy definition is created using the custom filter definition model and the parameters entered by the user. The new definition is registered with the server manager.