VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
69  virtual ShowStatus setupGui(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
70 
71  protected:
72  virtual void activate();
73  virtual void deactivate();
74  virtual QWidget* createPageContents(ShowStatus&);
75 
76  protected:
78 
80  QStandardItemModel* myCombatPowerModel;
81 
83  QStandardItemModel* myWeaponSystemsModel;
84  };
85 
88  }
89 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)