58 lines
1.3 KiB
C++
Executable File
58 lines
1.3 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* HMI Plugin for MeteoDataManagement - Meteo Data Overview Dialog
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Patric Karwat, SLSE, 2016-10-05
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "mdm_meteo_data_model.h"
|
|
|
|
#include <Services/MeteoDataManagement/mdm_dtc.h>
|
|
#include <Services/MeteoDataManagement/mdm_ftc.h>
|
|
|
|
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
#include <LtsSession/lts_session.h>
|
|
|
|
namespace Ui
|
|
{
|
|
class MeteoDataView;
|
|
}
|
|
namespace MeteoDataManagement
|
|
{
|
|
|
|
class MeteoDataView : public LtsWidgets::LtsDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MeteoDataView(const QString &menuGroup, LtsSession::LtsSession *session, QWidget *parent = nullptr);
|
|
~MeteoDataView();
|
|
bool init(const std::shared_ptr<MeteoDataManagement::Interface::Dtc> &dtc,
|
|
const std::shared_ptr<MeteoDataManagement::Interface::Ftc> &ftc);
|
|
|
|
private:
|
|
void retranslate() override;
|
|
void onSelectionChanged();
|
|
void onEditStaticMeteoData();
|
|
void onPrint();
|
|
void tableColumnOrganiserSetting() override;
|
|
|
|
private:
|
|
QString m_menuGroup;
|
|
MeteoDataModel *m_model;
|
|
std::shared_ptr<MeteoDataManagement::Interface::Dtc> m_dtc;
|
|
std::shared_ptr<MeteoDataManagement::Interface::Ftc> m_ftc;
|
|
LtsSession::LtsSession *m_session;
|
|
Ui::MeteoDataView *m_ui;
|
|
|
|
LOGGER_T m_logger;
|
|
|
|
};
|
|
|
|
} // namespace MeteoDataManagement
|