Public Member Functions | Protected Slots | Protected Attributes | List of all members
pqSILWidget Class Reference

a QWidget subclass to show legacy SIL (vtkGraph-based SIL) More...

#include <pqSILWidget.h>

Inherits QWidget.

Collaboration diagram for pqSILWidget:
Collaboration graph
[legend]

Public Member Functions

 pqSILWidget (const QString &activeCategory, QWidget *parent=0)
 activeCategory is used to mark one of the top-level categories as the first one to show. More...
 
 ~pqSILWidget () override
 
void setModel (pqSILModel *silModel)
 Get/Set the SIL model. More...
 
pqSILModelmodel () const
 
pqProxySILModelactiveModel ()
 Returns the proxy model for the active category. More...
 

Protected Slots

void onModelReset ()
 
void checkSelectedBlocks ()
 
void uncheckSelectedBlocks ()
 
void toggleSelectedBlocks (bool checked=false)
 

Protected Attributes

QTabWidget * TabWidget
 
QPointer< pqSILModelModel
 
QList< pqTreeView * > Trees
 
pqProxySILModelActiveModel
 
QSortFilterProxyModel * SortModel
 
QString ActiveCategory
 

Detailed Description

a QWidget subclass to show legacy SIL (vtkGraph-based SIL)

pqSILWidget is designed to show a legacy SIL (represented using vtkGraph, as against ones using vtkSubsetInclusionLattice or subclass).

For top-level nodes in the SIL, it creates tabs for each and then shows subtrees for each in a separate pqTreeView under the tabs.

Legacy Warning

While not deprecated, this class exists to support readers that use legacy representation for SIL which used a vtkGraph to represent the SIL. It is recommended that newer code uses vtkSubsetInclusionLattice (or subclass) to represent the SIL. In that case, you should use pqSubsetInclusionLatticeWidget instead.

Definition at line 64 of file pqSILWidget.h.

Constructor & Destructor Documentation

◆ pqSILWidget()

pqSILWidget::pqSILWidget ( const QString &  activeCategory,
QWidget *  parent = 0 
)

activeCategory is used to mark one of the top-level categories as the first one to show.

This is typically the sub-tree that you want to set on the property.

◆ ~pqSILWidget()

pqSILWidget::~pqSILWidget ( )
override

Member Function Documentation

◆ setModel()

void pqSILWidget::setModel ( pqSILModel silModel)

Get/Set the SIL model.

This is typically a pqSILModel instance.

◆ model()

pqSILModel* pqSILWidget::model ( ) const

◆ activeModel()

pqProxySILModel* pqSILWidget::activeModel ( )
inline

Returns the proxy model for the active category.

Definition at line 86 of file pqSILWidget.h.

◆ onModelReset

void pqSILWidget::onModelReset ( )
protectedslot

◆ checkSelectedBlocks

void pqSILWidget::checkSelectedBlocks ( )
inlineprotectedslot

Definition at line 90 of file pqSILWidget.h.

◆ uncheckSelectedBlocks

void pqSILWidget::uncheckSelectedBlocks ( )
inlineprotectedslot

Definition at line 91 of file pqSILWidget.h.

◆ toggleSelectedBlocks

void pqSILWidget::toggleSelectedBlocks ( bool  checked = false)
protectedslot

Member Data Documentation

◆ TabWidget

QTabWidget* pqSILWidget::TabWidget
protected

Definition at line 95 of file pqSILWidget.h.

◆ Model

QPointer<pqSILModel> pqSILWidget::Model
protected

Definition at line 96 of file pqSILWidget.h.

◆ Trees

QList<pqTreeView*> pqSILWidget::Trees
protected

Definition at line 97 of file pqSILWidget.h.

◆ ActiveModel

pqProxySILModel* pqSILWidget::ActiveModel
protected

Definition at line 98 of file pqSILWidget.h.

◆ SortModel

QSortFilterProxyModel* pqSILWidget::SortModel
protected

Definition at line 99 of file pqSILWidget.h.

◆ ActiveCategory

QString pqSILWidget::ActiveCategory
protected

Definition at line 100 of file pqSILWidget.h.


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