/** * @RDE_HEADER@ * Topic Editor for the Situation Topic in the Script Editor * $Id: topic_editor.h 47904 2019-08-09 09:11:38Z ehrlicher $ * $HeadURL: svn://slssvn/TDS/branches/product/devel/trunk/Lts/Plugins/FileManagement/Gui/Explorer/TopicEditor/topic_editor.h $ * $Author: ehrlicher $ * * Created by Mike Wille, NLE, 2019-11-11 */ #pragma once #include #include #include #include #include namespace Ui { class PlanTopicEditor; } namespace PlanOverlaysPlugin { class ForeignGuiInterface; class PlanOverlayModel; class PlanTopicEditor : public TopicEditorBase::TopicEditor { Q_OBJECT public: explicit PlanTopicEditor( ForeignGuiInterface **ifc, const std::shared_ptr &flmDtc, QWidget *parent = nullptr ); ~PlanTopicEditor(); // void updatePreview(); private: void updateInternalData() override final; void retranslate() override final; void retable(); void enaDisa(); private slots: bool apply2() override final; void onOpenPlanOverlayDialog(); private: ForeignGuiInterface **m_ifc { nullptr }; std::shared_ptr m_flmDtc { nullptr }; QJsonArray m_planItems; PlanOverlayModel *m_model { nullptr }; Ui::PlanTopicEditor *m_ui { nullptr }; NGL::INGLLogger &m_logger; }; } // namespace PlanOverlaysPlugin