28 cfg.insert(
"CheckedState", leCheckedState->text() );
29 cfg.insert(
"UncheckedState", leUncheckedState->text() );
36 leCheckedState->setText( config.value(
"CheckedState" ).toString() );
37 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=0)
Represents a vector layer which manages a vector based data sets.