#include <OSGQFieldEditorFactory.h>
Public Member Functions | |
| ~QFieldEditorFactory (void) | |
| QFieldEditorBase * | createEditor (QFieldViewBase *pView, const char *name=0) |
| QFieldEditorBase * | createEditor (UInt32 uiIndex, QFieldViewBase *pView, const char *name=0) |
Static Public Member Functions | |
| static QFieldEditorFactory & | the () |
Private Member Functions | |
| QFieldEditorFactory (void) | |
Static Private Attributes | |
| static QFieldEditorFactory * | _the = 0 |
Definition at line 58 of file OSGQFieldEditorFactory.h.
| QFieldEditorFactory::~QFieldEditorFactory | ( | void | ) |
| QFieldEditorFactory::QFieldEditorFactory | ( | void | ) | [private] |
| QFieldEditorFactory & QFieldEditorFactory::the | ( | void | ) | [static] |
Definition at line 67 of file OSGQFieldEditorFactory.cpp.
References _the.
Referenced by osg::QMFieldView::initSelf(), and osg::QSFieldView::initSelf().
00068 { 00069 if(!_the) 00070 _the = new QFieldEditorFactory; 00071 00072 return *_the; 00073 }
| QFieldEditorBase * QFieldEditorFactory::createEditor | ( | QFieldViewBase * | pView, | |
| const char * | name = 0 | |||
| ) |
Definition at line 76 of file OSGQFieldEditorFactory.cpp.
Referenced by osg::QMFieldView::initSelf(), and osg::QSFieldView::initSelf().
00078 { 00079 return new QGenericFieldEditor(pView, name); 00080 }
| QFieldEditorBase * QFieldEditorFactory::createEditor | ( | UInt32 | uiIndex, | |
| QFieldViewBase * | pView, | |||
| const char * | name = 0 | |||
| ) |
Definition at line 83 of file OSGQFieldEditorFactory.cpp.
00085 { 00086 return new QGenericFieldEditor(uiIndex, pView, name); 00087 }
QFieldEditorFactory * QFieldEditorFactory::_the = 0 [static, private] |
1.5.5