Medical Imaging Interaction Toolkit  2016.11.0
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)
 
virtual ~QmitkCmdLineModuleMenuComboBox ()
 
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 33 of file QmitkCmdLineModuleMenuComboBox.h.

Constructor & Destructor Documentation

QmitkCmdLineModuleMenuComboBox::QmitkCmdLineModuleMenuComboBox ( QWidget *  parent = nullptr)

Definition at line 30 of file QmitkCmdLineModuleMenuComboBox.cpp.

QmitkCmdLineModuleMenuComboBox::~QmitkCmdLineModuleMenuComboBox ( )
virtual

Definition at line 39 of file QmitkCmdLineModuleMenuComboBox.cpp.

Member Function Documentation

ctkCmdLineModuleManager * QmitkCmdLineModuleMenuComboBox::GetManager ( ) const

Returns the ctkCmdLineModuleManager.

Definition at line 61 of file QmitkCmdLineModuleMenuComboBox.cpp.

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 46 of file QmitkCmdLineModuleMenuComboBox.cpp.


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