VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
taskTurnToHeadingDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
18 
19 class QLabel;
20 class QGridLayout;
21 class QComboBox;
22 
23 namespace makVrf
24 {
25  class DtAngleEntryWidget;
26 
28  {
29  Q_OBJECT
30  public:
31  //CTOR
32  DtTaskTurnToHeadingDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
33 
34  //DTOR
35  virtual ~DtTaskTurnToHeadingDialog();
36 
38  virtual double heading() const;
39 
41  virtual void setHeading(double);
42 
44  virtual int mode() const;
45 
47  virtual void setMode(int);
48 
49  protected:
50  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
51 
52  virtual void sendRequest();
53 
54  protected:
56  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
57 
58  virtual void setupStatement(const DtSimStatement*);
59 
60  public:
61  QWidget* myCanvas;
62  QGridLayout* myContentLayout;
64 
67  };
68 
70  {
71  public:
72  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
73  virtual bool supportsType(makVrv::DtDe&, const DtSimTaskMessageType&, const DtSimStatement*) const;
74  };
75 }
Definition: baseTaskSetDialogInterface.h:35
QWidget * myCanvas
Definition: taskTurnToHeadingDialog.h:61
Definition: taskSetDialogInterface.h:84
QGridLayout * myContentLayout
Definition: taskTurnToHeadingDialog.h:62
Contains the DtUnitConverterCollection class declaration.
QComboBox * myMode
Definition: taskTurnToHeadingDialog.h:66
QLabel * myModeLabel
Definition: taskTurnToHeadingDialog.h:65
DtAngleEntryWidget * myHeading
Definition: taskTurnToHeadingDialog.h:63
Definition: taskTurnToHeadingDialog.h:27
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
Simple line text entry widget that will allow the user to enter a heading value.
Definition: angleEntryWidget.h:26
Definition: taskTurnToHeadingDialog.h:69
Class that is used as a template for task/set dialogs.
Definition: taskSetDialogInterface.h:46
class DtSimStatement:
Definition: simStatement.h:38
const char int mode
Definition: ioapi.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:72
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22

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)