/* Copyright (C) 2019 * swift project Community / Contributors * * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level * directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated, * or distributed except according to the terms contained in the LICENSE file. */ //! \file #ifndef BLACKGUI_VIEWS_FLIGHTPLANDIALOG_H #define BLACKGUI_VIEWS_FLIGHTPLANDIALOG_H #include "blackmisc/aviation/callsign.h" #include #include namespace Ui { class CFlightPlanDialog; } namespace BlackGui { namespace Views { //! Flight plan as dialog, also meant for other callsigns class CFlightPlanDialog : public QDialog { Q_OBJECT public: //! Ctor explicit CFlightPlanDialog(QWidget *parent = nullptr); //! Destructor virtual ~CFlightPlanDialog() override; //! Show a particular callsign flight plan void showFlightPlan(const BlackMisc::Aviation::CCallsign &callsign); private: //! Title void setDialogTitle(const BlackMisc::Aviation::CCallsign &callsign); //! Load FP void loadFp(); QScopedPointer ui; }; } // ns } // ns #endif // guard