Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Properties | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
qSlicerModulePanel Class Reference

#include <Base/QTGUI/qSlicerModulePanel.h>

Inheritance diagram for qSlicerModulePanel:
Inheritance graph
[legend]
Collaboration diagram for qSlicerModulePanel:
Collaboration graph
[legend]

Public Types

typedef qSlicerAbstractModulePanel Superclass
 

Properties

bool helpAndAcknowledgmentVisible
 

Public Slots

void setModule (const QString &moduleName)
 
- Public Slots inherited from qSlicerWidget
virtual void setMRMLScene (vtkMRMLScene *scene)
 

Public Member Functions

qSlicerAbstractCoreModulecurrentModule () const
 
QString currentModuleName () const
 
virtual bool eventFilter (QObject *watchedModule, QEvent *event)
 
bool isHelpAndAcknowledgmentVisible () const
 
virtual QSize minimumSizeHint () const
 
 qSlicerModulePanel (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual void removeAllModules ()
 
void setHelpAndAcknowledgmentVisible (bool value)
 
virtual ~qSlicerModulePanel ()
 
- Public Member Functions inherited from qSlicerAbstractModulePanel
void addModule (const QString &moduleName)
 
qSlicerModuleManagermoduleManager () const
 
 qSlicerAbstractModulePanel (QWidget *parent=0, Qt::WindowFlags f=0)
 
void removeModule (const QString &moduleName)
 
void setModuleManager (qSlicerModuleManager *moduleManager)
 
virtual ~qSlicerAbstractModulePanel ()
 
- Public Member Functions inherited from qSlicerWidget
 qSlicerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qSlicerWidget ()
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
virtual ~qSlicerObject ()
 

Protected Member Functions

virtual void addModule (qSlicerAbstractCoreModule *module)
 
virtual void removeModule (qSlicerAbstractCoreModule *module)
 
void setModule (qSlicerAbstractCoreModule *module)
 

Protected Attributes

QScopedPointer< qSlicerModulePanelPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModulePanel
QScopedPointer< qSlicerAbstractModulePanelPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 

Additional Inherited Members

- Signals inherited from qSlicerAbstractModulePanel
void moduleAdded (const QString &moduleName)
 
void moduleRemoved (const QString &moduleName)
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

Definition at line 34 of file qSlicerModulePanel.h.

Member Typedef Documentation

◆ Superclass

Definition at line 51 of file qSlicerModulePanel.h.

Property Documentation

◆ helpAndAcknowledgmentVisible

bool qSlicerModulePanel::helpAndAcknowledgmentVisible
readwrite

This property controls whether the help and acknowledgment section is visible or not. If the property is set to true and the current module doesn't have any help text, the section will remain hidden. If the property has already been set to true and a module with a help text is set, the section will be visible.

See also
isHelpAndAcknowledgmentVisible()
setHelpAndAcknowledgmentVisible()
qSlicerAbstractCoreModule::helpText(), setModule()

Definition at line 48 of file qSlicerModulePanel.h.

Constructor & Destructor Documentation

◆ qSlicerModulePanel()

qSlicerModulePanel::qSlicerModulePanel ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

◆ ~qSlicerModulePanel()

virtual qSlicerModulePanel::~qSlicerModulePanel ( )
virtual

Member Function Documentation

◆ addModule()

virtual void qSlicerModulePanel::addModule ( qSlicerAbstractCoreModule module)
protectedvirtual

◆ currentModule()

qSlicerAbstractCoreModule* qSlicerModulePanel::currentModule ( ) const

◆ currentModuleName()

QString qSlicerModulePanel::currentModuleName ( ) const

◆ eventFilter()

virtual bool qSlicerModulePanel::eventFilter ( QObject *  watchedModule,
QEvent *  event 
)
virtual

◆ isHelpAndAcknowledgmentVisible()

bool qSlicerModulePanel::isHelpAndAcknowledgmentVisible ( ) const

Set the canShowHelpAndAcknowledgment property value.

See also
helpAndAcknowledgmentVisible, setHelpAndAcknowledgmentVisible()

◆ minimumSizeHint()

virtual QSize qSlicerModulePanel::minimumSizeHint ( ) const
virtual

◆ removeAllModules()

virtual void qSlicerModulePanel::removeAllModules ( )
virtual

◆ removeModule()

virtual void qSlicerModulePanel::removeModule ( qSlicerAbstractCoreModule module)
protectedvirtual

◆ setHelpAndAcknowledgmentVisible()

void qSlicerModulePanel::setHelpAndAcknowledgmentVisible ( bool  value)

Get the helpAndAcknowledgmentVisible property value.

See also
helpAndAcknowledgmentVisible, isHelpAndAcknowledgmentVisible()

◆ setModule [1/2]

void qSlicerModulePanel::setModule ( const QString &  moduleName)
slot

◆ setModule() [2/2]

void qSlicerModulePanel::setModule ( qSlicerAbstractCoreModule module)
protected

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerModulePanelPrivate> qSlicerModulePanel::d_ptr
protected

Definition at line 79 of file qSlicerModulePanel.h.


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