/** *@RDE_HEADER@ * GUI Plugin for Building HitLine - Info * $Id$ * $HeadURL$ * $Author$ * Created by hjl, NLE, 2018-09-13 */ #pragma once //Lts #include // BuildingManagement #include #include #include namespace Ui { class HitLineInfoDialog; } namespace LtsSession { class LtsSession; } namespace ProjectDataManagement { namespace Interface { class Dtc; } } namespace ParticipantManagement { namespace Interface { class Dtc; } } namespace InfrastructureManagement { namespace Interface { class Dtc; } } namespace AreaEffectSimulation { namespace Interface { class Dtc; } } namespace SituationMap { class ForeignGuiInterface; } namespace Buildings { namespace Interface { class Dtc; } // -------------------------------------------------------- // HitLineInfoDialog // -------------------------------------------------------- class HitLineInfoDialog : public LtsWidgets::LtsDialog { Q_OBJECT public: explicit HitLineInfoDialog(int hitLineId, QWidget *parent = nullptr); ~HitLineInfoDialog(); bool init(LtsSession::LtsSession *session); private: void retranslate() override; void showHitLineInfos(); QString getContaminations(const std::vector &contaminationStates) const; private Q_SLOTS: void onFindBuildingOnMap(); void onFindOriginatorOnMap(); private: int m_hitLineId = 0; BuildingHitLineInfo m_hitLineInfo; ParticipantManagement::Participant m_participantOriginator; bool m_isInitialized = false; std::shared_ptr m_bldDtc; std::shared_ptr m_ppmDtc; std::shared_ptr m_pdmDtc; std::shared_ptr m_ismDtc; std::shared_ptr m_aesDtc; std::shared_ptr m_sitMapGuiIfc; Ui::HitLineInfoDialog *m_ui = nullptr; LOGGER_T m_logger; }; } // namespace Buildings