VR-Forces 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 DtPitchEntryWidget;
27  class DtWeaponSelectionWidget;
28 
30  {
31  Q_OBJECT
32  public:
33  //CTOR
34  DtSetAimingPointDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
35 
36  //DTOR
37  virtual ~DtSetAimingPointDialog();
38 
40  virtual DtVector aimingPoint() const;
41 
43  virtual void setAimingPoint(const DtVector&);
44 
45  protected:
46  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
47 
48  virtual void sendRequest();
49 
50  protected:
52  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
53 
54  protected:
55  virtual void setupStatement(const DtSimStatement*);
56  virtual void initializeSelectionFilters();
57 
58  protected slots:
59  virtual void onAimAtTypeChanged();
60 
61  public:
62  QRadioButton* myAimAtPointButton;
64  QRadioButton* myAimAtObjectButton;
65  QRadioButton* myAimAtAngleButton;
68  QRadioButton* myCeaseAimingButton;
69 
71 
72  protected:
74  };
75 
77  {
78  public:
79  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
80  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
81  };
82 }
Definition: taskSetDialogInterface.h:65
Widget that allows users to select weapons for the given entity.
Definition: weaponSelectionWidget.h:38
DtLocationEntryWidget * myAimingPoint
Definition: setAimingPointDialog.h:63
DtMapFocusHandler myMapFocusHandler
Definition: setAimingPointDialog.h:73
Definition: setAimingPointDialog.h:76
DtWeaponSelectionWidget * myWeaponsSelectionWidget
Definition: setAimingPointDialog.h:70
Definition: taskSetDialogInterface.h:84
DtPitchEntryWidget * myAimingElevation
Definition: setAimingPointDialog.h:67
QRadioButton * myAimAtAngleButton
Definition: setAimingPointDialog.h:65
QRadioButton * myAimAtPointButton
Definition: setAimingPointDialog.h:62
QRadioButton * myCeaseAimingButton
Definition: setAimingPointDialog.h:68
Simple line text entry widget that will allow the user to enter a heading value.
Definition: angleEntryWidget.h:26
Definition: baseFilteredListViewTaskSetDialog.h:35
class DtSimStatement:
Definition: simStatement.h:38
QRadioButton * myAimAtObjectButton
Definition: setAimingPointDialog.h:64
Definition: setAimingPointDialog.h:29
This class will manage filtered list views for the basic purpose of allowing a single list view in th...
Definition: mapFocusHandler.h:77
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:72
Definition: locationEntryWidget.h:47
Simple line text entry widget that will allow the user to enter a Pitch value.
Definition: pitchEntryWidget.h:23
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
DtAngleEntryWidget * myAimingAzimuth
Definition: setAimingPointDialog.h:66

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)