27 mDisplayAsTextComboBox->setCurrentIndex( 0 );
33 if ( vl->
fields().
at( fieldIdx ).
type() == QMetaType::Type::Bool )
35 leCheckedState->setEnabled(
false );
36 leUncheckedState->setEnabled(
false );
38 leCheckedState->setPlaceholderText( QStringLiteral(
"TRUE" ) );
39 leUncheckedState->setPlaceholderText( QStringLiteral(
"FALSE" ) );
47 cfg.insert( QStringLiteral(
"CheckedState" ), leCheckedState->text() );
48 cfg.insert( QStringLiteral(
"UncheckedState" ), leUncheckedState->text() );
49 cfg.insert( QStringLiteral(
"TextDisplayMethod" ), mDisplayAsTextComboBox->currentData().toInt() );
50 cfg.insert( QStringLiteral(
"AllowNullState" ), mAllowNullState->isChecked() );