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

pqSILWidget is a QTabWidget that creates tabs with pqTreeView instances showing the top-level categories from the 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...
 
virtual ~pqSILWidget ()
 
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
 
QString ActiveCategory
 

Detailed Description

pqSILWidget is a QTabWidget that creates tabs with pqTreeView instances showing the top-level categories from the SIL.

Definition at line 48 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()

virtual pqSILWidget::~pqSILWidget ( )
virtual

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 70 of file pqSILWidget.h.

§ onModelReset

void pqSILWidget::onModelReset ( )
protectedslot

§ checkSelectedBlocks

void pqSILWidget::checkSelectedBlocks ( )
inlineprotectedslot

Definition at line 74 of file pqSILWidget.h.

§ uncheckSelectedBlocks

void pqSILWidget::uncheckSelectedBlocks ( )
inlineprotectedslot

Definition at line 75 of file pqSILWidget.h.

§ toggleSelectedBlocks

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

Member Data Documentation

§ TabWidget

QTabWidget* pqSILWidget::TabWidget
protected

Definition at line 79 of file pqSILWidget.h.

§ Model

QPointer<pqSILModel> pqSILWidget::Model
protected

Definition at line 80 of file pqSILWidget.h.

§ Trees

QList<pqTreeView*> pqSILWidget::Trees
protected

Definition at line 81 of file pqSILWidget.h.

§ ActiveModel

pqProxySILModel* pqSILWidget::ActiveModel
protected

Definition at line 82 of file pqSILWidget.h.

§ ActiveCategory

QString pqSILWidget::ActiveCategory
protected

Definition at line 83 of file pqSILWidget.h.


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