VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aerodromeSelectionWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
8 #include <vrvCoreQt/DtToolbar.h>
11 
12 class QToolButton;
13 class QHBoxLayout;
14 
15 namespace makVrv
16 {
17  class DtDe;
18 }
19 
20 namespace makVrf
21 {
22  class DtAirportSelectionWidget;
23 
25  {
26  public:
27 
30 
32  virtual ~DtAerodromeSelectionToolbar();
33 
35  virtual QToolBar* createToolbar(makVrv::DtDe&, QWidget* parent);
36 
37  };
38 
40  {
41  Q_OBJECT
42  public:
44  DtAerodromeSelectionWidget( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
45 
47  virtual ~DtAerodromeSelectionWidget();
48 
49  protected:
51  virtual void setupUi();
52 
53  virtual void showEvent(QShowEvent *);
54 
55  protected slots:
56  virtual void gotoAerodrome();
57  virtual void createAerodrome();
58  virtual void validateGotoButton();
59 
60  public:
61  QHBoxLayout* myMainLayout = nullptr;
62  DtAirportSelectionWidget* myAirportSelectionWidget = nullptr;
63  QToolButton* myGotoAerodrome = nullptr;
64  QToolButton* myCreateAerodrome = nullptr;
65 
66  protected:
69  };
70 
72  {
73  public:
74 
76 
78 
79  virtual QWidget* create( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
80  };
81 }
Contains makVrv::DtWidgetBuilder class.
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
The base class for VR-Vantage toolbars.
Definition: DtToolbar.h:26
makVrv::DtDe & myDe
Definition: aerodromeSelectionWidget.h:68
Definition: aerodromeSelectionWidget.h:24
Definition: aerodromeSelectionWidget.h:39
Definition: aerodromeSelectionWidget.h:71
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
makVrv::DtSignalConnectionManager myConnectionManager
Definition: aerodromeSelectionWidget.h:67
Contains makVrv::DtToolbar class declaration.
A widget class for encapsulating airport selection from a combo box.
Definition: airportSelectionWidget.h:31
Base class to provide boost signal/slot management.
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:72
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:22

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)