VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
releaseBombOnTargetTaskDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 
14 namespace makVrf
15 {
16  class DtLocationReferenceEntryWidget;
17 
22  {
23  Q_OBJECT
24  public:
26  DtReleaseBombOnTargetTaskDialog(makVrv::DtDe& de, QWidget* parent,
27  const Qt::WindowFlags& flags = 0);
28 
30  virtual ~DtReleaseBombOnTargetTaskDialog() override;
31 
33  virtual void disable(const QString& reason) override;
34 
36  virtual void enable() override;
37 
38  protected:
40  virtual QWidget* contents(const std::set<makVrv::DtUniqueID>& data) override;
41 
44  virtual void sendRequest() override;
45 
48  virtual void populateTaskFromDialog(DtReleaseBombTask* task) override;
49 
51  virtual void setupStatement(const std::set<makVrv::DtUniqueID>& data, const DtSimStatement* stmt) override;
52 
54  virtual void initializeSelectionFilters();
55 
57  virtual void addPlanVariablesFilter();
58 
59  virtual bool usesGuidedMunitions(void) override;
60 
61  protected:
63  };
64 
68  {
69  public:
71  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent) override;
72  virtual bool supportsType(makVrv::DtDe&, const DtSimTaskMessageType&, const DtSimStatement*) const override;
73  };
74 }
75 
DtReleaseBombTask dialog is the base class for all the other release bomb task dialogs. It allows the user to configure the parameters which are common to all the tasks; the ammo selection and detonation proximity.
Definition: releaseBombTaskDialog.h:27
DtReleaseBombTask is the base class for all the other release bomb tasks. It is never used to launch ...
Definition: releaseBombTask.h:19
Definition: taskSetDialogInterface.h:82
This widget will allow the user to pick either a destination location or destination object...
Definition: locationReferenceEntryWidget.h:33
Creator class for DtReleaseBombOnTargetTaskDialog.
Definition: releaseBombOnTargetTaskDialog.h:66
Class that is used as a template for task/set dialogs.
Definition: taskSetDialogInterface.h:44
Task dialog for release bomb on target; launches a bomb which is aimed at a named object...
Definition: releaseBombOnTargetTaskDialog.h:20
class DtSimStatement:
Definition: simStatement.h:38
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
DtLocationReferenceEntryWidget * myTarget
Definition: releaseBombOnTargetTaskDialog.h:62
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22

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)