VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
csvImporter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #if !defined(Q_MOC_RUN)
12 
13 #include <vrfutil/csvParser.h>
17 #include <vrfGuiCoreQt/csvParserMapDialogUi.hpp>
19 #include <vlpi/disEnums.h>
20 #endif
21 
22 #include <QtWidgets/QTimeEdit>
23 #include <QtCore/QStringList>
24 
26 class DtSimMessage;
28 
29 namespace makVrv
30 {
31  class DtDe;
32 }
33 
34 namespace makVrf
35 {
36  class DtIssueEntityPlanWidget;
37  class DtOverlayParentEntryWidget;
38  class DtEntityCreatePalette;
39 
42  {
43 
44  Q_OBJECT
45 
46  public:
47 
50  QWidget* parent, const Qt::WindowFlags& flags);
51 
53  virtual ~DtCsvImporter();
54 
55  virtual void initializeObjectMap();
56  virtual void initializeForces();
57  virtual void setupGui();
58 
59  virtual void slot_createObjectType(const makVrf::DtEntityMapperKey& entType);
60 
61  protected slots:
62 
63  virtual void createObjectPalette(QTreeWidgetItem* i, int col);
64  virtual void createObjectPalette();
65  virtual void onForceSelected();
66 
67  public:
68 
69  Ui_CsvParserMapDialog myUiImpl;
70 
71  protected:
72  virtual void enableOk();
73 
75  virtual void importScenarioDescription();
76 
77  virtual void updateKindBox(int kind);
78 
79  protected slots:
81  virtual void kindChanged(int);
82  virtual void mapTypes(bool changed);
83 
84  protected:
85 
88  DtEntityType myCurrentEntityType;
91  std::string myCurrentTypeName;
92  };
93 }
94 
Definition: entityMapperKey.h:23
Dialog to allow user to customize object parser when inputing a file for scenario laydown...
Definition: csvImporter.h:41
Ui_CsvParserMapDialog myUiImpl
Definition: csvImporter.h:69
A widget class for showing different items of supplied types to the logic tthat can be created...
Definition: entityCreatePalette.h:68
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
This class is the interface for a scenario description importer/exporter. Subclasses will implement t...
Definition: scenarioDescriptionImporterExporter.h:27
DtEntityType myCurrentEntityType
Definition: csvImporter.h:88
int myCurrentForce
Definition: csvImporter.h:89
Dialog to allow user to customize object parser when inputing a file for scenario laydown...
Definition: objectImporter.h:38
File: simMsg.h.
Definition: simMessage.h:35
Base class to provide boost signal/slot management.
std::string myCurrentTypeName
Definition: csvImporter.h:91
DtEntityCreatePalette * myObjectPalettePanel
Definition: csvImporter.h:87
class DtIfVrfObjectCreated:
Definition: ifVrfObjectCreated.h:32
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
bool myUseMultiTypes
Definition: csvImporter.h:86
int myCurrentKind
Definition: csvImporter.h:90

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)