pqOutputPortComboBox is a combo-box that shows all outputports for all sources/filters.
More...
#include <pqOutputPortComboBox.h>
Inherits QComboBox.
pqOutputPortComboBox is a combo-box that shows all outputports for all sources/filters.
Definition at line 18 of file pqOutputPortComboBox.h.
◆ pqOutputPortComboBox()
pqOutputPortComboBox::pqOutputPortComboBox |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqOutputPortComboBox()
pqOutputPortComboBox::~pqOutputPortComboBox |
( |
| ) |
|
|
override |
◆ setAutoUpdateIndex()
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 31 of file pqOutputPortComboBox.h.
◆ autoUpdateIndex()
bool pqOutputPortComboBox::autoUpdateIndex |
( |
| ) |
const |
|
inline |
◆ addCustomEntry()
void pqOutputPortComboBox::addCustomEntry |
( |
const QString & |
label, |
|
|
pqOutputPort * |
port |
|
) |
| |
Makes is possible to add custom items to the combo-box.
port
can be nullptr.
◆ currentPort()
Returns the currently selected output port.
◆ fillExistingPorts()
void pqOutputPortComboBox::fillExistingPorts |
( |
| ) |
|
May be called once after creation to initialize the widget with already existing sources.
◆ setCurrentPort
void pqOutputPortComboBox::setCurrentPort |
( |
pqOutputPort * |
port | ) |
|
|
slot |
Sets the current index to be the one representing the indicated port.
◆ currentIndexChanged
void pqOutputPortComboBox::currentIndexChanged |
( |
pqOutputPort * |
| ) |
|
|
signal |
Fired when the current index changes.
◆ AutoUpdateIndex
bool pqOutputPortComboBox::AutoUpdateIndex |
|
protected |
The documentation for this class was generated from the following file: