mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
25
src/blackgui/views/cloudlayerview.cpp
Normal file
25
src/blackgui/views/cloudlayerview.cpp
Normal file
@@ -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
|
||||
38
src/blackgui/views/cloudlayerview.h
Normal file
38
src/blackgui/views/cloudlayerview.h
Normal file
@@ -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<Models::CCloudLayerListModel, BlackMisc::Weather::CCloudLayerList, BlackMisc::Weather::CCloudLayer>
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
//! Constructor
|
||||
explicit CCloudLayerView(QWidget *parent = nullptr);
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif // guard
|
||||
25
src/blackgui/views/temperaturelayerview.cpp
Normal file
25
src/blackgui/views/temperaturelayerview.cpp
Normal file
@@ -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
|
||||
38
src/blackgui/views/temperaturelayerview.h
Normal file
38
src/blackgui/views/temperaturelayerview.h
Normal file
@@ -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<Models::CTemperatureLayerListModel, BlackMisc::Weather::CTemperatureLayerList, BlackMisc::Weather::CTemperatureLayer>
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
//! Constructor
|
||||
explicit CTemperatureLayerView(QWidget *parent = nullptr);
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif // guard
|
||||
@@ -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 <QAction>
|
||||
@@ -1301,5 +1304,9 @@ namespace BlackGui
|
||||
template class CViewBase<BlackGui::Models::CTextMessageListModel, BlackMisc::Network::CTextMessageList, BlackMisc::Network::CTextMessage>;
|
||||
template class CViewBase<BlackGui::Models::CUserListModel, BlackMisc::Network::CUserList, BlackMisc::Network::CUser>;
|
||||
|
||||
template class CViewBase<BlackGui::Models::CTemperatureLayerListModel, BlackMisc::Weather::CTemperatureLayerList, BlackMisc::Weather::CTemperatureLayer>;
|
||||
template class CViewBase<BlackGui::Models::CCloudLayerListModel, BlackMisc::Weather::CCloudLayerList, BlackMisc::Weather::CCloudLayer>;
|
||||
template class CViewBase<BlackGui::Models::CWindLayerListModel, BlackMisc::Weather::CWindLayerList, BlackMisc::Weather::CWindLayer>;
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
25
src/blackgui/views/windlayerview.cpp
Normal file
25
src/blackgui/views/windlayerview.cpp
Normal file
@@ -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
|
||||
38
src/blackgui/views/windlayerview.h
Normal file
38
src/blackgui/views/windlayerview.h
Normal file
@@ -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<Models::CWindLayerListModel, BlackMisc::Weather::CWindLayerList, BlackMisc::Weather::CWindLayer>
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
//! Constructor
|
||||
explicit CWindLayerView(QWidget *parent = nullptr);
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user