VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setSonarDepthDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include "QObject"
16 
17 class QHBoxLayout;
18 
19 namespace makVrf
20 {
21  class DtDepthEntryWidget;
22  class DtSimpleCheckBoxVariableWidget;
23 
25  {
26  Q_OBJECT
27 
28  public:
29  //CTOR
30  DtSetSonarDepthDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
31 
32  //DTOR
33  virtual ~DtSetSonarDepthDialog();
34 
36  virtual double sonarDepth() const;
37 
39  virtual void setSonarDepth(double);
40 
41  virtual bool useEntityDepth() const;
42 
43  virtual void setUseEntityDepth(bool);
44 
45  protected:
46  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
47 
48  virtual void sendRequest();
49 
51  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
52 
53  protected:
54  virtual void setupStatement(const DtSimStatement*);
55 
56  public:
57  QWidget* myCanvas;
58  QHBoxLayout* myContentLayout;
61  };
62 
64  {
65  public:
66  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
67  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
68  };
69 }
Definition: taskSetDialogInterface.h:65
Definition: baseTaskSetDialogInterface.h:35
Definition: setSonarDepthDialog.h:63
Simple line text entry widget that will allow the user to enter a depth value.
Definition: depthEntryWidget.h:25
Definition: taskSetDialogInterface.h:84
This class is a simple check box item.
Definition: simpleVariableWidget.h:896
QWidget * myCanvas
Definition: setSonarDepthDialog.h:57
QHBoxLayout * myContentLayout
Definition: setSonarDepthDialog.h:58
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
Definition: setSonarDepthDialog.h:24
DtDepthEntryWidget * mySonarDepth
Definition: setSonarDepthDialog.h:59
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:72
DtSimpleCheckBoxVariableWidget * myUseEntityDepth
Definition: setSonarDepthDialog.h:60
#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)