![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtRemappingDialog.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <vrfGuiCoreQt/DtRemappingDialogInterface.h> 00018 00019 #include <QtGui/QDialog> 00020 00021 class DtBackendMap; 00022 class QComboBox; 00023 class QGridLayout; 00024 class QHBoxLayout; 00025 class QLabel; 00026 class QTable; 00027 class QVBoxLayout; 00028 00029 namespace makVrf 00030 { 00031 class DtRemappingDialogLogic; 00032 00033 class DT_DLL_VRFGUICOREQT DtRemappingDialog : public QDialog, public DtRemappingDialogInterface 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 //CTOR 00039 DtRemappingDialog(makVrv::DtDe& de, DtBackendMap*, QWidget* parent = 0, const Qt::WindowFlags& f = 0); 00040 00041 //DTOR 00042 virtual ~DtRemappingDialog(); 00043 00044 public: 00046 virtual void setupGui(); 00047 00049 virtual QComboBox* addMapTo(const QString&, int row); 00050 00052 virtual void addToMapAll(const QString&); 00053 00055 virtual void removeFromMapAll(const QString&); 00056 00057 protected slots: 00058 virtual void mapAllComboBoxSelection(const QString& string); 00059 00060 protected: 00061 virtual void accept(); 00062 virtual void reject(); 00063 00064 public: 00065 QLabel* myMainLabel; 00066 00067 QLabel* myMapAllLabel; 00068 QComboBox* myMapAllComboBox; 00069 00070 QPushButton* myOkPushButton; 00071 QPushButton* myCancelPushButton; 00072 00073 QVBoxLayout* myMainLayout; 00074 QGridLayout* myEntryLayout; 00075 QHBoxLayout* myOkCancelLayout; 00076 00077 protected: 00078 makVrv::DtDe& myDe; 00079 DtRemappingDialogLogic* myLogic; 00080 }; 00081 }