/** * @RDE_HEADER@ * HMI Plugin for Messaging - Messaging Overview Dialog * $Id$ * $HeadURL$ * $Author$ * Created by Patric Karwat, SLSE, 2016-10-05 */ #pragma once #include #include #include #include #include #include #include namespace Ui { class ParticipantShowConfigView; } namespace ParticipantAlarms { class ParticipantShowConfigView : public LtsWidgets::LtsDialog , protected AlarmManagement::Interface::Ftc::ConfigureAlarmsReplyHandler { Q_OBJECT public: explicit ParticipantShowConfigView(LtsSession::LtsSession *session, QWidget *parent = nullptr); ~ParticipantShowConfigView(); bool init(const std::shared_ptr &dtc, const std::shared_ptr &ftc, const std::shared_ptr &ppmDtc, const std::shared_ptr &aesDtc); private Q_SLOTS: void retranslate() override; void onSelectionChanged(); void onShowAlarm(); void onRemoveAlarm(); void onPrint(); protected: void onConfigureAlarmsReply(const Core::FunctionReplyObject &replyObject) override final; private: void tableColumnOrganiserSetting() override; private: AlarmManagement::ConfigAlarmModel *m_configAlarmModel; AlarmManagement::AlarmHistoryModel *m_alarmHistoryModel; std::shared_ptr m_dtc; std::shared_ptr m_almFtc; LtsSession::LtsSession *m_session; Ui::ParticipantShowConfigView *m_ui; LtsUtils::RequestHelper *m_requestHelper; AlarmManagement::LOGGER_T m_logger; }; } // namespace ParticipantAlarms