VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
releaseBombOnLocationTaskDialog.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 DtLocationEntryWidget;
17 
21  {
22  Q_OBJECT
23  public:
25  DtReleaseBombOnLocationTaskDialog(makVrv::DtDe& de, QWidget* parent,
26  const Qt::WindowFlags& flags = 0);
27 
30 
32  virtual void disable(const QString& reason);
33 
35  virtual void enable();
36 
37  protected:
39  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
40 
43  virtual void sendRequest();
44 
47  virtual void populateTaskFromDialog(DtReleaseBombTask* task);
48 
51  virtual void setupStatement(const std::vector<makVrv::DtSimEntry*>& data,
52  const DtSimStatement* stmt);
53 
54  public:
56 
57  protected:
59 
60  };
61 
65  {
66  public:
68  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
69  bool supportsType(makVrv::DtDe&, const DtSimTaskMessageType&, const DtSimStatement*) const;
70  };
71 }
72 
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:84
Class that is used as a template for task/set dialogs.
Definition: taskSetDialogInterface.h:46
DtLocationEntryWidget * myLocation
Definition: releaseBombOnLocationTaskDialog.h:55
class DtSimStatement:
Definition: simStatement.h:38
Creator class for DtReleaseBombOnLocationTaskDialog.
Definition: releaseBombOnLocationTaskDialog.h:63
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
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
DtMapFocusHandler myMapFocusHandler
Definition: releaseBombOnLocationTaskDialog.h:58
Task dialog for release bomb on (a user specified) location.
Definition: releaseBombOnLocationTaskDialog.h:19

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)