Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+66
@@ -0,0 +1,66 @@
|
||||
/**
|
||||
* 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 <LtsWidgets/lts_dialog.h>
|
||||
#include <NGLLogger/INGLLogger.h>
|
||||
|
||||
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<int> &buildingsInRange,
|
||||
const QVector<int> &participantsWithoutProtection,
|
||||
const QVector<int> &participantsWithProtection,
|
||||
const std::shared_ptr<InfrastructureManagement::Interface::Dtc> &ismDtc,
|
||||
const std::shared_ptr<ParticipantManagement::Interface::Dtc> &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
|
||||
Reference in new issue
Block a user