VR-Forces 4.6.1 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 
39  boost::signal<void (bool)> signal_displayAttackLinesChanged;
40  boost::signal<void (bool)> signal_displayAttackAnimationChanged;
41  boost::signal<void (bool)> signal_displaySupplyLinesChanged;
42  boost::signal<void (bool)> signal_displayGumballsChanged;
43  };
44 
46  {
47  Q_OBJECT
48 
49  public:
50  DtVrfAggregateSettingsWidget(makVrv::DtDe&, QWidget* parent);
51 
53 
54  protected:
55  void setupGui();
56 
57  virtual void setShowAttackLines(bool);
58  virtual void setShowAttackAnimation(bool);
59  virtual void setPublishAggregateFormationRoutes(bool b);
60  virtual void setShowSupplyLines(bool b);
61  virtual void setShowGumballs(bool b);
62 
63  protected slots:
64  virtual void onPublishAggregateFormationRoutesChanged();
65  virtual void on_displayAttackLinesChanged();
66  virtual void on_displayAttackAnimationChanged();
67  virtual void on_displaySupplyLinesChanged();
68  virtual void on_displayGumballsChanged();
69 
70  public:
71  QVBoxLayout* myMainLayout;
72 
78 
79  protected:
81  };
82 
84  {
85  public:
87  DtVrfAggregateSettingsPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags);
88 
90  virtual ~DtVrfAggregateSettingsPage();
91 
92  protected:
94  void setupGui();
95 
96  virtual void activate();
97 
98  public:
99  QFrame* mySeparator;
101 
104  };
105 
108 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)