VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simulationCommandStealthCommand.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
17 class QComboBox;
18 class QLabel;
19 class QVBoxLayout;
20 class QHBoxLayout;
21 
22 namespace makVrf
23 {
24  class DtScriptedTaskDialog;
25 
27  {
28  public:
31 
32  virtual void setObject(const DtUUID&);
33  virtual DtUUID object() const;
34 
35  virtual DtSimCommandObjectWrapper* clone() const;
36  };
37 
40  {
41  Q_OBJECT
42 
43  public:
44  //CTOR
45  DtSimulationCommandStealthCommandWidget(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
46 
47  //DTOR
49 
50  protected:
51 
52  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
53 
54  virtual void sendRequest();
55  virtual void setupStatement(const DtSimStatement*);
56  virtual void changeEvent(QEvent* event);
57 
58  protected:
59  virtual bool wantsSelectionOfObjectInCommandMode(const std::vector<makVrv::DtSimEntry*>&) const;
60  virtual void initializeItems(const std::vector<makVrv::DtSimEntry*>& data);
61  virtual bool valid() const;
62  virtual void validate();
63  virtual void resizeWidgetToContents();
64  virtual void showEvent(QShowEvent*);
65 
66  protected slots:
67  virtual void stealthCommandChanged();
68 
69  public:
70  QWidget* myCanvas;
71  QVBoxLayout* myMainLayout;
76 
78 
79  protected:
81  };
82 
84  {
85  public:
86  virtual DtSimulationCommandDialogInterface* create(makVrv::DtDe&, QWidget* parent);
87  virtual bool supportsType(makVrv::DtDe&, const DtSimCommandMessageType&, const DtSimStatement*) const;
88  virtual DtUUID objectFromStatement(makVrv::DtDe&, const DtSimCommand*) const;
89  };
90 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Definition: simulationCommandStealthCommand.h:26
!!!!!!!!!! DtSimulationCommandSimulationCommandWidget
Definition: simulationCommandStealthCommand.h:39
Definition: simulationCommandStealthCommand.h:83
Class that is used as a template for task/set dialogs.
Definition: simulationCommandDialogInterface.h:39
QWidget * myStealthCommandsWidget
Definition: simulationCommandStealthCommand.h:73
This class will created a dialog from scripted task meta data and send that information to the back-e...
Definition: scriptedTaskDialog.h:60
Definition: simulationCommandDialogInterface.h:47
QComboBox * myStealthCommandsCombo
Definition: simulationCommandStealthCommand.h:75
QLabel * myStealthCommandsLabel
Definition: simulationCommandStealthCommand.h:74
DtSimCommand is an abstract base class from which commands can derive. It manages the read/write capa...
Definition: simCommand.h:32
Definition: simCommandObjectWrapper.h:42
QWidget * myCanvas
Definition: simulationCommandStealthCommand.h:70
class DtSimStatement:
Definition: simStatement.h:38
QHBoxLayout * myStealthCommandsLayout
Definition: simulationCommandStealthCommand.h:72
DtStealthCommandCommand * myStealthCommand
Definition: simulationCommandStealthCommand.h:80
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
QVBoxLayout * myMainLayout
Definition: simulationCommandStealthCommand.h:71
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
A DtSimCommand subclass which specifies how to manipulate the stealth for a particular front-end or a...
Definition: stealthCommandCommand.h:22
DtScriptedTaskDialog * myVariables
Definition: simulationCommandStealthCommand.h:77

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)