VR-Forces 5.0.2 Developer's Guide
 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) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 
11 #pragma once
12 
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 
29  class DtAirportRunwayLoaderFromShp;
30 
33  { Q_OBJECT;
34  public:
35 
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 
54  public:
55 
57 
58  protected:
59 
61  void setUpGui();
62 
64  void completeSetup();
65 
66  protected:
67 
69 
70  QHBoxLayout *myHBoxLayout;
72 
74 
76 
77  };
78 
79 }
Definition: airportRunwayLoaderFromShp.h:61
QLabel * myAirportLabel
Definition: airportSelectionWidget.h:71
A widget class for encapsulating airport selection from a combo box.
Definition: airportSelectionWidget.h:32
makVrv::DtDe & myDe
Definition: airportSelectionWidget.h:68
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
DtAirportRunwayLoaderFromShp * myLoader
Definition: airportSelectionWidget.h:75
QCompleter * myAirportNameCompleter
Definition: airportSelectionWidget.h:73
QHBoxLayout * myHBoxLayout
Definition: airportSelectionWidget.h:70
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
QComboBox * myAirportCombobox
Definition: airportSelectionWidget.h:56

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)