/** * Dialog to show affected participants and builsings by an impact * @RDE_HEADER@ * $Id: ppm_msdl_edit.h 52239 2020-10-05 11:33:12Z thoden $ * $HeadURL: svn://192.168.133.21/TDS/branches/product/features/3dws_devel/Lts/Plugins/ParticipantManagement/Gui/MSDL/ppm_msdl_edit.h $ * $Author: thoden $ * Created by Hannes Fritsche, ESZS, 2024-08-05 */ #pragma once #include #include class QListWidget; namespace Ui { class SimulationDialog; } namespace InfrastructureManagement { namespace Interface { class Dtc; } } namespace ParticipantManagement { namespace Interface { class Dtc; } } namespace CollateralDamageSimulation { class BuildingModel; class ParticipantModel; class SimulationDialog : public LtsWidgets::LtsDialog { Q_OBJECT public: explicit SimulationDialog(QWidget *parent = nullptr); void init(const QVector &buildingsInRange, const QVector &participantsWithoutProtection, const QVector &participantsWithProtection, const std::shared_ptr &ismDtc, const std::shared_ptr &ppmDtc); void retranslate() override final; private: // attributes ParticipantModel *m_participantsWithoutProtectionModel { nullptr }; ParticipantModel *m_participantsWithProtectionModel { nullptr }; BuildingModel *m_buildingModel { nullptr }; Ui::SimulationDialog *m_ui; }; } // namespace CollateralDamageSimulation