![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2009 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: DtCigiEntityMappingWidget.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvCigiQt/vrvCigiQt.h> 00016 #include <vrvCigiQt/DtCigiEntityMappingInterface.h> 00017 #include <vrvCigiQt/DtCigiSettingsWidget.h> 00018 #include <QtGui/QWidget> 00019 00020 class QDialogButtonBox; 00021 00022 namespace makVrv 00023 { 00024 00025 class DtMapEditorWidget; 00026 class DtCigiEntityMappingLogic; 00027 00032 class DT_DLL_VRVCIGIQT DtCigiEntityMappingWidget : public DtCigiSettingsWidget, 00033 public DtCigiEntityMappingInterface 00034 { 00035 Q_OBJECT; 00036 public: 00038 DtCigiEntityMappingWidget(DtDe& de,QWidget* parent, const QString& pageTitle); 00039 00041 virtual ~DtCigiEntityMappingWidget(); 00042 00044 virtual void askUserForEntityTypeMapping(); 00045 00047 virtual void askUserForArtPartMapping(); 00048 00050 virtual void enableArtPartMapping(); 00051 00053 virtual void disableArtPartMapping(); 00054 00056 virtual void warnUserOfDuplicateEntityType(); 00057 00059 virtual void warnUserOfDuplicateArtPartId(); 00060 00061 protected: 00062 void setupGui(); 00063 00064 protected: 00065 DtCigiEntityMappingLogic* myLogic; 00066 DtMapEditorWidget* myEntTypeMapWidget; 00067 DtMapEditorWidget* myArtPartMapWidget; 00068 QDialogButtonBox* myEntityTypeMappingButtons; 00069 }; 00070 00071 }