VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setAimingPointDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
17 #include <matrix/vlVector.h>
18 
19 class QVBoxLayout;
20 class QRadioButton;
21 
22 namespace makVrf
23 {
24  class DtLocationEntryWidget;
25  class DtAngleEntryWidget;
26  class DtWeaponSelectionWidget;
27 
29  {
30  Q_OBJECT
31  public:
32  //CTOR
33  DtSetAimingPointDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
34 
35  //DTOR
36  virtual ~DtSetAimingPointDialog();
37 
39  virtual DtVector aimingPoint() const;
40 
42  virtual void setAimingPoint(const DtVector&);
43 
44  protected:
45  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
46 
47  virtual void sendRequest();
48 
49  protected:
51  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
52 
53  protected:
54  virtual void setupStatement(const DtSimStatement*);
55  virtual void initializeSelectionFilters();
56 
57  protected slots:
58  virtual void onAimAtTypeChanged();
59 
60  public:
61  QRadioButton* myAimAtPointButton;
63  QRadioButton* myAimAtObjectButton;
64  QRadioButton* myAimAtAngleButton;
67  QRadioButton* myCeaseAimingButton;
68 
70 
71  protected:
73  };
74 
76  {
77  public:
78  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
79  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
80  };
81 }
Definition: taskSetDialogInterface.h:65
Widget that allows users to select weapons for the given entity.
Definition: weaponSelectionWidget.h:36
DtLocationEntryWidget * myAimingPoint
Definition: setAimingPointDialog.h:62
DtMapFocusHandler myMapFocusHandler
Definition: setAimingPointDialog.h:72
Definition: setAimingPointDialog.h:75
DtWeaponSelectionWidget * myWeaponsSelectionWidget
Definition: setAimingPointDialog.h:69
Definition: taskSetDialogInterface.h:84
QRadioButton * myAimAtAngleButton
Definition: setAimingPointDialog.h:64
QRadioButton * myAimAtPointButton
Definition: setAimingPointDialog.h:61
QRadioButton * myCeaseAimingButton
Definition: setAimingPointDialog.h:67
Simple line text entry widget that will allow the user to enter a heading value.
Definition: angleEntryWidget.h:26
Definition: baseFilteredListViewTaskSetDialog.h:35
DtAngleEntryWidget * myAimingElevation
Definition: setAimingPointDialog.h:66
class DtSimStatement:
Definition: simStatement.h:38
QRadioButton * myAimAtObjectButton
Definition: setAimingPointDialog.h:63
Definition: setAimingPointDialog.h:28
This class will manage filtered list views for the basic purpose of allowing a single list view in th...
Definition: mapFocusHandler.h:74
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
Definition: locationEntryWidget.h:45
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
DtAngleEntryWidget * myAimingAzimuth
Definition: setAimingPointDialog.h:65

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)