Definition at line 144 of file business-options-gnome.cpp.
◆ GncGtkTaxTableUIItem()
| GncGtkTaxTableUIItem::GncGtkTaxTableUIItem |
( |
GtkWidget * | widget | ) |
|
|
inlineexplicit |
◆ set_option_from_ui_item()
| void GncGtkTaxTableUIItem::set_option_from_ui_item |
( |
GncOption & | option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 159 of file business-options-gnome.cpp.
160 {
161 auto taxtable{gnc_simple_combo_get_value(GTK_COMBO_BOX(get_widget()))};
162 option.set_value<const QofInstance*>(qof_instance_cast(taxtable));
163 }
◆ set_ui_item_from_option()
| void GncGtkTaxTableUIItem::set_ui_item_from_option |
( |
GncOption & | option | ) |
|
|
inlineoverridevirtualnoexcept |
Implements GncOptionUIItem.
Definition at line 149 of file business-options-gnome.cpp.
150 {
151 auto taxtable{option.get_value<const QofInstance*>()};
152 if (taxtable)
153 gnc_simple_combo_set_value(GTK_COMBO_BOX(get_widget()),
154 GNC_TAXTABLE(taxtable));
155 else
156 gnc_simple_combo_set_value(GTK_COMBO_BOX(get_widget()),
157 nullptr);
158 }
The documentation for this class was generated from the following file: