ParaView
Public Slots | Signals | Public Member Functions | Protected Attributes
pqOutputPortComboBox Class Reference

pqOutputPortComboBox is a combo-box that shows all outputports for all sources/filters. More...

#include <pqOutputPortComboBox.h>

List of all members.

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

Detailed Description

pqOutputPortComboBox is a combo-box that shows all outputports for all sources/filters.

Definition at line 44 of file pqOutputPortComboBox.h.


Constructor & Destructor Documentation

pqOutputPortComboBox::pqOutputPortComboBox ( QWidget *  parent = 0)
pqOutputPortComboBox::~pqOutputPortComboBox ( )

Member Function Documentation

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.


Member Data Documentation

Definition at line 97 of file pqOutputPortComboBox.h.


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