VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
minefieldDefinitionDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 //\file DtMinefieldDefinitionDialog.h
7 //\brief Contains DtMinefieldDefinitionDialog class.
8 
9 #pragma once
10 
12 #include <vrvCore/DtUniqueID.h>
13 #include <string>
14 #include <boost/signals2.hpp>
15 
19 class QDialog;
20 
21 namespace makVrf
22 {
23  class DtMinefieldDefinitionDialog;
24  class DtMinefieldCompositionWidget;
25 
28  {
29  public:
32 
35 
36 
40  virtual void processPopulateDialog(const makVrv::DtUniqueID& selectedUniqueID);
41 
43  virtual void setupGui();
44 
45  virtual void setShoePropertiesDialogBeforeCreate(bool show);
46 
47  protected:
48 
50  virtual void processObjectCreation();
51 
53  virtual void processObjectUpdate();
54 
56  virtual void objectCreated();
57 
58  virtual void populateDialogWithStmt(const DtCreateObjectCommand* cmd);
59 
60  protected:
61  boost::signals2::connection myUpdateConnection;
62  };
63 
65  {
66  Q_OBJECT
67 
68  public:
70  DtMinefieldDefinitionDialog(makVrv::DtDe& de, QWidget* parent, const QString& title = "", DtDialogInteractionMode mode = DtCreationMode);
71 
73  virtual ~DtMinefieldDefinitionDialog();
74 
76  virtual std::string composeExtendedData();
77 
79  virtual void setupFromExtendedData(const std::map<std::string, std::string>& extendedData);
80 
81  protected:
82  virtual void setupGui();
83  virtual bool showAlpha() const;
84 
85  virtual DtShapeObjectDefinitionDialogLogic* createLogic();
86 
87  virtual void populateOverlays();
88 
89  virtual void init(const DtEntityType& entityType, const QString& title, bool forPlan,
91 
92  public:
93  QWidget * myExtension;
96  };
97 
100  {
101  public:
103  virtual DtCreateAndEditObjectDialogInterface* createDialog(makVrv::DtDe& de, QWidget* parent, const QString& title,
105  };
106 }
QWidget * myExtension
Definition: minefieldDefinitionDialog.h:93
bool mySelfDestructType
Definition: minefieldDefinitionDialog.h:94
Dialog to allow user to customize object parser when inputing a file for scenario laydown...
Definition: minefieldCompositionWidget.h:32
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
DtSimCommand subclass for creating a new VrfObjects.
Definition: createObjectCommand.h:36
DtEditingType
Definition: vrfObjectManipulationHandlerBaseClass.h:44
This class implements the logic behind the DtShapeObjectDefinitionDialog.
Definition: shapeObjectDefinitionDialog.h:48
Definition: createAndEditObjectDialogInterface.h:29
Definition: minefieldDefinitionDialog.h:64
!!!!!!!!! DtMinefieldDefinitionDialogCreator
Definition: minefieldDefinitionDialog.h:99
Logic that is used to populate and receive updates from the weather extension.
Definition: minefieldDefinitionDialog.h:27
DtDialogInteractionMode
Definition: createAndEditObjectDialogInterface.h:34
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
boost::signals2::connection myUpdateConnection
Definition: minefieldDefinitionDialog.h:61
Definition: shapeObjectDefinitionDialog.h:642
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
const char int mode
Definition: ioapi.h:38
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
This class defines the dialog that allows the creation/update of point objects in the scenario (entit...
Definition: shapeObjectDefinitionDialog.h:250
DtMinefieldCompositionWidget * myCompositionWidget
Definition: minefieldDefinitionDialog.h:95

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)