Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+67
@@ -0,0 +1,67 @@
|
||||
/**
|
||||
* @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 <FileManagement/logger.h>
|
||||
#include <FileManagement/Data/flm_data_plugin.h>
|
||||
#include <LtsSession/lts_session.h>
|
||||
#include <TopicEditorBase/topic_editor_base.h>
|
||||
|
||||
#include <QJsonArray>
|
||||
|
||||
|
||||
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<FileManagement::Interface::Dtc> &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<FileManagement::Interface::Dtc> m_flmDtc { nullptr };
|
||||
|
||||
QJsonArray m_planItems;
|
||||
PlanOverlayModel *m_model { nullptr };
|
||||
|
||||
Ui::PlanTopicEditor *m_ui { nullptr };
|
||||
NGL::INGLLogger &m_logger;
|
||||
|
||||
};
|
||||
|
||||
} // namespace PlanOverlaysPlugin
|
||||
Reference in new issue
Block a user