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 
15 
16 #include <matrix/vlVector.h>
17 
18 class QVBoxLayout;
19 class QRadioButton;
20 
21 namespace makVrf
22 {
23  class DtLocationEntryWidget;
24  class DtAngleEntryWidget;
25  class DtPitchEntryWidget;
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() override;
37 
39  virtual DtVector aimingPoint() const;
40 
42  virtual void setAimingPoint(const DtVector&);
43 
44  protected:
45  virtual QWidget* contents(const std::set<makVrv::DtUniqueID>& data) override;
46 
47  virtual void sendRequest() override;
48 
49  protected:
51  virtual void setupGui(const std::set<makVrv::DtUniqueID>& data) override;
52 
53  protected:
54  virtual void setupStatement(const DtSimStatement*) override;
55  virtual void initializeSelectionFilters() override;
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 
73  {
74  public:
75  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent) override;
76  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const override;
77  };
78 }
Definition: taskSetDialogInterface.h:63
Widget that allows users to select weapons for the given entity.
Definition: weaponSelectionWidget.h:38
DtLocationEntryWidget * myAimingPoint
Definition: setAimingPointDialog.h:62
Definition: setAimingPointDialog.h:72
DtWeaponSelectionWidget * myWeaponsSelectionWidget
Definition: setAimingPointDialog.h:69
Definition: taskSetDialogInterface.h:82
DtPitchEntryWidget * myAimingElevation
Definition: setAimingPointDialog.h:66
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:34
class DtSimStatement:
Definition: simStatement.h:38
QRadioButton * myAimAtObjectButton
Definition: setAimingPointDialog.h:63
Definition: setAimingPointDialog.h:28
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:76
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:65

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)