![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2009 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: DtCigiComponentMappingWidget.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvCigiQt/vrvCigiQt.h> 00015 #include <vrvCigiQt/DtCigiComponentMappingInterface.h> 00016 #include <vrvCigiQt/DtCigiSettingsWidget.h> 00017 #include <makArchives/DtCigiSettingsRecord.h> 00018 #include <QtGui/QWidget> 00019 00020 class QDialogButtonBox; 00021 00022 namespace makVrv 00023 { 00024 class DtMapEditorWidget; 00025 class DtCigiComponentMappingLogic; 00026 00030 class DT_DLL_VRVCIGIQT DtCigiComponentMappingWidget : public DtCigiSettingsWidget, 00031 public DtCigiComponentMappingInterface 00032 { 00033 Q_OBJECT; 00034 public: 00036 DtCigiComponentMappingWidget(makArchives::DtCigiComponentClass compClass, 00037 DtDe& de, QWidget* parent, const QString& pageTitle); 00038 00040 virtual ~DtCigiComponentMappingWidget(); 00041 00043 virtual void askUserForComponentMapping(); 00044 00047 virtual void warnUserOfDuplicateComponentId(); 00048 00049 protected: 00051 void setupGui(); 00052 00053 protected: 00054 DtCigiComponentMappingLogic* myLogic; 00055 DtMapEditorWidget* myMapWidget; 00056 QDialogButtonBox* myAddButtons; 00057 std::string myComponentName; 00058 }; 00059 }