Slicer  5.2
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
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

qSlicerAbstractCoreModulecurrentModule () const
 
QString currentModuleName () const
 
bool eventFilter (QObject *watchedModule, QEvent *event) override
 
bool isHelpAndAcknowledgmentVisible () const
 
QSize minimumSizeHint () const override
 
 qSlicerModulePanel (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
void removeAllModules () override
 
void setHelpAndAcknowledgmentVisible (bool value)
 
 ~qSlicerModulePanel () override
 
- Public Member Functions inherited from qSlicerAbstractModulePanel
void addModule (const QString &moduleName)
 
Q_INVOKABLE qSlicerModuleManagermoduleManager () const
 
 qSlicerAbstractModulePanel (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
void removeModule (const QString &moduleName)
 
Q_INVOKABLE void setModuleManager (qSlicerModuleManager *moduleManager)
 
 ~qSlicerAbstractModulePanel () override
 
- Public Member Functions inherited from qSlicerWidget
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 
 qSlicerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qSlicerWidget () override
 
- 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

void addModule (qSlicerAbstractCoreModule *module) override
 
void removeModule (qSlicerAbstractCoreModule *module) override
 
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 = nullptr,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

◆ ~qSlicerModulePanel()

qSlicerModulePanel::~qSlicerModulePanel ( )
override

Member Function Documentation

◆ addModule()

void qSlicerModulePanel::addModule ( qSlicerAbstractCoreModule module)
overrideprotectedvirtual

◆ currentModule()

qSlicerAbstractCoreModule* qSlicerModulePanel::currentModule ( ) const

◆ currentModuleName()

QString qSlicerModulePanel::currentModuleName ( ) const

◆ eventFilter()

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

◆ isHelpAndAcknowledgmentVisible()

bool qSlicerModulePanel::isHelpAndAcknowledgmentVisible ( ) const

Set the canShowHelpAndAcknowledgment property value.

See also
helpAndAcknowledgmentVisible, setHelpAndAcknowledgmentVisible()

◆ minimumSizeHint()

QSize qSlicerModulePanel::minimumSizeHint ( ) const
override

◆ removeAllModules()

void qSlicerModulePanel::removeAllModules ( )
overridevirtual

◆ removeModule()

void qSlicerModulePanel::removeModule ( qSlicerAbstractCoreModule module)
overrideprotectedvirtual

◆ 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: