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

pqChangeInputDialog is the dialog used to allow the user to change/set the input(s) for a filter. More...

#include <pqChangeInputDialog.h>

Inherits QDialog.

Public Member Functions

 pqChangeInputDialog (vtkSMProxy *filterProxy, QWidget *parent=nullptr)
 Constructor. More...
 
 ~pqChangeInputDialog () override
 
const QMap< QString, QList< pqOutputPort * > > & selectedInputs () const
 Returns the map of selected inputs. More...
 

Protected Slots

void inputPortToggled (bool)
 
void selectionChanged ()
 

Protected Member Functions

void buildPortWidgets ()
 

Detailed Description

pqChangeInputDialog is the dialog used to allow the user to change/set the input(s) for a filter.

It does not actually change the inputs, that is left for the caller to do when the exec() returns with with QDialog::Accepted.

Definition at line 20 of file pqChangeInputDialog.h.

Constructor & Destructor Documentation

◆ pqChangeInputDialog()

pqChangeInputDialog::pqChangeInputDialog ( vtkSMProxy filterProxy,
QWidget *  parent = nullptr 
)

Constructor.

filterProxy is the proxy for the filter whose inputs are being changed using this dialog. The filterProxy can be a prototype proxy when using this dialog to set up the inputs during filter creation. The values from the input properties of the filterProxy are used as the default values shown by this dialog.

◆ ~pqChangeInputDialog()

pqChangeInputDialog::~pqChangeInputDialog ( )
override

Member Function Documentation

◆ selectedInputs()

const QMap<QString, QList<pqOutputPort*> >& pqChangeInputDialog::selectedInputs ( ) const

Returns the map of selected inputs.

The key in this map is the name of the input property, while the values in the map are the list of output ports that are chosen to be the input for that property. This list will contain at most 1 item, when the input property indicates that it can accept only 1 value.

◆ inputPortToggled

void pqChangeInputDialog::inputPortToggled ( bool  )
protectedslot

◆ selectionChanged

void pqChangeInputDialog::selectionChanged ( )
protectedslot

◆ buildPortWidgets()

void pqChangeInputDialog::buildPortWidgets ( )
protected

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