Files
qt5-legatus-legacy/Lts/Plugins/AreaEffectSimulation/Gui/TechnicalArea/aes_technical_areas_model.h
T
2026-08-13 18:33:10 +02:00

44 lines
898 B
C++
Executable File

/**
* @RDE_HEADER@
* HMI Plugin for AreaEffectSimulation - Technical Area Overview Dialog Model
* $Id$
* $HeadURL$
* $Author$
* Created by Philipp Dassow, SLEA, 2017-06-09
*/
#pragma once
#include <Plugins/AreaEffectSimulation/Gui/Base/aes_base_model.h>
#include <ProjectDataManagement/pdm_enums.hpp>
namespace LtsSession
{
class LtsSession;
}
namespace AreaEffectSimulation
{
/************ Class for Technical Area ***************/
class TechnicalAreasModel final : public AesGuiBaseModel<TechnicalArea>
{
Q_OBJECT
signals:
void dataChanged();
public:
explicit TechnicalAreasModel(QObject *parent = nullptr);
bool initModel(LtsSession::LtsSession *session) override;
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
QVariant data(const QModelIndex &idx, int role) const override;
};
} //namespace AreaEffectSimulation