diff --git a/src/blackgui/views/cloudlayerview.cpp b/src/blackgui/views/cloudlayerview.cpp new file mode 100644 index 000000000..3c937d09e --- /dev/null +++ b/src/blackgui/views/cloudlayerview.cpp @@ -0,0 +1,25 @@ +/* Copyright (C) 2013 + * 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 and at http://www.swift-project.org/license.html. 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. + */ + +#include "blackgui/models/cloudlayerlistmodel.h" +#include "blackgui/views/cloudlayerview.h" + +using namespace BlackMisc; +using namespace BlackGui::Models; + +namespace BlackGui +{ + namespace Views + { + CCloudLayerView::CCloudLayerView(QWidget *parent) : CViewBase(parent) + { + this->standardInit(new CCloudLayerListModel(this)); + } + } +} // namespace diff --git a/src/blackgui/views/cloudlayerview.h b/src/blackgui/views/cloudlayerview.h new file mode 100644 index 000000000..e93469467 --- /dev/null +++ b/src/blackgui/views/cloudlayerview.h @@ -0,0 +1,38 @@ +/* Copyright (C) 2016 + * 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 and at http://www.swift-project.org/license.html. 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_CLOUDLAYERVIEW_H +#define BLACKGUI_CLOUDLAYERVIEW_H + +#include "blackgui/blackguiexport.h" +#include "blackgui/models/cloudlayerlistmodel.h" +#include "blackgui/views/viewbase.h" + +class QWidget; + +namespace BlackMisc { namespace Weather { class CCloudLayer; } } + +namespace BlackGui +{ + namespace Views + { + //! Airports view + class BLACKGUI_EXPORT CCloudLayerView : public CViewBase + { + + public: + + //! Constructor + explicit CCloudLayerView(QWidget *parent = nullptr); + }; + } +} +#endif // guard diff --git a/src/blackgui/views/temperaturelayerview.cpp b/src/blackgui/views/temperaturelayerview.cpp new file mode 100644 index 000000000..efc9df327 --- /dev/null +++ b/src/blackgui/views/temperaturelayerview.cpp @@ -0,0 +1,25 @@ +/* Copyright (C) 2016 + * 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 and at http://www.swift-project.org/license.html. 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. + */ + +#include "blackgui/models/temperaturelayerlistmodel.h" +#include "blackgui/views/temperaturelayerview.h" + +using namespace BlackMisc; +using namespace BlackGui::Models; + +namespace BlackGui +{ + namespace Views + { + CTemperatureLayerView::CTemperatureLayerView(QWidget *parent) : CViewBase(parent) + { + this->standardInit(new CTemperatureLayerListModel(this)); + } + } +} // namespace diff --git a/src/blackgui/views/temperaturelayerview.h b/src/blackgui/views/temperaturelayerview.h new file mode 100644 index 000000000..6ccac98b8 --- /dev/null +++ b/src/blackgui/views/temperaturelayerview.h @@ -0,0 +1,38 @@ +/* Copyright (C) 2016 + * 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 and at http://www.swift-project.org/license.html. 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_TEMPERATURELAYERVIEW_H +#define BLACKGUI_TEMPERATURELAYERVIEW_H + +#include "blackgui/blackguiexport.h" +#include "blackgui/models/temperaturelayerlistmodel.h" +#include "blackgui/views/viewbase.h" + +class QWidget; + +namespace BlackMisc { namespace Weather { class CTemperatureLayer; } } + +namespace BlackGui +{ + namespace Views + { + //! Airports view + class BLACKGUI_EXPORT CTemperatureLayerView : public CViewBase + { + + public: + + //! Constructor + explicit CTemperatureLayerView(QWidget *parent = nullptr); + }; + } +} +#endif // guard diff --git a/src/blackgui/views/viewbase.cpp b/src/blackgui/views/viewbase.cpp index f31a0f3c2..4dda99725 100644 --- a/src/blackgui/views/viewbase.cpp +++ b/src/blackgui/views/viewbase.cpp @@ -54,6 +54,9 @@ #include "blackmisc/simulation/simulatedaircraft.h" #include "blackmisc/simulation/simulatedaircraftlist.h" #include "blackmisc/statusmessagelist.h" +#include "blackmisc/weather/cloudlayerlist.h" +#include "blackmisc/weather/temperaturelayerlist.h" +#include "blackmisc/weather/windlayerlist.h" #include "blackmisc/worker.h" #include @@ -1301,5 +1304,9 @@ namespace BlackGui template class CViewBase; template class CViewBase; + template class CViewBase; + template class CViewBase; + template class CViewBase; + } // namespace } // namespace diff --git a/src/blackgui/views/windlayerview.cpp b/src/blackgui/views/windlayerview.cpp new file mode 100644 index 000000000..4fcb943ac --- /dev/null +++ b/src/blackgui/views/windlayerview.cpp @@ -0,0 +1,25 @@ +/* Copyright (C) 2013 + * 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 and at http://www.swift-project.org/license.html. 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. + */ + +#include "blackgui/models/windlayerlistmodel.h" +#include "blackgui/views/windlayerview.h" + +using namespace BlackMisc; +using namespace BlackGui::Models; + +namespace BlackGui +{ + namespace Views + { + CWindLayerView::CWindLayerView(QWidget *parent) : CViewBase(parent) + { + this->standardInit(new CWindLayerListModel(this)); + } + } +} // namespace diff --git a/src/blackgui/views/windlayerview.h b/src/blackgui/views/windlayerview.h new file mode 100644 index 000000000..455e8b517 --- /dev/null +++ b/src/blackgui/views/windlayerview.h @@ -0,0 +1,38 @@ +/* Copyright (C) 2016 + * 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 and at http://www.swift-project.org/license.html. 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_WINDLAYERVIEW_H +#define BLACKGUI_WINDLAYERVIEW_H + +#include "blackgui/blackguiexport.h" +#include "blackgui/models/windlayerlistmodel.h" +#include "blackgui/views/viewbase.h" + +class QWidget; + +namespace BlackMisc { namespace Weather { class CWindLayer; } } + +namespace BlackGui +{ + namespace Views + { + //! Wind layer view + class BLACKGUI_EXPORT CWindLayerView : public CViewBase + { + + public: + + //! Constructor + explicit CWindLayerView(QWidget *parent = nullptr); + }; + } +} +#endif // guard