From 00d1de4b48d54003fbd038f37c84bd63e3914a54 Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Mon, 7 Sep 2015 20:17:09 +0200 Subject: [PATCH] working on elementview --- guidededitorelementview.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/guidededitorelementview.h b/guidededitorelementview.h index a408ef0..dfc5c14 100644 --- a/guidededitorelementview.h +++ b/guidededitorelementview.h @@ -3,6 +3,12 @@ #include "guidededitorelement.h" #include +#include +#include +#include "guidededitorlayer.h" +#include +#include +#include class GuidedEditorElementView : public QWidget @@ -11,17 +17,31 @@ class GuidedEditorElementView : public QWidget public: explicit GuidedEditorElementView(GuidedEditorElement* element, QWidget *parent = 0); + void setElement(GuidedEditorElement* element); + + signals: + void inputChanged(); public slots: + void dataChanged(); private: + // layout + std::unique_ptr layout; // widget container + //? // title label + std::unique_ptr title; // example/regex label + std::unique_ptr example; // mouseover description? + std::unique_ptr description; // input field based on element type + std::unique_ptr input; + std::unique_ptr combobox; // layer information + std::shared_ptr layer; }; #endif // GUIDEDEDITORELEMENTVIEW_H