Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkPropertyViewFactory Class Reference

#include <QmitkPropertyViewFactory.h>

Public Types

enum  ViewTypes { vtDEFAULT }
 
enum  EditorTypes { etDEFAULT, etALWAYS_EDIT, etON_DEMAND_EDIT }
 

Public Member Functions

QWidget * CreateView (const mitk::BaseProperty *property, unsigned int type=0, QWidget *parent=nullptr)
 
QWidget * CreateEditor (mitk::BaseProperty *property, unsigned int type=0, QWidget *parent=nullptr)
 

Static Public Member Functions

static QmitkPropertyViewFactoryGetInstance ()
 

Protected Member Functions

 QmitkPropertyViewFactory ()
 
 ~QmitkPropertyViewFactory ()
 

Detailed Description

Definition at line 21 of file QmitkPropertyViewFactory.h.

Member Enumeration Documentation

◆ EditorTypes

Enumerator
etDEFAULT 
etALWAYS_EDIT 
etON_DEMAND_EDIT 

Definition at line 28 of file QmitkPropertyViewFactory.h.

◆ ViewTypes

Enumerator
vtDEFAULT 

Definition at line 24 of file QmitkPropertyViewFactory.h.

Constructor & Destructor Documentation

◆ QmitkPropertyViewFactory()

QmitkPropertyViewFactory::QmitkPropertyViewFactory ( )
protected

◆ ~QmitkPropertyViewFactory()

QmitkPropertyViewFactory::~QmitkPropertyViewFactory ( )
protected

Member Function Documentation

◆ CreateEditor()

QWidget* QmitkPropertyViewFactory::CreateEditor ( mitk::BaseProperty property,
unsigned int  type = 0,
QWidget *  parent = nullptr 
)

◆ CreateView()

QWidget* QmitkPropertyViewFactory::CreateView ( const mitk::BaseProperty property,
unsigned int  type = 0,
QWidget *  parent = nullptr 
)

Views and editors are created via operator new. After creation they belong to the caller of CreateView()/CreateEditor(), i.e. the caller has to ensure, that the objects are properly deleted!

◆ GetInstance()

static QmitkPropertyViewFactory* QmitkPropertyViewFactory::GetInstance ( )
static

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