VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
msdlExporter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvUtil/signalslib.h>
13 #include <vlutil/vlFilename.h>
14 #include <QDialog>
16 
17 namespace makVrv
18 {
19  class DtDe;
20 }
21 
22 class DtSimMessage;
23 class QVBoxLayout;
24 class QHBoxLayout;
25 class QTreeWidget;
26 class QFrame;
27 class QLabel;
28 class QTreeWidgetItem;
29 class QComboBox;
30 
31 namespace makVrf
32 {
40  {
41  Q_OBJECT
42 
43  public:
44  //CTOR
45  DtMsdlExporter(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
46 
47  //DTOR
48  virtual ~DtMsdlExporter();
49 
50  public:
55  virtual void exportFile(const QString&);
56 
57  protected:
59  virtual bool exportableObject(const DtEntityType& t) const;
60 
61  virtual void processMsdlSidcMessage(DtSimMessage* m);
62 
65  virtual void processMissingItems();
66 
68  virtual void accept();
69 
71  virtual QComboBox* createSidcSelectionWidget(bool forEntities);
72 
74  virtual void setupMissingEntities();
75 
77  virtual void setupMissingTacticalGraphics();
78 
80  virtual void exportScenarioDescription();
81 
83  virtual void addMissingEntities();
84 
86  virtual void addMissingTacticalGraphics();
87 
88  public:
90 
91  QVBoxLayout* myEntitiesLayout;
93  QFrame* myEntitiesLine;
95 
100 
101  QHBoxLayout* myButtonLayout;
104 
105  protected:
107  DtFilename myMsdlFile;
111 
112  std::map<std::string, QTreeWidgetItem*> myMissingItems;
113 
114  std::map<std::string, std::string> myMissingEntities;
115  std::map<std::string, std::string> myMissingTacticalGraphics;
116  };
117 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)