Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+42
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* The BuildingModel provices building data for SimulationDialog
|
||||
* $Id: ism_asset_list_dialog_model.h 58852 2023-02-01 11:28:56Z fritsche_h $
|
||||
* $HeadURL: svn://192.168.133.21/TDS/branches/product/features/3dws_devel/Lts/Plugins/InfrastructureManagement/Gui/ResourceManagement/AssetList/ism_asset_list_dialog_model.h $
|
||||
* $Author: fritsche_h $
|
||||
* Created by Hannes Fritsche, ESZS, 2024-09-20
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_abstract_table_model.h>
|
||||
|
||||
namespace InfrastructureManagement
|
||||
{
|
||||
namespace Interface
|
||||
{
|
||||
class Dtc;
|
||||
}
|
||||
}
|
||||
|
||||
namespace CollateralDamageSimulation
|
||||
{
|
||||
|
||||
class BuildingModel final : public LtsWidgets::LtsAbstractTableModel<QString>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit BuildingModel(QObject *parent = nullptr);
|
||||
|
||||
enum Columns
|
||||
{
|
||||
NAME = 0
|
||||
};
|
||||
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
bool initModel(const std::shared_ptr<InfrastructureManagement::Interface::Dtc> &ismDtc, const QVector<int> &buildingIds);
|
||||
|
||||
}; // class BuildingModel
|
||||
|
||||
} // namespace CollateralDamageSimulation
|
||||
Reference in new issue
Block a user