![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: uiSingleSystemElement.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef uiSingleSystemElement_h 00015 #define uiSingleSystemElement_h 00016 00017 #include "entityEditorImpl/uiSystemElement.h" 00018 #include "entityEditorImpl/systemPropertyEditDialog.h" 00019 #include "vrfutil/rwString.h" 00020 00021 class QComboBox; 00022 class DtComponentSystemDescriptor; 00023 class QAbstractButton; 00024 class QGroupBox; 00025 00026 #include "entityEditorImpl/entityEditorImplDefines.h" 00027 00028 class DT_DLL_entityeditorimpl DtUiSingleSystemElement : public DtUiSystemElement 00029 { 00030 public: 00031 00033 DtUiSingleSystemElement(const DtString& name, 00034 DtReaderWriterRegistry* const parentRegistry = NULL); 00035 00037 virtual ~DtUiSingleSystemElement(); 00038 00040 DtUiSingleSystemElement(const DtUiSingleSystemElement& orig); 00041 00043 DtUiSingleSystemElement& operator=(const DtUiSingleSystemElement& orig); 00044 00045 virtual void openPropertyEditWindow(); 00046 00047 virtual bool isModified() const; 00048 00049 protected: 00050 virtual void setFromParameters(DtReaderWriter* parentRw); 00051 virtual DtReaderWriterRegistryData* value(DtReaderWriter* parentRw); 00052 00053 //virtual QWidget* createControls(QWidget*); 00054 virtual QWidget* createDataEntryElement(QWidget* parent); 00055 00056 virtual void elementChanged(); 00057 00058 virtual void findAvailableSystems(); 00059 virtual QString getOpdEditorArguments() const; 00060 00061 virtual void processUiEvent(const DtUiElementEvent&); 00062 00063 protected: 00064 virtual DtUiElement* clone(); 00065 00066 protected: 00067 QComboBox* myCombo; 00068 DtComponentSystemDescriptor* mySystemDescriptor; 00069 DtSystemPropertyEditDialogShdPtr mySystemPropertyDialog; 00070 QAbstractButton* myPropertiesButton; 00071 QAbstractButton* myLaunchOpdEditor; 00072 00073 DtRwString myNoneSelectedText; 00074 }; 00075 00076 #endif