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=0)
 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 48 of file pqChangeInputDialog.h.

Constructor & Destructor Documentation

◆ pqChangeInputDialog()

pqChangeInputDialog::pqChangeInputDialog ( vtkSMProxy filterProxy,
QWidget *  parent = 0 


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 ( )

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  )

◆ selectionChanged

void pqChangeInputDialog::selectionChanged ( )

◆ buildPortWidgets()

void pqChangeInputDialog::buildPortWidgets ( )

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