#ifndef GUIDEDEDITORELEMENTVIEW_H #define GUIDEDEDITORELEMENTVIEW_H #include "guidededitorelement.h" #include #include #include #include "guidededitorlayer.h" #include #include #include class GuidedEditorElementView : public QWidget { Q_OBJECT 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