VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 setObjectName(const DtString&);
33  virtual DtString objectName() 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;
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:
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 std::string objectNameFromStatement(makVrv::DtDe&, const DtSimCommand*) const;
88  };
89 }

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)