#include <OSGQFieldEditor_qt.h>
Inheritance diagram for osg::QFieldEditorBase:

Signals | |
| void | editorDone (void) |
| void | fieldUpdated (UInt32 uiIndex) |
Public Member Functions | |
| QFieldEditorBase (QFieldViewBase *pView, const char *name=NULL) | |
| QFieldEditorBase (UInt32 uiIndex, QFieldViewBase *pView, const char *name=NULL) | |
| virtual | ~QFieldEditorBase (void)=0 |
| virtual void | updateField (void)=0 |
| virtual void | updateEditor (void)=0 |
| virtual void | activate (void) |
| virtual void | deactivate (void) |
| void | setIndex (UInt32 uiIndex) |
| bool | getActive (void) const |
| UInt32 | getIndex (void) const |
Protected Member Functions | |
| QFieldViewBase * | getFieldView (void) |
| const QFieldViewBase * | getFieldView (void) const |
| Field * | getFieldPtr (void) |
| const Field * | getFieldPtr (void) const |
Private Types | |
| typedef QWidget | Inherited |
Private Attributes | |
| QFieldViewBase * | _pView |
| UInt32 | _uiIndex |
| bool | _bActive |
Definition at line 61 of file OSGQFieldEditor_qt.h.
|
|
Reimplemented in osg::QGenericFieldEditor. Definition at line 96 of file OSGQFieldEditor_qt.h. |
|
||||||||||||
|
Definition at line 63 of file OSGQFieldEditor_qt.cpp. 00065 : Inherited(pView, name), 00066 _pView (pView ), 00067 _uiIndex (0 ), 00068 _bActive (false ) 00069 { 00070 }
|
|
||||||||||||||||
|
Definition at line 72 of file OSGQFieldEditor_qt.cpp. 00074 : Inherited(pView, name), 00075 _pView (pView ), 00076 _uiIndex (uiIndex ), 00077 _bActive (false ) 00078 { 00079 }
|
|
|
Definition at line 81 of file OSGQFieldEditor_qt.cpp.
|
|
|
Implemented in osg::QGenericFieldEditor. |
|
|
Implemented in osg::QGenericFieldEditor. |
|
|
Reimplemented in osg::QGenericFieldEditor. Definition at line 86 of file OSGQFieldEditor_qt.cpp. References _bActive. Referenced by osg::QGenericFieldEditor::activate(), osg::QMFieldView::beginEdit(), and osg::QSFieldView::beginEdit(). 00087 { 00088 _bActive = true; 00089 00090 show(); 00091 }
|
|
|
Reimplemented in osg::QGenericFieldEditor. Definition at line 94 of file OSGQFieldEditor_qt.cpp. References _bActive. Referenced by osg::QGenericFieldEditor::deactivate(), osg::QMFieldView::endEdit(), and osg::QSFieldView::endEdit(). 00095 { 00096 hide(); 00097 00098 _bActive = false; 00099 }
|
|
|
Definition at line 102 of file OSGQFieldEditor_qt.cpp. References _uiIndex. Referenced by osg::QMFieldView::beginEdit(), and osg::QSFieldView::beginEdit(). 00103 { 00104 _uiIndex = uiIndex; 00105 }
|
|
|
Definition at line 48 of file OSGQFieldEditor_qt.inl. References _bActive. Referenced by osg::QMFieldView::endEdit(), osg::QSFieldView::endEdit(), and osg::QSFieldView::paintEvent(). 00049 { 00050 return _bActive; 00051 }
|
|
|
Definition at line 54 of file OSGQFieldEditor_qt.inl. References _uiIndex. Referenced by osg::QGenericFieldEditor::updateEditor(), and osg::QGenericFieldEditor::updateField(). 00055 { 00056 return _uiIndex; 00057 }
|
|
|
Referenced by osg::QGenericFieldEditor::onReturnPressed(). |
|
|
Referenced by osg::QGenericFieldEditor::updateField(). |
|
|
Definition at line 60 of file OSGQFieldEditor_qt.inl. References _pView. Referenced by getFieldPtr(). 00061 { 00062 return _pView; 00063 }
|
|
|
Definition at line 66 of file OSGQFieldEditor_qt.inl. References _pView. 00067 { 00068 return _pView; 00069 }
|
|
|
Definition at line 72 of file OSGQFieldEditor_qt.inl. References osg::FieldContainerPtrBase::getAspectCPtr(), osg::FieldContainer::getField(), osg::QFieldViewBase::getFieldContainer(), and getFieldView(). Referenced by osg::QGenericFieldEditor::updateEditor(), and osg::QGenericFieldEditor::updateField(). 00073 { 00074 FieldContainer *pFCAsp = getFieldView()->getFieldContainer().getAspectCPtr( 00075 getFieldView()->getAspect()); 00076 00077 return pFCAsp->getField(getFieldView()->getFieldId()); 00078 }
|
|
|
Definition at line 81 of file OSGQFieldEditor_qt.inl. References osg::FieldContainerPtrBase::getAspectCPtr(), osg::FieldContainer::getField(), osg::QFieldViewBase::getFieldContainer(), and getFieldView(). 00082 { 00083 FieldContainer *pFCAsp = getFieldView()->getFieldContainer().getAspectCPtr( 00084 getFieldView()->getAspect()); 00085 00086 return pFCAsp->getField(getFieldView()->getFieldId()); 00087 }
|
|
|
Definition at line 98 of file OSGQFieldEditor_qt.h. Referenced by getFieldView(). |
|
|
Definition at line 99 of file OSGQFieldEditor_qt.h. Referenced by getIndex(), and setIndex(). |
|
|
Definition at line 100 of file OSGQFieldEditor_qt.h. Referenced by activate(), deactivate(), and getActive(). |
1.4.3