VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
airportSelectionWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
13 
14 #include <QtWidgets/QWidget>
15 
16 class QCompleter;
17 class QLabel;
18 class QComboBox;
19 class QHBoxLayout;
20 
21 namespace makVrv
22 {
23  class DtDe;
24 }
25 
26 namespace makVrf
27 {
28  class DtAirportRunwayLoaderFromShp;
29 
32  {
33  Q_OBJECT
34 
35  public:
37  DtAirportSelectionWidget(makVrv::DtDe& de, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
38 
40  std::string getSelectedAirportName() const;
41 
43  std::string getSelectedIcaoCode() const;
44 
46  bool setCurrentAirport(const std::string airportName);
47 
49  void setCurrentIndex(int index);
50 
53  public:
55  protected:
57  void setUpGui();
58 
60  void completeSetup();
61  protected:
63 
64  QHBoxLayout *myHBoxLayout;
66 
68 
70 
71 
72  };
73 }
Definition: airportRunwayLoaderFromShp.h:61
QLabel * myAirportLabel
Definition: airportSelectionWidget.h:65
A widget class for encapsulating airport selection from a combo box.
Definition: airportSelectionWidget.h:31
makVrv::DtDe & myDe
Definition: airportSelectionWidget.h:62
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtAirportRunwayLoaderFromShp * myLoader
Definition: airportSelectionWidget.h:69
QCompleter * myAirportNameCompleter
Definition: airportSelectionWidget.h:67
QHBoxLayout * myHBoxLayout
Definition: airportSelectionWidget.h:64
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
QComboBox * myAirportCombobox
Definition: airportSelectionWidget.h:54

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)