VR-Forces 4.8 Class Documentation
 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 
57  protected:
58  virtual bool wantsSelectionOfObjectInCommandMode(const std::vector<makVrv::DtSimEntry*>&) const;
59  virtual void initializeItems(const std::vector<makVrv::DtSimEntry*>& data);
60  virtual bool valid() const;
61  virtual void validate();
62  virtual void resizeWidgetToContents();
63  virtual void showEvent(QShowEvent*);
64 
65  protected slots:
66  virtual void stealthCommandChanged();
67 
68  public:
69  QWidget* myCanvas;
70  QVBoxLayout* myMainLayout;
75 
77 
78  protected:
80  };
81 
83  {
84  public:
85  virtual DtSimulationCommandDialogInterface* create(makVrv::DtDe&, QWidget* parent);
86  virtual bool supportsType(makVrv::DtDe&, const DtSimCommandMessageType&, const DtSimStatement*) const;
87  virtual DtUUID objectFromStatement(makVrv::DtDe&, const DtSimCommand*) const;
88  };
89 }
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
Definition: simulationCommandStealthCommand.h:26
!!!!!!!!!! DtSimulationCommandSimulationCommandWidget
Definition: simulationCommandStealthCommand.h:39
Definition: simulationCommandStealthCommand.h:82
Class that is used as a template for task/set dialogs.
Definition: simulationCommandDialogInterface.h:41
QWidget * myStealthCommandsWidget
Definition: simulationCommandStealthCommand.h:72
This class will created a dialog from scripted task meta data and send that information to the back-e...
Definition: scriptedTaskDialog.h:57
Definition: simulationCommandDialogInterface.h:49
QComboBox * myStealthCommandsCombo
Definition: simulationCommandStealthCommand.h:74
QLabel * myStealthCommandsLabel
Definition: simulationCommandStealthCommand.h:73
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
Definition: simCommandObjectWrapper.h:44
QWidget * myCanvas
Definition: simulationCommandStealthCommand.h:69
class DtSimStatement:
Definition: simStatement.h:41
QHBoxLayout * myStealthCommandsLayout
Definition: simulationCommandStealthCommand.h:71
DtStealthCommandCommand * myStealthCommand
Definition: simulationCommandStealthCommand.h:79
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QVBoxLayout * myMainLayout
Definition: simulationCommandStealthCommand.h:70
#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:76

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)