ParaView
Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
pqExodusIIVariableSelectionWidget Class Reference

pqExodusIIVariableSelectionWidget is used by pqExodusIIPanel to show the a variable selection widget. More...

#include <pqExodusIIVariableSelectionWidget.h>

Inheritance diagram for pqExodusIIVariableSelectionWidget:
Inheritance graph
[legend]
Collaboration diagram for pqExodusIIVariableSelectionWidget:
Collaboration graph
[legend]

Signals

void widgetModified ()
 fired when widget is modified. More...
 
- Signals inherited from pqTreeWidget
void navigatedPastEnd ()
 Fired when moveCursor takes the cursor beyond the last row. More...
 

Public Member Functions

 pqExodusIIVariableSelectionWidget (QWidget *parent=0)
 
virtual ~pqExodusIIVariableSelectionWidget ()
 
- Public Member Functions inherited from pqTreeWidget
 pqTreeWidget (QWidget *p=NULL)
 
 ~pqTreeWidget ()
 
bool event (QEvent *e)
 
QSize sizeHint () const
 give a hint on the size More...
 
QSize minimumSizeHint () const
 
void setMaximumRowCountBeforeScrolling (vtkSMPropertyGroup *smpropertygroup)
 
void setMaximumRowCountBeforeScrolling (vtkSMProperty *smproperty)
 
void setMaximumRowCountBeforeScrolling (vtkPVXMLElement *hints)
 
void setMaximumRowCountBeforeScrolling (int val)
 
int maximumRowCountBeforeScrolling () const
 

Protected Slots

void updateProperty ()
 
void delayedUpdateProperty (bool check_state)
 
- Protected Slots inherited from pqTreeWidget
void doToggle (int col)
 
void updateCheckState ()
 
void invalidateLayout ()
 

Protected Member Functions

bool eventFilter (QObject *object, QEvent *qevent)
 overridden to handle QDynamicPropertyChangeEvent when properties are added/removed/updated. More...
 
void propertyChanged (const QString &pname)
 
void setStatus (const QString &key, const QString &text, bool value)
 
- Protected Member Functions inherited from pqTreeWidget
QPixmap pixmap (Qt::CheckState state, bool active)
 
virtual QModelIndex moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
 Move the cursor in the way described by cursorAction, using the information provided by the button modifiers. More...
 
int itemCount (QTreeWidgetItem *item) const
 

Additional Inherited Members

- Public Slots inherited from pqTreeWidget
void allOn ()
 
void allOff ()
 
- Protected Attributes inherited from pqTreeWidget
QPixmap ** CheckPixmaps
 
QTimer * Timer
 
int MaximumRowCountBeforeScrolling
 

Detailed Description

pqExodusIIVariableSelectionWidget is used by pqExodusIIPanel to show the a variable selection widget.

Unlike typical variable selection widgets used for array statuses, ExodusReader has separate properties for specifying different selection e.g. NodeSetResultArrayStatus, EdgeSetResultArrayStatus, etc., but all are still shown in the same tree-widget to the user. This widget makes that possible. It provides different signals and properties for changing/accessing the different values independently and thus can be directly used with a pqPropertyManager or pqPropertyLinks object.

pqExodusIIVariableSelectionWidget relies on dynamic properties to avoid having to hard code all the types of properties that ExodusII proxy has.

Definition at line 49 of file pqExodusIIVariableSelectionWidget.h.

Constructor & Destructor Documentation

§ pqExodusIIVariableSelectionWidget()

pqExodusIIVariableSelectionWidget::pqExodusIIVariableSelectionWidget ( QWidget *  parent = 0)

§ ~pqExodusIIVariableSelectionWidget()

virtual pqExodusIIVariableSelectionWidget::~pqExodusIIVariableSelectionWidget ( )
virtual

Member Function Documentation

§ widgetModified

void pqExodusIIVariableSelectionWidget::widgetModified ( )
signal

fired when widget is modified.

§ updateProperty

void pqExodusIIVariableSelectionWidget::updateProperty ( )
protectedslot

§ delayedUpdateProperty

void pqExodusIIVariableSelectionWidget::delayedUpdateProperty ( bool  check_state)
protectedslot

§ eventFilter()

bool pqExodusIIVariableSelectionWidget::eventFilter ( QObject *  object,
QEvent *  qevent 
)
protected

overridden to handle QDynamicPropertyChangeEvent when properties are added/removed/updated.

§ propertyChanged()

void pqExodusIIVariableSelectionWidget::propertyChanged ( const QString &  pname)
protected

§ setStatus()

void pqExodusIIVariableSelectionWidget::setStatus ( const QString &  key,
const QString &  text,
bool  value 
)
protected

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