swift
interpolationlogdisplaydialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_GUI_COMPONENTS_INTERPOLATIONLOGDISPLAYDIALOG_H
7 #define SWIFT_GUI_COMPONENTS_INTERPOLATIONLOGDISPLAYDIALOG_H
8 
9 #include <QDialog>
10 #include <QScopedPointer>
11 
12 #include "gui/swiftguiexport.h"
13 
14 namespace swift::core
15 {
16  class ISimulator;
17  class CAirspaceMonitor;
18 } // namespace swift::core
19 namespace Ui
20 {
21  class CInterpolationLogDisplayDialog;
22 }
23 namespace swift::gui::components
24 {
29  {
30  Q_OBJECT
31 
32  public:
35  swift::core::CAirspaceMonitor *airspaceMonitor,
36  QWidget *parent = nullptr);
37 
39  virtual ~CInterpolationLogDisplayDialog() override;
40 
42  void setSimulator(swift::core::ISimulator *simulator);
43 
45  void setAirspaceMonitor(swift::core::CAirspaceMonitor *airspaceMonitor);
46 
47  protected:
49  virtual bool event(QEvent *event) override;
50 
51  private:
52  QScopedPointer<Ui::CInterpolationLogDisplayDialog> ui;
53  };
54 } // namespace swift::gui::components
55 
56 #endif // SWIFT_GUI_COMPONENTS_INTERPOLATIONLOGDISPLAYDIALOG_H
Keeps track of other entities in the airspace: aircraft, ATC stations, etc. Central instance of data ...
Interface to a simulator.
Definition: simulator.h:59
Backend services of the swift project, like dealing with the network or the simulators.
Definition: actionbind.cpp:7
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.