a QWidget subclass to show legacy SIL (vtkGraph-based SIL) More...
#include <pqSILWidget.h>
Inherits QWidget.
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... | |
pqSILModel * | model () const |
pqProxySILModel * | activeModel () |
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< pqSILModel > | Model |
QList< pqTreeView * > | Trees |
pqProxySILModel * | ActiveModel |
QSortFilterProxyModel * | SortModel |
QString | ActiveCategory |
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.
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.
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.
|
override |
void pqSILWidget::setModel | ( | pqSILModel * | silModel | ) |
Get/Set the SIL model.
This is typically a pqSILModel instance.
pqSILModel* pqSILWidget::model | ( | ) | const |
|
inline |
Returns the proxy model for the active category.
Definition at line 86 of file pqSILWidget.h.
|
protectedslot |
|
inlineprotectedslot |
Definition at line 90 of file pqSILWidget.h.
|
inlineprotectedslot |
Definition at line 91 of file pqSILWidget.h.
|
protectedslot |
|
protected |
Definition at line 95 of file pqSILWidget.h.
|
protected |
Definition at line 96 of file pqSILWidget.h.
|
protected |
Definition at line 97 of file pqSILWidget.h.
|
protected |
Definition at line 98 of file pqSILWidget.h.
|
protected |
Definition at line 99 of file pqSILWidget.h.
|
protected |
Definition at line 100 of file pqSILWidget.h.