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