Slicer  4.11
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 | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
qSlicerModulesListView Class Reference

#include <Base/QTGUI/qSlicerModulesListView.h>

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

Public Types

typedef QListView Superclass
 Superclass typedef. More...
 

Properties

bool checkBoxVisible
 False by default. More...
 
QStringList checkedModules
 
QStringList modules
 
QStringList uncheckedModules
 

Public Slots

void hideSelectedModules ()
 
void moveLeftSelectedModules ()
 
void moveRightSelectedModules ()
 
void moveSelectedModules (int offset)
 
void scrollToSelectedModules ()
 
void setCheckBoxVisible (bool show)
 
void setCheckedModules (const QStringList &moduleNames)
 
void setFactoryManager (qSlicerAbstractModuleFactoryManager *manager)
 
void setUncheckedModules (const QStringList &moduleNames)
 

Signals

void checkedModulesChanged (const QStringList &)
 This signal is emitted when a module is checked. More...
 
void uncheckedModulesChanged (const QStringList &)
 This signal is emitted when a module is unchecked. More...
 

Public Member Functions

QStringList checkedModules () const
 
Q_INVOKABLE qSlicerAbstractModuleFactoryManagerfactoryManager () const
 
Q_INVOKABLE qSlicerModuleFactoryFilterModelfilterModel () const
 
bool isCheckBoxVisible () const
 
QStringList modules () const
 Return the list of all loaded, ignored and toIgnore modules. More...
 
 qSlicerModulesListView (QWidget *parent=nullptr)
 Constructor. More...
 
QStringList uncheckedModules () const
 
 ~qSlicerModulesListView () override
 Destructor. More...
 

Protected Slots

void addModule (const QString &moduleName)
 
void addModules (const QStringList &moduleNames)
 
void onItemChanged (QStandardItem *item)
 
void updateModule (const QString &moduleName)
 
void updateModules ()
 
void updateModules (const QStringList &moduleName)
 

Protected Member Functions

void changeEvent (QEvent *e) override
 
void keyPressEvent (QKeyEvent *event) override
 

Protected Attributes

QScopedPointer< qSlicerModulesListViewPrivate > d_ptr
 

Detailed Description

Definition at line 35 of file qSlicerModulesListView.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 49 of file qSlicerModulesListView.h.

Property Documentation

◆ checkBoxVisible

bool qSlicerModulesListView::checkBoxVisible
readwrite

False by default.

Definition at line 39 of file qSlicerModulesListView.h.

◆ checkedModules

QStringList qSlicerModulesListView::checkedModules
readwrite

Definition at line 43 of file qSlicerModulesListView.h.

◆ modules

QStringList qSlicerModulesListView::modules
read

Definition at line 40 of file qSlicerModulesListView.h.

◆ uncheckedModules

QStringList qSlicerModulesListView::uncheckedModules
readwrite

Definition at line 46 of file qSlicerModulesListView.h.

Constructor & Destructor Documentation

◆ qSlicerModulesListView()

qSlicerModulesListView::qSlicerModulesListView ( QWidget *  parent = nullptr)
explicit

Constructor.

◆ ~qSlicerModulesListView()

qSlicerModulesListView::~qSlicerModulesListView ( )
override

Destructor.

Member Function Documentation

◆ addModule

void qSlicerModulesListView::addModule ( const QString &  moduleName)
protectedslot

◆ addModules

void qSlicerModulesListView::addModules ( const QStringList &  moduleNames)
protectedslot

◆ changeEvent()

void qSlicerModulesListView::changeEvent ( QEvent *  e)
overrideprotected

◆ checkedModules()

QStringList qSlicerModulesListView::checkedModules ( ) const

Return the list of checked modules. It is the list of all the modules to load at startup.

◆ checkedModulesChanged

void qSlicerModulesListView::checkedModulesChanged ( const QStringList &  )
signal

This signal is emitted when a module is checked.

◆ factoryManager()

Q_INVOKABLE qSlicerAbstractModuleFactoryManager* qSlicerModulesListView::factoryManager ( ) const

Get the module factory manager that contains the list of modules and modules to ignore

◆ filterModel()

Q_INVOKABLE qSlicerModuleFactoryFilterModel* qSlicerModulesListView::filterModel ( ) const

◆ hideSelectedModules

void qSlicerModulesListView::hideSelectedModules ( )
slot

◆ isCheckBoxVisible()

bool qSlicerModulesListView::isCheckBoxVisible ( ) const

◆ keyPressEvent()

void qSlicerModulesListView::keyPressEvent ( QKeyEvent *  event)
overrideprotected

◆ modules()

QStringList qSlicerModulesListView::modules ( ) const

Return the list of all loaded, ignored and toIgnore modules.

◆ moveLeftSelectedModules

void qSlicerModulesListView::moveLeftSelectedModules ( )
slot

◆ moveRightSelectedModules

void qSlicerModulesListView::moveRightSelectedModules ( )
slot

◆ moveSelectedModules

void qSlicerModulesListView::moveSelectedModules ( int  offset)
slot

◆ onItemChanged

void qSlicerModulesListView::onItemChanged ( QStandardItem *  item)
protectedslot

◆ scrollToSelectedModules

void qSlicerModulesListView::scrollToSelectedModules ( )
slot

◆ setCheckBoxVisible

void qSlicerModulesListView::setCheckBoxVisible ( bool  show)
slot

◆ setCheckedModules

void qSlicerModulesListView::setCheckedModules ( const QStringList &  moduleNames)
slot

Check the modules in the moduleNames list. Uncheck the modules not in the moduleNames list.

◆ setFactoryManager

void qSlicerModulesListView::setFactoryManager ( qSlicerAbstractModuleFactoryManager manager)
slot

Set the module factory manager that contains the list of modules and modules to ignore

◆ setUncheckedModules

void qSlicerModulesListView::setUncheckedModules ( const QStringList &  moduleNames)
slot

Uncheck the modules in the moduleNames list. Check the modules not in the moduleNames list.

◆ uncheckedModules()

QStringList qSlicerModulesListView::uncheckedModules ( ) const

Return the list of unchecked modules. Please note it is the same than the qSlicerModuleFactoryManager::modulesToIgnore property.

◆ uncheckedModulesChanged

void qSlicerModulesListView::uncheckedModulesChanged ( const QStringList &  )
signal

This signal is emitted when a module is unchecked.

◆ updateModule

void qSlicerModulesListView::updateModule ( const QString &  moduleName)
protectedslot

◆ updateModules [1/2]

void qSlicerModulesListView::updateModules ( )
protectedslot

◆ updateModules [2/2]

void qSlicerModulesListView::updateModules ( const QStringList &  moduleName)
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerModulesListViewPrivate> qSlicerModulesListView::d_ptr
protected

Definition at line 111 of file qSlicerModulesListView.h.


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