#include <OSGQFieldView_qt.h>
Inheritance diagram for osg::QFieldViewBase:

Public Slots | |
| virtual void | beginEdit (UInt32 uiIndex)=0 |
| virtual void | endEdit (void)=0 |
Signals | |
| void | clicked (FieldContainerPtr pFC, UInt32 uiFieldId, UInt32 uiIndex, ButtonState button) |
| void | doubleClicked (FieldContainerPtr pFC, UInt32 uiFieldId, UInt32 uiIndex, ButtonState button) |
Public Member Functions | |
| QFieldViewBase (FieldContainerPtr pFC, UInt32 uiFieldId, UInt32 uiAspect, QWidget *parent, const char *name=NULL) | |
| virtual | ~QFieldViewBase (void)=0 |
| virtual void | setAll (FieldContainerPtr pFC, UInt32 uiFieldId, UInt32 uiAspect) |
| virtual void | setFieldContainer (FieldContainerPtr pFC) |
| FieldContainerPtr & | getFieldContainer (void) |
| const FieldContainerPtr & | getFieldContainer (void) const |
| virtual void | setFieldId (UInt32 uiFieldId) |
| UInt32 | getFieldId (void) const |
| virtual void | setAspect (UInt32 uiAspect) |
| UInt32 | getAspect (void) const |
| Field * | getFieldPtr (void) |
| const Field * | getFieldPtr (void) const |
| virtual QSize | sizeHint (void) const =0 |
| virtual QSize | minimumSizeHint (void) const =0 |
| virtual QSizePolicy | sizePolicy (void) const =0 |
Protected Slots | |
| virtual void | onEditorDone (void)=0 |
| virtual void | onFieldUpdated (UInt32 uiIndex)=0 |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *pEvent)=0 |
Private Types | |
| typedef QWidget | Inherited |
Private Attributes | |
| FieldContainerPtr | _pFieldCon |
| UInt32 | _uiFieldId |
| UInt32 | _uiAspect |
Definition at line 66 of file OSGQFieldView_qt.h.
|
|
Reimplemented in osg::QSFieldView, and osg::QMFieldView. Definition at line 117 of file OSGQFieldView_qt.h. |
|
||||||||||||||||||||||||
|
Definition at line 70 of file OSGQFieldView_qt.cpp. 00074 : Inherited (parent, name), 00075 _pFieldCon(pFC ), 00076 _uiFieldId(uiFieldId ), 00077 _uiAspect (uiAspect ) 00078 { 00079 }
|
|
|
Definition at line 81 of file OSGQFieldView_qt.cpp.
|
|
||||||||||||||||
|
Reimplemented in osg::QSFieldView, and osg::QMFieldView. Definition at line 86 of file OSGQFieldView_qt.cpp. References _pFieldCon, _uiAspect, and _uiFieldId. Referenced by osg::QMFieldView::setAll(), and osg::QSFieldView::setAll(). 00088 { 00089 _pFieldCon = pFC; 00090 _uiFieldId = uiFieldId; 00091 _uiAspect = uiAspect; 00092 }
|
|
|
Reimplemented in osg::QSFieldView, and osg::QMFieldView. Definition at line 95 of file OSGQFieldView_qt.cpp. References _pFieldCon. Referenced by osg::QMFieldView::setFieldContainer(), and osg::QSFieldView::setFieldContainer(). 00096 { 00097 _pFieldCon = pFC; 00098 }
|
|
|
Definition at line 44 of file OSGQFieldView_qt.inl. References _pFieldCon. Referenced by osg::QFieldValueLabelBase::getFieldContainer(), osg::QFieldEditorBase::getFieldPtr(), osg::QMFieldView::mouseDoubleClickEvent(), osg::QSFieldView::mouseDoubleClickEvent(), osg::QMFieldView::mousePressEvent(), osg::QSFieldView::mousePressEvent(), osg::QMFieldView::setFieldContainer(), and osg::QSFieldView::setFieldContainer(). 00045 { 00046 return _pFieldCon; 00047 }
|
|
|
Definition at line 50 of file OSGQFieldView_qt.inl. References _pFieldCon. 00051 { 00052 return _pFieldCon; 00053 }
|
|
|
Reimplemented in osg::QSFieldView, and osg::QMFieldView. Definition at line 102 of file OSGQFieldView_qt.cpp. References _uiFieldId. Referenced by osg::QMFieldView::setFieldId(), and osg::QSFieldView::setFieldId(). 00103 { 00104 _uiFieldId = uiFieldId; 00105 }
|
|
|
Definition at line 56 of file OSGQFieldView_qt.inl. References _uiFieldId. Referenced by osg::QFieldValueLabelBase::getFieldId(), osg::QMFieldView::mouseDoubleClickEvent(), osg::QSFieldView::mouseDoubleClickEvent(), osg::QMFieldView::mousePressEvent(), osg::QSFieldView::mousePressEvent(), osg::QMFieldView::setFieldId(), and osg::QSFieldView::setFieldId(). 00057 { 00058 return _uiFieldId; 00059 }
|
|
|
Reimplemented in osg::QSFieldView, and osg::QMFieldView. Definition at line 108 of file OSGQFieldView_qt.cpp. References _uiAspect. Referenced by osg::QMFieldView::setAspect(), and osg::QSFieldView::setAspect(). 00109 { 00110 _uiAspect = uiAspect; 00111 }
|
|
|
Definition at line 62 of file OSGQFieldView_qt.inl. References _uiAspect. Referenced by osg::QFieldValueLabelBase::getAspect(), osg::QMFieldView::setAspect(), and osg::QSFieldView::setAspect(). 00063 { 00064 return _uiAspect; 00065 }
|
|
|
Definition at line 68 of file OSGQFieldView_qt.inl. References _pFieldCon, _uiAspect, _uiFieldId, osg::FieldContainerPtrBase::getAspectCPtr(), and osg::FieldContainer::getField(). Referenced by osg::QMFieldView::beginEdit(), osg::QFieldLabelFactory::createLabel(), osg::QFieldContainerView::fillTable(), osg::QFieldValueLabelBase::getFieldPtr(), osg::QMFieldView::initScrollbar(), osg::QMFieldView::mouseDoubleClickEvent(), osg::QMFieldView::mousePressEvent(), osg::QMFieldView::redrawChanged(), and osg::QMFieldView::sizeHint(). 00069 { 00070 FieldContainer *pFCAsp = _pFieldCon.getAspectCPtr(_uiAspect); 00071 00072 return pFCAsp->getField(_uiFieldId); 00073 }
|
|
|
Definition at line 76 of file OSGQFieldView_qt.inl. References _pFieldCon, _uiAspect, _uiFieldId, osg::FieldContainerPtrBase::getAspectCPtr(), and osg::FieldContainer::getField(). 00077 { 00078 FieldContainer *pFCAsp = _pFieldCon.getAspectCPtr(_uiAspect); 00079 00080 return pFCAsp->getField(_uiFieldId); 00081 }
|
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. |
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. |
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. |
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. Referenced by osg::QFieldContainerView::beginEdit(). |
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. Referenced by osg::QFieldContainerView::endEdit(). |
|
||||||||||||||||||||
|
Referenced by osg::QMFieldView::mousePressEvent(), and osg::QSFieldView::mousePressEvent(). |
|
||||||||||||||||||||
|
Referenced by osg::QMFieldView::mouseDoubleClickEvent(), and osg::QSFieldView::mouseDoubleClickEvent(). |
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. |
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. |
|
|
Implemented in osg::QSFieldView, and osg::QMFieldView. |
|
|
Definition at line 119 of file OSGQFieldView_qt.h. Referenced by getFieldContainer(), getFieldPtr(), setAll(), and setFieldContainer(). |
|
|
Definition at line 120 of file OSGQFieldView_qt.h. Referenced by getFieldId(), getFieldPtr(), setAll(), and setFieldId(). |
|
|
Definition at line 121 of file OSGQFieldView_qt.h. Referenced by getAspect(), getFieldPtr(), setAll(), and setAspect(). |
1.4.3