/** * @RDE_HEADER@ * HMI Plugin for Messaging - Messaging Overview Dialog * $Id$ * $HeadURL$ * $Author$ * Created by Chrsitian Roeskens, NLSE, 2018-05-03 */ #pragma once #include "taboc_sfm_messaging_model.h" #include #include #include #include namespace Ui { class SfmMessagesDialog; } namespace TrainingAreaBaseOC { class SfmMessagesDialog : public LtsWidgets::LtsDialog { Q_OBJECT public: explicit SfmMessagesDialog(QWidget *parent = nullptr); ~SfmMessagesDialog(); bool init(const std::shared_ptr &dtc, LtsNotification::LtsNotification *notiSfmMsg, qint64 lastClearTime); private: void retranslate() override; void onPrint(); void onClear(); signals: void clearedModel(); private: QString m_menuGroup; MessagingModel *m_model; std::shared_ptr m_dtc; LtsSession::LtsSession *m_session; Ui::SfmMessagesDialog *m_ui; LtsUtils::RequestHelper *m_requestHelper; LtsNotification::LtsNotification *m_notiSfmMsg; LOGGER_T m_logger; }; } // namespace TrainingAreaBaseOC