ParaView
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes | Properties | List of all members
pqFieldSelectionAdaptor Class Reference

adaptor to which combines cell & point arrays into one selection this adaptor also takes care of the domain, so there's no need to use the pqComboBoxDomain More...

#include <pqFieldSelectionAdaptor.h>

Inherits QObject.

Public Slots

void setAttributeMode (const QString &)
 set the attribute mode More...
 
void setScalar (const QString &)
 set the scalar mode More...
 
void setAttributeModeAndScalar (const QString &mode, const QString &scalar)
 

Signals

void selectionChanged ()
 signal the attributeMode and/or scalar changed More...
 

Public Member Functions

 pqFieldSelectionAdaptor (QComboBox *p, vtkSMProperty *prop)
 constructor requires a QComboBox, More...
 
 ~pqFieldSelectionAdaptor ()
 
QString attributeMode () const
 get the attribute mode More...
 
QString scalar () const
 get the scalar More...
 
void setSelection (const QStringList &selection)
 
QStringList selection () const
 

Protected Slots

void updateGUI ()
 
void indexChanged (int index)
 
void domainChanged ()
 

Protected Attributes

QStringList Selection
 
vtkSmartPointer< vtkSMProperty > Property
 
vtkSmartPointer< vtkSMDomain > AttributeModeDomain
 
vtkSmartPointer< vtkSMDomain > ScalarDomain
 
vtkEventQtSlotConnect * Connection
 
bool MarkedForUpdate
 
bool IsGettingAllDomains
 

Properties

QString attributeMode
 
QString scalar
 
QStringList selection
 

Detailed Description

adaptor to which combines cell & point arrays into one selection this adaptor also takes care of the domain, so there's no need to use the pqComboBoxDomain

Definition at line 51 of file pqFieldSelectionAdaptor.h.

Constructor & Destructor Documentation

§ pqFieldSelectionAdaptor()

pqFieldSelectionAdaptor::pqFieldSelectionAdaptor ( QComboBox *  p,
vtkSMProperty *  prop 
)

constructor requires a QComboBox,

§ ~pqFieldSelectionAdaptor()

pqFieldSelectionAdaptor::~pqFieldSelectionAdaptor ( )

Member Function Documentation

§ attributeMode()

QString pqFieldSelectionAdaptor::attributeMode ( ) const

get the attribute mode

§ scalar()

QString pqFieldSelectionAdaptor::scalar ( ) const

get the scalar

§ setSelection()

void pqFieldSelectionAdaptor::setSelection ( const QStringList &  selection)

§ selection()

QStringList pqFieldSelectionAdaptor::selection ( ) const

§ selectionChanged

void pqFieldSelectionAdaptor::selectionChanged ( )
signal

signal the attributeMode and/or scalar changed

§ setAttributeMode

void pqFieldSelectionAdaptor::setAttributeMode ( const QString &  )
slot

set the attribute mode

§ setScalar

void pqFieldSelectionAdaptor::setScalar ( const QString &  )
slot

set the scalar mode

§ setAttributeModeAndScalar

void pqFieldSelectionAdaptor::setAttributeModeAndScalar ( const QString &  mode,
const QString &  scalar 
)
slot

§ updateGUI

void pqFieldSelectionAdaptor::updateGUI ( )
protectedslot

§ indexChanged

void pqFieldSelectionAdaptor::indexChanged ( int  index)
protectedslot

§ domainChanged

void pqFieldSelectionAdaptor::domainChanged ( )
protectedslot

Member Data Documentation

§ Selection

QStringList pqFieldSelectionAdaptor::Selection
protected

Definition at line 95 of file pqFieldSelectionAdaptor.h.

§ Property

vtkSmartPointer<vtkSMProperty> pqFieldSelectionAdaptor::Property
protected

Definition at line 96 of file pqFieldSelectionAdaptor.h.

§ AttributeModeDomain

vtkSmartPointer<vtkSMDomain> pqFieldSelectionAdaptor::AttributeModeDomain
protected

Definition at line 97 of file pqFieldSelectionAdaptor.h.

§ ScalarDomain

vtkSmartPointer<vtkSMDomain> pqFieldSelectionAdaptor::ScalarDomain
protected

Definition at line 98 of file pqFieldSelectionAdaptor.h.

§ Connection

vtkEventQtSlotConnect* pqFieldSelectionAdaptor::Connection
protected

Definition at line 99 of file pqFieldSelectionAdaptor.h.

§ MarkedForUpdate

bool pqFieldSelectionAdaptor::MarkedForUpdate
protected

Definition at line 100 of file pqFieldSelectionAdaptor.h.

§ IsGettingAllDomains

bool pqFieldSelectionAdaptor::IsGettingAllDomains
protected

Definition at line 101 of file pqFieldSelectionAdaptor.h.

Property Documentation

§ attributeMode

QString pqFieldSelectionAdaptor::attributeMode
readwrite

Definition at line 54 of file pqFieldSelectionAdaptor.h.

§ scalar

QString pqFieldSelectionAdaptor::scalar
readwrite

Definition at line 55 of file pqFieldSelectionAdaptor.h.

§ selection

QStringList pqFieldSelectionAdaptor::selection
readwrite

Definition at line 56 of file pqFieldSelectionAdaptor.h.


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