#ifndef EDITORELEMENT_H #define EDITORELEMENT_H #include #include enum class ElementType { INPUT, CHOOSER, STATIC }; class GuidedEditorElement : public QObject { Q_OBJECT public: explicit GuidedEditorElement(QObject *parent = 0); ~GuidedEditorElement(); QString getTitle() const; void setTitle(const QString &value); QString getDescription() const; void setDescription(const QString &value); QString getExample() const; void setExample(const QString &value); QString getSyntaxregex() const; void setSyntaxregex(const QString &value); ElementType getType() const; void setType(const ElementType &value); QString getValue() const; void setValue(const QString &value); private: QString title; QString description; QString example; QString syntaxregex; ElementType type; QString value; }; #endif // EDITORELEMENT_H