Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#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 QmitkPropertyViewFactory * | GetInstance () |
Protected Member Functions | |
QmitkPropertyViewFactory () | |
~QmitkPropertyViewFactory () | |
Definition at line 25 of file QmitkPropertyViewFactory.h.
Enumerator | |
---|---|
etDEFAULT | |
etALWAYS_EDIT | |
etON_DEMAND_EDIT |
Definition at line 32 of file QmitkPropertyViewFactory.h.
Enumerator | |
---|---|
vtDEFAULT |
Definition at line 28 of file QmitkPropertyViewFactory.h.
|
protected |
Definition at line 39 of file QmitkPropertyViewFactory.cpp.
|
protected |
Definition at line 43 of file QmitkPropertyViewFactory.cpp.
QWidget * QmitkPropertyViewFactory::CreateEditor | ( | mitk::BaseProperty * | property, |
unsigned int | type = 0 , |
||
QWidget * | parent = nullptr |
||
) |
Definition at line 90 of file QmitkPropertyViewFactory.cpp.
References etON_DEMAND_EDIT.
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!
Definition at line 46 of file QmitkPropertyViewFactory.cpp.
|
static |
Definition at line 33 of file QmitkPropertyViewFactory.cpp.