VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
airBaseReadinessPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <QTreeView>
14 #include <QStandardItemModel>
15 
16 class QVBoxLayout;
17 class QGridLayout;
18 
19 namespace makVrf
20 {
21  namespace makVrfGuiObjectInformationQt
22  {
23  class DtAggregateSuppliesTab;
24 
26  {
27  Q_OBJECT
28 
29  public:
30 
32  DtAirBaseReadinessPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
33 
35  virtual ~DtAirBaseReadinessPage();
37  virtual QIcon icon();
38 
40  virtual QString title();
41 
43  virtual const std::string& pageClassName() const;
44 
46  static const std::string& thePageClassName();
47 
48  virtual DtInformationDialogPageLogic* createLogic();
49 
52 
53  DtAggregateSuppliesTab* hangarCapacity()
54  {
55  return myHangarCapacity;
56  }
57 
59  {
60  return myApronArea;
61  }
62 
63  virtual void setCrewTotal(int);
64  virtual void setCrewInHangar(int current, int needed);
65  virtual void setCrewOnApron(int current, int needed);
66 
67  protected:
68  virtual void activate();
69  virtual void deactivate();
70  virtual QWidget* createPageContents(DtInformationDialogPage::ShowStatus& status);
71  virtual QWidget* createHangarTab();
72  virtual QWidget* createApronTab();
73 
74  public:
77 
78  QWidget* myMainCanvas;
79  QVBoxLayout* myCanvasLayout;
80 
81  QGridLayout* myCrewLayout;
88  };
89 
92  }
93 }

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)