|
ParaView
|
pqOutputPortComboBox is a combo-box that shows all outputports for all sources/filters. More...
#include <pqOutputPortComboBox.h>
Public Slots | |
| void | setCurrentPort (pqOutputPort *port) |
| Sets the current index to be the one representing the indicated port. | |
Signals | |
| void | currentIndexChanged (pqOutputPort *) |
| Fired when the current index changes. | |
Public Member Functions | |
| pqOutputPortComboBox (QWidget *parent=0) | |
| ~pqOutputPortComboBox () | |
| void | setAutoUpdateIndex (bool val) |
| Enable/Disable changing of the combo-box selected index based on the active source/port. | |
| bool | autoUpdateIndex () const |
| void | addCustomEntry (const QString &label, pqOutputPort *port) |
| Makes is possible to add custom items to the combo-box. | |
| pqOutputPort * | currentPort () const |
| Returns the currently selected output port. | |
| void | fillExistingPorts () |
| May be called once after creation to initialize the widget with already existing sources. | |
Protected Attributes | |
| bool | AutoUpdateIndex |
pqOutputPortComboBox is a combo-box that shows all outputports for all sources/filters.
Definition at line 44 of file pqOutputPortComboBox.h.
| pqOutputPortComboBox::pqOutputPortComboBox | ( | QWidget * | parent = 0 | ) |
| pqOutputPortComboBox::~pqOutputPortComboBox | ( | ) |
| void pqOutputPortComboBox::setAutoUpdateIndex | ( | bool | val | ) | [inline] |
Enable/Disable changing of the combo-box selected index based on the active source/port.
Default is true i.e. enabled.
Definition at line 54 of file pqOutputPortComboBox.h.
| bool pqOutputPortComboBox::autoUpdateIndex | ( | ) | const [inline] |
Definition at line 56 of file pqOutputPortComboBox.h.
| void pqOutputPortComboBox::addCustomEntry | ( | const QString & | label, |
| pqOutputPort * | port | ||
| ) |
Makes is possible to add custom items to the combo-box.
port can be NULL.
| pqOutputPort* pqOutputPortComboBox::currentPort | ( | ) | const |
Returns the currently selected output port.
| void pqOutputPortComboBox::fillExistingPorts | ( | ) |
May be called once after creation to initialize the widget with already existing sources.
| void pqOutputPortComboBox::setCurrentPort | ( | pqOutputPort * | port | ) | [slot] |
Sets the current index to be the one representing the indicated port.
| void pqOutputPortComboBox::currentIndexChanged | ( | pqOutputPort * | ) | [signal] |
Fired when the current index changes.
bool pqOutputPortComboBox::AutoUpdateIndex [protected] |
Definition at line 97 of file pqOutputPortComboBox.h.
1.7.5.1