16 #ifndef QGSTEXTEDITWRAPPER_H 17 #define QGSTEXTEDITWRAPPER_H 22 #include <QPlainTextEdit> 48 QVariant
value()
const override;
56 void setHint(
const QString &hintText )
override;
61 bool valid()
const override;
64 void setValue(
const QVariant &value )
override;
68 void textChanged(
const QString &text );
71 QTextEdit *mTextEdit =
nullptr;
72 QPlainTextEdit *mPlainTextEdit =
nullptr;
73 QLineEdit *mLineEdit =
nullptr;
74 QPalette mReadOnlyPalette;
75 QPalette mWritablePalette;
76 QString mPlaceholderText;
77 QString mPlaceholderTextBackup;
79 void setWidgetValue(
const QVariant &value );
82 #endif // QGSTEXTEDITWRAPPER_H
Represents a vector layer which manages a vector based data sets.