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< vtkSMPropertyProperty
 
vtkSmartPointer< vtkSMDomainAttributeModeDomain
 
vtkSmartPointer< vtkSMDomainScalarDomain
 
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 53 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 108 of file pqFieldSelectionAdaptor.h.

◆ Property

vtkSmartPointer<vtkSMProperty> pqFieldSelectionAdaptor::Property
protected

Definition at line 109 of file pqFieldSelectionAdaptor.h.

◆ AttributeModeDomain

vtkSmartPointer<vtkSMDomain> pqFieldSelectionAdaptor::AttributeModeDomain
protected

Definition at line 110 of file pqFieldSelectionAdaptor.h.

◆ ScalarDomain

vtkSmartPointer<vtkSMDomain> pqFieldSelectionAdaptor::ScalarDomain
protected

Definition at line 111 of file pqFieldSelectionAdaptor.h.

◆ Connection

vtkEventQtSlotConnect* pqFieldSelectionAdaptor::Connection
protected

Definition at line 112 of file pqFieldSelectionAdaptor.h.

◆ MarkedForUpdate

bool pqFieldSelectionAdaptor::MarkedForUpdate
protected

Definition at line 113 of file pqFieldSelectionAdaptor.h.

◆ IsGettingAllDomains

bool pqFieldSelectionAdaptor::IsGettingAllDomains
protected

Definition at line 114 of file pqFieldSelectionAdaptor.h.

Property Documentation

◆ attributeMode

QString pqFieldSelectionAdaptor::attributeMode
readwrite

Definition at line 56 of file pqFieldSelectionAdaptor.h.

◆ scalar

QString pqFieldSelectionAdaptor::scalar
readwrite

Definition at line 57 of file pqFieldSelectionAdaptor.h.

◆ selection

QStringList pqFieldSelectionAdaptor::selection
readwrite

Definition at line 58 of file pqFieldSelectionAdaptor.h.


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