Version: 8.3.0
pqArraysEditorPropertyWidget Class Reference

pqArraysEditorPropertyWidget is the pqPropertyWidget used to edit arrays and array's components. More...

#include <pqArraysEditorPropertyWidget.h>

Inheritance diagram for pqArraysEditorPropertyWidget:
Inheritance graph

Public Types

typedef pqPropertyWidget Superclass
 

Signals

void arraysInfoChanged ()
 Fired when the arrays Info is changes. More...
 
void componentsInfoChanged ()
 

Public Member Functions

 pqArraysEditorPropertyWidget (vtkSMProxy *proxy, vtkSMPropertyGroup *smgroup, QWidget *parent=0)
 
virtual ~pqArraysEditorPropertyWidget ()
 
QList< QVariant > arraysInfo () const
 Get/Set the arrays Info. More...
 
void setArraysInfo (const QList< QVariant > &)
 
QList< QVariant > componentsInfo () const
 Get/Set the arrays Info. More...
 
void setComponentsInfo (const QList< QVariant > &)
 

Properties

QList< QVariant > arrayInfo
 
QList< QVariant > componentsInfo
 

Private Slots

void onDataChanged (const QModelIndex &topleft, const QModelIndex &btmright)
 called whenever the internal model's data changes. More...
 
void onComponentsEdit ()
 
void onInputDataChanged ()
 called whenever the input changed. More...
 

Private Member Functions

void updateArraysList ()
 

Private Attributes

vtkSmartPointer
< vtkSMPropertyGroup > 
myPropertyGroup
 
vtkEventQtSlotConnect * myConnection
 
unsigned long myDataTime
 
pqArraysModelmyArraysModel
 
QTableViewmyArraysTable
 

Detailed Description

Member Typedef Documentation

Constructor & Destructor Documentation

pqArraysEditorPropertyWidget::pqArraysEditorPropertyWidget ( vtkSMProxy *  proxy,
vtkSMPropertyGroup *  smgroup,
QWidget *  parent = 0 
)
pqArraysEditorPropertyWidget::~pqArraysEditorPropertyWidget ( )
virtual

References myArraysModel, and myConnection.

Member Function Documentation

QList< QVariant > pqArraysEditorPropertyWidget::arraysInfo ( ) const
void pqArraysEditorPropertyWidget::setArraysInfo ( const QList< QVariant > &  values)
QList<QVariant> pqArraysEditorPropertyWidget::componentsInfo ( ) const
void pqArraysEditorPropertyWidget::setComponentsInfo ( const QList< QVariant > &  values)
void pqArraysEditorPropertyWidget::arraysInfoChanged ( )
signal
void pqArraysEditorPropertyWidget::componentsInfoChanged ( )
signal
void pqArraysEditorPropertyWidget::onDataChanged ( const QModelIndex &  topleft,
const QModelIndex &  btmright 
)
privateslot
void pqArraysEditorPropertyWidget::onComponentsEdit ( )
privateslot
void pqArraysEditorPropertyWidget::onInputDataChanged ( )
privateslot

References updateArraysList().

void pqArraysEditorPropertyWidget::updateArraysList ( )
private

Field Documentation

vtkSmartPointer<vtkSMPropertyGroup> pqArraysEditorPropertyWidget::myPropertyGroup
private
vtkEventQtSlotConnect* pqArraysEditorPropertyWidget::myConnection
private
unsigned long pqArraysEditorPropertyWidget::myDataTime
private
pqArraysModel* pqArraysEditorPropertyWidget::myArraysModel
private
QTableView* pqArraysEditorPropertyWidget::myArraysTable
private

Property Documentation

QList<QVariant> pqArraysEditorPropertyWidget::arrayInfo
readwrite
QList< QVariant > pqArraysEditorPropertyWidget::componentsInfo
readwrite