VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfAggregateSettingsPage.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 
16 #include <QtWidgets/QWidget>
17 
18 class QVBoxLayout;
19 class QRadioButton;
20 class QGroupBox;
21 class QCheckBox;
22 class QFrame;
23 class QLabel;
24 
25 namespace makVrf
26 {
28  {
29  public:
31 
32  virtual void setShowAttackLines(bool) = 0;
33  virtual void setShowAttackAnimation(bool) = 0;
34  virtual void setShowSupplyLines(bool) = 0;
35  virtual void setPublishAggregateFormationRoutes(bool) = 0;
36  virtual void setShowGumballs(bool) = 0;
37  virtual void setShowHealth(bool) = 0;
38 
40  boost::signal<void (bool)> signal_displayAttackLinesChanged;
41  boost::signal<void (bool)> signal_displayAttackAnimationChanged;
42  boost::signal<void (bool)> signal_displaySupplyLinesChanged;
43  boost::signal<void (bool)> signal_displayGumballsChanged;
44  boost::signal<void (bool)> signal_displayHealthChanged;
45  };
46 
48  {
49  Q_OBJECT
50 
51  public:
52  DtVrfAggregateSettingsWidget(makVrv::DtDe&, QWidget* parent);
53 
55 
56  protected:
57  void setupGui();
58 
59  virtual void setShowAttackLines(bool);
60  virtual void setShowAttackAnimation(bool);
61  virtual void setPublishAggregateFormationRoutes(bool b);
62  virtual void setShowSupplyLines(bool b);
63  virtual void setShowGumballs(bool b);
64  virtual void setShowHealth(bool b);
65 
66  protected slots:
67  virtual void onPublishAggregateFormationRoutesChanged();
68  virtual void on_displayAttackLinesChanged();
69  virtual void on_displayAttackAnimationChanged();
70  virtual void on_displaySupplyLinesChanged();
71  virtual void on_displayGumballsChanged();
72  virtual void on_displayHealthChanged();
73 
74  public:
75  QVBoxLayout* myMainLayout;
76 
83 
84  protected:
86  };
87 
89  {
90  Q_OBJECT
91 
92  public:
94  DtVrfAggregateSettingsPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags);
95 
97  virtual ~DtVrfAggregateSettingsPage();
98 
99  protected:
101  void setupGui();
102 
103  virtual void activate();
104 
105  public:
106  QFrame* mySeparator;
108 
111  };
112 
115 }

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)