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

30 lines
681 B
C++
Executable File

/**
* @RDE_HEADER@
* HMI Plugin for AreaEffectSimulation - GasPipe Overview Dialog Model
* $Id$
* $HeadURL$
* $Author$
* Created by hjl, SLSE, 2017-06-19
*/
#pragma once
#include <Plugins/AreaEffectSimulation/Gui/Base/aes_base_model.h>
namespace AreaEffectSimulation
{
class GasPipesModel final : public AesGuiBaseModel<GasPipe>
{
Q_OBJECT
public:
explicit GasPipesModel(QObject *parent = nullptr);
bool initModel(LtsSession::LtsSession *session) override;
QVariant data(const QModelIndex &index, int role) const override;
protected:
bool isFiltered(const GasPipe &data, DataModification modType) const override;
};
} //namespace AreaEffectSimulation