VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
taskLaunchSmokeDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
18 
19 class QVBoxLayout;
20 class QRadioButton;
21 
22 namespace makVrf
23 {
24  class DtHeadingEntryWidget;
25 
27  {
28  Q_OBJECT
29 
30  public:
31  //CTOR
32  DtTaskLaunchSmokeDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
33 
34  //DTOR
35  virtual ~DtTaskLaunchSmokeDialog();
36 
38  virtual bool atNearestTarget() const;
39 
41  virtual void setAtNearestTarget(bool);
42 
44  virtual double heading() const;
45 
47  virtual void setHeading(double);
48 
49  protected:
50  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
51 
53  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
54 
55  virtual void setupStatement(const DtSimStatement* stmt);
56 
57  protected:
58  virtual void sendRequest();
59 
60  protected slots:
61  virtual void onTargetTypeChanged();
62 
63  public:
65  QVBoxLayout* myMainLayout;
66 
67  QRadioButton* myAtNearestTargetButton;
68  QRadioButton* myTowardHeadingButton;
70  };
71 
73  {
74  public:
75  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
76  virtual bool supportsType(makVrv::DtDe&, const DtSimTaskMessageType&, const DtSimStatement*) const;
77  };
78 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)