/** * @RDE_HEADER@ * Model for ParticipantsMoveDialog * $Id$ * $HeadURL$ * $Author$ * Created by Gerlinde Rudolphus, SLSE, 2018-01-02 */ #pragma once #include #include #include #include //ParticipantManagement #include #include "logger.h" namespace CentralEffectSimulation { class ParticipantMoveModel final : public ParticipantManagement::ParticipantEditModel { Q_OBJECT public: ParticipantMoveModel(QObject *parent, const std::shared_ptr &ppmDtc, const std::shared_ptr &asbIfc); QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; signals: void newData(); private: void onParticipantChanged(const ParticipantManagement::Participant &data, DataModification modType); bool isSelectableBySimulation(const QModelIndex &index, bool *bIsSimulated = nullptr) const; NGL::INGLLogger &m_logger; }; } // namespace CentralEffectSimulation