Medical Imaging Interaction Toolkit  2023.04.00
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)

◆ ~QmitkCmdLineModuleMenuComboBox()

QmitkCmdLineModuleMenuComboBox::~QmitkCmdLineModuleMenuComboBox ( )
override

Member Function Documentation

◆ GetManager()

ctkCmdLineModuleManager* QmitkCmdLineModuleMenuComboBox::GetManager ( ) const

Returns the ctkCmdLineModuleManager.

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


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