CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkCmdLineModuleQtUiLoader Class Reference

Derived from QUiLoader to enable us to instantiate custom widgets at runtime, where this class provides ctkCmdLineModuleQtComboBox instead of QComboBox. More...

#include <Libs/CommandLineModules/Frontend/QtGui/ctkCmdLineModuleQtUiLoader.h>

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

Public Member Functions

virtual QWidget * createWidget (const QString &className, QWidget *parent=0, const QString &name=QString())
 If className is QComboBox, instantiates ctkCmdLineModuleQtGuiComboBox and otherwise delegates to base class. More...
 
 ctkCmdLineModuleQtUiLoader (QObject *parent=0)
 
virtual ~ctkCmdLineModuleQtUiLoader ()
 

Detailed Description

Derived from QUiLoader to enable us to instantiate custom widgets at runtime, where this class provides ctkCmdLineModuleQtComboBox instead of QComboBox.

Author
m.cla.nosp@m.rkso.nosp@m.n@ucl.nosp@m..ac..nosp@m.uk

Definition at line 34 of file ctkCmdLineModuleQtUiLoader.h.

Constructor & Destructor Documentation

◆ ctkCmdLineModuleQtUiLoader()

ctkCmdLineModuleQtUiLoader::ctkCmdLineModuleQtUiLoader ( QObject *  parent = 0)

◆ ~ctkCmdLineModuleQtUiLoader()

virtual ctkCmdLineModuleQtUiLoader::~ctkCmdLineModuleQtUiLoader ( )
virtual

Member Function Documentation

◆ createWidget()

virtual QWidget* ctkCmdLineModuleQtUiLoader::createWidget ( const QString &  className,
QWidget *  parent = 0,
const QString &  name = QString() 
)
virtual

If className is QComboBox, instantiates ctkCmdLineModuleQtGuiComboBox and otherwise delegates to base class.

See also
QUiLoader::createWidget()

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