VR-Forces 5.0.2 Developer's Guide
 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 
41  virtual makVrv::DtQIconConfigurations qIconConfigurations() const;
42 
44  virtual QString title();
45 
47  virtual const std::string& pageClassName() const;
48 
50  static const std::string& thePageClassName();
51 
52  virtual DtInformationDialogPageLogic* createLogic();
53 
56 
58  {
59  return myHangarCapacity;
60  }
61 
63  {
64  return myApronArea;
65  }
66 
67  virtual void setCrewTotal(int);
68  virtual void setCrewInHangar(int current, int needed);
69  virtual void setCrewOnApron(int current, int needed);
70 
71  protected:
72  virtual void activate();
73  virtual void deactivate();
74  virtual QWidget* createPageContents(DtInformationDialogPage::ShowStatus& status);
75  virtual QWidget* createHangarTab();
76  virtual QWidget* createApronTab();
77 
78  public:
81 
82  QWidget* myMainCanvas;
83  QVBoxLayout* myCanvasLayout;
84 
85  QGridLayout* myCrewLayout;
92  };
93 
96  }
97 }
makVrv::DtPageCreatorTemplate< DtAirBaseReadinessPage > DtAirBaseReadinessPageCreator
Definition: airBaseReadinessPage.h:95
DtAggregateSuppliesTab * apronArea()
Definition: airBaseReadinessPage.h:62
QVBoxLayout * myCanvasLayout
Definition: airBaseReadinessPage.h:83
DtAggregateSuppliesTab * myApronArea
Definition: airBaseReadinessPage.h:80
QLabel * myCrewApron
Definition: airBaseReadinessPage.h:91
QLabel * myCrewHangar
Definition: airBaseReadinessPage.h:89
QWidget * myMainCanvas
Definition: airBaseReadinessPage.h:82
Definition: DtPage.h:150
DtAggregateSuppliesTab * myHangarCapacity
Definition: airBaseReadinessPage.h:79
Contains makVrv::DtInformationDialogPage class.
QLabel * myCrewTotal
Definition: airBaseReadinessPage.h:87
DtAggregateSuppliesTab * hangarCapacity()
Definition: airBaseReadinessPage.h:57
QLabel * myCrewTotalLabel
Definition: airBaseReadinessPage.h:86
QLabel * myCrewApronLabel
Definition: airBaseReadinessPage.h:90
QGridLayout * myCrewLayout
Definition: airBaseReadinessPage.h:85
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
ShowStatus
Definition: informationDialogPage.h:266
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:75
QLabel * myCrewHangarLabel
Definition: airBaseReadinessPage.h:88

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)