![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: uiModelResolutionConfigElement.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef uiModelResolutionConfigElement_h 00015 #define uiModelResolutionConfigElement_h 00016 00017 #include "entityEditorImpl/uiItemComponent.h" 00018 #include "vrfutil/rwString.h" 00019 #include "vrfutil/rwStringList.h" 00020 #include <list> 00021 00022 class DtVrfObjectParameters; 00023 class DtComponentSystemDefinition; 00024 class DtComponentSystemDescriptor; 00025 class DtAggregateModelResolutionDescriptor; 00026 00030 00031 #include "entityEditorImpl/entityEditorImplDefines.h" 00032 00033 class DT_DLL_entityeditorimpl DtUiModelResolutionConfigurationElement : public DtUiItemComponent 00034 { 00035 public: 00037 DtUiModelResolutionConfigurationElement(const DtString& name, 00038 DtReaderWriterRegistry* const parentRegistry = NULL); 00039 00041 virtual ~DtUiModelResolutionConfigurationElement(); 00042 00044 DtUiModelResolutionConfigurationElement(const DtUiModelResolutionConfigurationElement& orig); 00045 00047 DtUiModelResolutionConfigurationElement& operator=(const DtUiModelResolutionConfigurationElement& orig); 00048 00050 virtual void objectParametersModified(); 00051 00054 virtual QWidget* createControls(QWidget* parent); 00055 00056 protected: 00057 00060 virtual void updateAggregatedSystems(); 00061 00064 virtual void updateDisaggregatedSystems(); 00065 00066 virtual const DtComponentSystemDefinition* lookupSystemDefinition( 00067 const DtComponentSystemDescriptor* descriptor) const; 00068 00071 virtual DtAggregateModelResolutionDescriptor* 00072 modelResolutionDescriptor(const DtString& name) const; 00073 00075 std::list<DtSymbolString> systemsWithCategory(const DtString& category); 00076 00078 virtual DtUiElement* clone(); 00079 00082 virtual void setFromParameters(DtReaderWriter* parentRw); 00083 00084 protected: 00085 00087 DtRwString myAggregatedSystemCategory; 00088 00090 DtRwString myDisaggregatedSystemCategory; 00091 00093 DtRwStringList myAggregatedComponents; 00094 00096 DtRwStringList myDisaggregatedComponents; 00097 }; 00098 00099 #endif