swift
flightplandialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2019 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_VIEWS_FLIGHTPLANDIALOG_H
7 #define SWIFT_GUI_VIEWS_FLIGHTPLANDIALOG_H
8 
9 #include <QDialog>
10 #include <QScopedPointer>
11 
12 #include "misc/aviation/callsign.h"
13 
14 namespace Ui
15 {
16  class CFlightPlanDialog;
17 }
18 namespace swift::gui::views
19 {
21  class CFlightPlanDialog : public QDialog
22  {
23  Q_OBJECT
24 
25  public:
27  explicit CFlightPlanDialog(QWidget *parent = nullptr);
28 
30  virtual ~CFlightPlanDialog() override;
31 
34 
35  private:
37  void setDialogTitle(const swift::misc::aviation::CCallsign &callsign);
38 
40  void loadFp();
41 
42  QScopedPointer<Ui::CFlightPlanDialog> ui;
43  };
44 
45 } // namespace swift::gui::views
46 
47 #endif // SWIFT_GUI_VIEWS_FLIGHTPLANDIALOG_H
Flight plan as dialog, also meant for other callsigns.
void showFlightPlan(const swift::misc::aviation::CCallsign &callsign)
Show a particular callsign flight plan.
CFlightPlanDialog(QWidget *parent=nullptr)
Ctor.
Value object encapsulating information of a callsign.
Definition: callsign.h:30
Views, mainly QTableView.