Ref T731, moved QML map in dialog

* initial structure
* embedded a QQuickWidget in dialog
This commit is contained in:
Klaus Basan
2019-09-21 01:52:55 +02:00
committed by Mat Sutcliffe
parent cf6d60348e
commit 329b1e8c9a
14 changed files with 741 additions and 10 deletions

View File

@@ -0,0 +1,41 @@
/* 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_COMPONENTS_AFVMAPDIALOG_H
#define BLACKGUI_COMPONENTS_AFVMAPDIALOG_H
#include "blackgui/blackguiexport.h"
#include <QDialog>
#include <QScopedPointer>
namespace Ui { class CAfvMapDialog; }
namespace BlackGui
{
namespace Components
{
//! QML map to display ATC stations
class BLACKGUI_EXPORT CAfvMapDialog : public QDialog
{
Q_OBJECT
public:
//! Ctor
explicit CAfvMapDialog(QWidget *parent = nullptr);
//! Dtor
virtual ~CAfvMapDialog() override;
private:
QScopedPointer<Ui::CAfvMapDialog> ui;
};
} // ns
} // ns
#endif // guard