![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2007 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: uiVectorElement.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DTUIVECTORELEMENT_H_ 00013 #define DTUIVECTORELEMENT_H_ 00014 00015 #include "entityEditorImpl/uiElement.h" 00016 #include <matrix/vlVector.h> 00017 00018 class DtLocationEntryWidget; 00019 00020 #include "entityEditorImpl/entityEditorImplDefines.h" 00021 00022 class DT_DLL_entityeditorimpl DtUiVectorElement : public DtUiElement 00023 { 00024 public: 00025 00027 DtUiVectorElement 00028 ( 00029 const DtString& name, 00030 DtReaderWriterRegistry* const parentRegistry = NULL 00031 ); 00032 00034 virtual ~DtUiVectorElement(); 00035 00037 DtUiVectorElement(const DtUiVectorElement& orig); 00038 00040 DtUiVectorElement& operator=(const DtUiVectorElement& orig); 00041 00042 protected: 00043 virtual QWidget* createControls(QWidget*); 00044 00045 protected: 00046 virtual DtUiElement* clone(); 00047 virtual void decorateElement(); 00048 virtual void setFromParameters(DtReaderWriter* parentRw); 00049 virtual void elementChanged(); 00050 virtual void setModified(QWidget* l, bool modified); 00051 00052 protected: 00053 DtLocationEntryWidget* myVector; 00054 }; 00055 00056 #endif