QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
16 #ifndef QGSTEXTEDITWRAPPER_H
17 #define QGSTEXTEDITWRAPPER_H
22 #include <QPlainTextEdit>
23 #include <QTextBrowser>
60 QVariant
value()
const override;
75 void setHint(
const QString &hintText )
override;
80 bool valid()
const override;
87 void textChanged(
const QString &text );
90 bool mutable mInvalidJSON =
false;
92 void updateValues(
const QVariant &val,
const QVariantList & = QVariantList() )
override;
94 QTextBrowser *mTextBrowser =
nullptr;
95 QTextEdit *mTextEdit =
nullptr;
96 QPlainTextEdit *mPlainTextEdit =
nullptr;
97 QLineEdit *mLineEdit =
nullptr;
98 QPalette mReadOnlyPalette;
99 QPalette mWritablePalette;
100 QString mPlaceholderText;
101 QString mPlaceholderTextBackup;
103 void setWidgetValue(
const QVariant &value );
106 #endif // QGSTEXTEDITWRAPPER_H