/** * @RDE_HEADER@ * GUI Plugin for ParticipantManagement - Participant Edit * $Id$ * $HeadURL$ * $Author$ * Created by Patric Karwat, SLSE, 2016-10-17 */ #pragma once #include #include #include #include #include #include #include #include "ppm_planning_model.h" namespace AdvancedSymbology { class ForeignDataInterface; } namespace Ui { class ParticipantShow; } namespace ParticipantManagement { class ParticipantPlanningModel; class ParticipantTreeEditHandler; class ParticipantShow : public LtsWidgets::LtsDialog { Q_OBJECT public: ParticipantShow(LtsSession::LtsSession *session, bool asSupportService, QWidget *parent = nullptr); virtual ~ParticipantShow(); bool init(const std::shared_ptr &dtc, const std::shared_ptr &ftc, const std::shared_ptr &asbIfc, const int partyId, const QString &nameParty); private: void retranslate() override; protected slots: void onPartyChanged(); void onPrint(); private: bool m_asSupportService; ParticipantTreeEditHandler* m_pTreehandler; std::shared_ptr m_dtc; std::shared_ptr m_ftc; int m_partyId; QString m_nameParty; LtsSession::LtsSession *m_session; ParticipantPlanningModel *m_model; Ui::ParticipantShow *m_ui; NGL::INGLLogger &m_logger; }; } //ParticipantManagement