VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateCombatCapabilityPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <QTreeView>
14 #include <QStandardItemModel>
15 
16 class QTabWidget;
17 
18 namespace makVrf
19 {
20  namespace makVrfGuiObjectInformationQt
21  {
22 
24  {
25  Q_OBJECT
26 
27  public:
28 
30  DtAggregateCombatCapabilityPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
31 
35  virtual QIcon icon();
36 
38  virtual QString title();
39 
41  virtual const std::string& pageClassName() const;
42 
44  static const std::string& thePageClassName();
45 
46  virtual DtInformationDialogPageLogic* createLogic();
47 
48  QStandardItemModel* combatPowerModel()
49  {
50  return myCombatPowerModel;
51  }
52 
53  QTreeView* combatPowerTree()
54  {
55  return myCombatPowerTree;
56  }
57 
58  QStandardItemModel* weaponSystemsModel()
59  {
60  return myWeaponSystemsModel;
61  }
62 
63  QTreeView* weaponSystemsTree()
64  {
65  return myWeaponSystemsTree;
66  }
67 
68  QStandardItemModel* combatSystemsModel()
69  {
70  return myCombatSystemsModel;
71  }
72 
73  QTreeView* combatSystemsTree()
74  {
75  return myCombatSystemsTree;
76  }
77 
79  virtual ShowStatus setupGui(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
80 
81  protected:
82  virtual void activate();
83  virtual void deactivate();
84  virtual QWidget* createPageContents(ShowStatus&);
85 
86  protected:
87  QWidget* myCanvas;
88 
89  QWidget* myCombatPowerTab;
91  QStandardItemModel* myCombatPowerModel;
92 
95  QStandardItemModel* myWeaponSystemsModel;
96 
99  QStandardItemModel* myCombatSystemsModel;
100  };
101 
104  }
105 }

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)