VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
indirectArtillerySettingsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvUtil/signalslib.h>
12 
15 
16 #include <QtWidgets/QWidget>
17 
18 class QCheckBox;
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtPersistenceControlsInterface;
24 }
25 
26 namespace makVrf
27 {
28  class DtIndirectArtillerySettingsRecord;
29  class DtIndirectArtillerySettingsDataWidget;
30 
35  {
36  Q_OBJECT
37 
38  public:
39 
41  DtIndirectArtillerySettingsWidget(makVrv::DtDe& de, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0 );
42 
45 
46  virtual void setupFromData(const DtIndirectArtillerySettingsRecord&);
47 
48  virtual void setAddDetonationsIfMissing(bool);
49  virtual bool addDetonationsIfMissing() const;
50 
51  protected:
52 
53  void setupGui();
54 
55  protected slots:
56  virtual void onChangeAddDetonationsIfMissing();
57 
58  private:
61 
64 
65  public:
68 
69  protected:
71  };
72 
75  {
76 
77  public:
78 
82 
85 
87  virtual void on_import();
88  virtual void on_export();
89  virtual void on_importFilePathChosen(const std::string& filePath);
90  virtual void on_exportFilePathChosen(const std::string& filePath);
91 
92  protected:
93  virtual void on_settingsChanged(const DtIndirectArtillerySettingsRecord& r);
94 
95  protected:
100  };
101 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)