VR-Forces 4.8 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 
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 }
makVrv::DtPageCreatorTemplate< DtAirBaseReadinessPage > DtAirBaseReadinessPageCreator
Definition: airBaseReadinessPage.h:91
DtAggregateSuppliesTab * apronArea()
Definition: airBaseReadinessPage.h:58
QVBoxLayout * myCanvasLayout
Definition: airBaseReadinessPage.h:79
DtAggregateSuppliesTab * myApronArea
Definition: airBaseReadinessPage.h:76
QLabel * myCrewApron
Definition: airBaseReadinessPage.h:87
QLabel * myCrewHangar
Definition: airBaseReadinessPage.h:85
QWidget * myMainCanvas
Definition: airBaseReadinessPage.h:78
Definition: DtPage.h:146
DtAggregateSuppliesTab * myHangarCapacity
Definition: airBaseReadinessPage.h:75
Contains makVrv::DtInformationDialogPage class.
QLabel * myCrewTotal
Definition: airBaseReadinessPage.h:83
DtAggregateSuppliesTab * hangarCapacity()
Definition: airBaseReadinessPage.h:53
QLabel * myCrewTotalLabel
Definition: airBaseReadinessPage.h:82
QLabel * myCrewApronLabel
Definition: airBaseReadinessPage.h:86
QGridLayout * myCrewLayout
Definition: airBaseReadinessPage.h:81
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:25
ShowStatus
Definition: informationDialogPage.h:265
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QLabel * myCrewHangarLabel
Definition: airBaseReadinessPage.h:84

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)