44 lines
898 B
C++
Executable File
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
|
|
|
|
|