31 cfg.insert(
"CheckedState", leCheckedState->text() );
32 cfg.insert(
"UncheckedState", leUncheckedState->text() );
39 leCheckedState->setText( config.value(
"CheckedState" ).toString() );
40 leUncheckedState->setText( config.value(
"UncheckedState" ).toString() );
QgsEditorWidgetConfig config() override
Create a configuration from the current GUI state.
void setConfig(const QgsEditorWidgetConfig &config) override
Update the configuration widget to represent the given configuration.
QgsCheckBoxConfigDlg(QgsVectorLayer *vl, int fieldIdx, QWidget *parent=nullptr)
QVariantMap QgsEditorWidgetConfig
Holds a set of configuration parameters for a editor widget wrapper.
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Represents a vector layer which manages a vector based data sets.