/** * @RDE_HEADER@ * $Id$ * $HeadURL$ * $Author$ * Created by Philipp Last, SLSE, 2017-10-26 */ #pragma once #include #include #include #include #include #include #include class QSortFilterProxyModel; namespace AdvancedSymbology { class ForeignDataInterface; } namespace Ui { class MSDLDialog; } namespace ParticipantManagement { class ParticipantEditModel; class ParticipantTreeEditHandler; class MSDLEdit : public LtsWidgets::LtsDialog { Q_OBJECT public: MSDLEdit(LtsSession::LtsSession *session, QWidget *parent = nullptr); ~MSDLEdit(); bool init(const std::shared_ptr &dtc, const std::shared_ptr &ftc, const std::shared_ptr &ppmGuiCbxIfc); private: void retranslate() override; bool apply() override; void lock() override; void unlock() override; void tableColumnOrganiserSetting() override; protected slots: void onEnaDisa(); // enable/disable the widgets void onAddItem(); void onEditItem(); void onPartyChanged(); void onImport(); void onExport(); void onDistypeEditor(); private: QAction *m_actionRemove; QAction *m_actionEdit; std::shared_ptr m_ppmDtc; std::shared_ptr m_ppmFtc; std::shared_ptr m_ppmGuiCbxIfc; std::shared_ptr m_asb; LtsSession::LtsSession *m_session; ParticipantTreeEditHandler *m_pTreehandlerSystem; ParticipantTreeEditHandler *m_pTreehandlerImport; ParticipantEditModel *m_pModelSystem; ParticipantEditModel *m_pModelImport; Ui::MSDLDialog *m_ui; NGL::INGLLogger &m_logger; }; } //ParticipantManagement