Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkCmdLineModuleMenuComboBox Class Reference

Subclass of ctkMenuComboBox to listen to ctkCmdLineModuleManager moduleRegistered and moduleUnregistered signals, and update the menu accordingly. More...

#include <QmitkCmdLineModuleMenuComboBox.h>

Inheritance diagram for QmitkCmdLineModuleMenuComboBox:
Collaboration diagram for QmitkCmdLineModuleMenuComboBox:

Public Member Functions

 QmitkCmdLineModuleMenuComboBox (QWidget *parent=nullptr)
 
 ~QmitkCmdLineModuleMenuComboBox () override
 
void SetManager (ctkCmdLineModuleManager *manager)
 Inject the module manager, so that this widget can still easily be used via widget promotion in Qt Designer, as it will maintain the default constructor. More...
 
ctkCmdLineModuleManager * GetManager () const
 Returns the ctkCmdLineModuleManager. More...
 

Detailed Description

Subclass of ctkMenuComboBox to listen to ctkCmdLineModuleManager moduleRegistered and moduleUnregistered signals, and update the menu accordingly.

Author
Matt Clarkson (m.cla.nosp@m.rkso.nosp@m.n@ucl.nosp@m..ac..nosp@m.uk)
See also
ctkMenuComboBox

Definition at line 30 of file QmitkCmdLineModuleMenuComboBox.h.

Constructor & Destructor Documentation

◆ QmitkCmdLineModuleMenuComboBox()

QmitkCmdLineModuleMenuComboBox::QmitkCmdLineModuleMenuComboBox ( QWidget *  parent = nullptr)

Definition at line 27 of file QmitkCmdLineModuleMenuComboBox.cpp.

◆ ~QmitkCmdLineModuleMenuComboBox()

QmitkCmdLineModuleMenuComboBox::~QmitkCmdLineModuleMenuComboBox ( )
override

Definition at line 36 of file QmitkCmdLineModuleMenuComboBox.cpp.

Member Function Documentation

◆ GetManager()

ctkCmdLineModuleManager * QmitkCmdLineModuleMenuComboBox::GetManager ( ) const

Returns the ctkCmdLineModuleManager.

Definition at line 58 of file QmitkCmdLineModuleMenuComboBox.cpp.

References menu.

◆ SetManager()

void QmitkCmdLineModuleMenuComboBox::SetManager ( ctkCmdLineModuleManager *  manager)

Inject the module manager, so that this widget can still easily be used via widget promotion in Qt Designer, as it will maintain the default constructor.

Definition at line 43 of file QmitkCmdLineModuleMenuComboBox.cpp.


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