![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: copyFormationsDialog.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DTCOPYFORMATIONSDIALOG_H_ 00013 #define DTCOPYFORMATIONSDIALOG_H_ 00014 00015 #include <QtGui/QDialog> 00016 #include "entityEditorImpl/entityEditorImplDefines.h" 00017 00018 class QComboBox; 00019 class QListWidget; 00020 class QPushButton; 00021 class DtFormationTable; 00022 class DtFormationTableEntry; 00023 00024 class DT_DLL_entityeditorimpl DtCopyFormationsDialog : public QDialog 00025 { 00026 Q_OBJECT 00027 00028 public: 00029 DtCopyFormationsDialog(QWidget*); 00030 00031 virtual void init(); 00032 00033 virtual void merge(DtFormationTable*, QStringList& changed); 00034 00035 protected slots: 00036 virtual void itemSelectionChanged(); 00037 virtual void aggregateChanged(); 00038 virtual void selectAll(); 00039 virtual void clearAll(); 00040 00041 protected: 00042 virtual void mergeEntry(DtFormationTable*, DtFormationTableEntry*); 00043 00044 protected: 00045 QComboBox* myAggregates; 00046 QListWidget* myFormations; 00047 QPushButton* myOK; 00048 }; 00049 00050 #endif