31 cfg.insert( QStringLiteral(
"IsMultiline" ), mIsMultiline->isChecked() );
32 cfg.insert( QStringLiteral(
"UseHtml" ), mUseHtml->isChecked() );
void setConfig(const QVariantMap &config) override
Update the configuration widget to represent the given configuration.
QVariantMap config() override
Create a configuration from the current GUI state.
QgsTextEditConfigDlg(QgsVectorLayer *vl, int fieldIdx, QWidget *parent=nullptr)