8 :
public ValueMixin<LineEdit, std::string, LineEditBuilder>
11 using ValueMixin::ValueMixin;
15 :
public ValueMixin<ComboBox, std::string, ComboBoxBuilder>
18 using ValueMixin::ValueMixin;
34 if (!w.options.empty())
36 const auto it = std::find(
39 getSingleValue<std::string>(w.defaultValue)
41 if (it == w.options.end())
43 w.defaultValue =
makeValue(w.options.front());