GnuCash c935c2f+
Loading...
Searching...
No Matches
Public Member Functions
GncGtkPlotSizeUIItem Class Reference
Inheritance diagram for GncGtkPlotSizeUIItem:
GncOptionGtkUIItem GncOptionUIItem

Public Member Functions

 GncGtkPlotSizeUIItem (PlotSizePtr &&plot_size)
 
void set_ui_item_from_option (GncOption &option) noexcept override
 
void set_option_from_ui_item (GncOption &option) noexcept override
 
PlotSizeget_plot_size ()
 
- Public Member Functions inherited from GncOptionGtkUIItem
 GncOptionGtkUIItem (GtkWidget *widget, GncOptionUIType type)
 
 GncOptionGtkUIItem (const GncOptionGtkUIItem &item)
 
 GncOptionGtkUIItem (GncOptionGtkUIItem &&)=default
 
virtual void set_selectable (bool) const noexcept override
 Control wether the widget is sensitive.
 
void clear_ui_item () override
 Clear the data from the widget.
 
void set_widget (GtkWidget *widget)
 
virtual GtkWidget * get_widget () const
 
virtual SCM get_widget_scm_value (const GncOption &) const
 
- Public Member Functions inherited from GncOptionUIItem
 GncOptionUIItem (GncOptionUIType type)
 
GncOptionUIType get_ui_type () const noexcept
 
virtual void set_dirty (bool status) noexcept
 
virtual bool get_dirty () const noexcept
 

Detailed Description

Definition at line 1827 of file gnc-option-gtk-ui.cpp.

Constructor & Destructor Documentation

◆ GncGtkPlotSizeUIItem()

GncGtkPlotSizeUIItem::GncGtkPlotSizeUIItem ( PlotSizePtr &&  plot_size)
inline

Definition at line 1830 of file gnc-option-gtk-ui.cpp.

1830 :
1831 GncOptionGtkUIItem{plot_size->get_widget(), GncOptionUIType::PLOT_SIZE},
1832 m_plot_size{std::move(plot_size)} {}
class GncOptionGtkUIItem Gtk-specific Interface class for Option Widget

Member Function Documentation

◆ get_plot_size()

PlotSize * GncGtkPlotSizeUIItem::get_plot_size ( )
inline

Definition at line 1841 of file gnc-option-gtk-ui.cpp.

1841{ return m_plot_size.get(); }

◆ set_option_from_ui_item()

void GncGtkPlotSizeUIItem::set_option_from_ui_item ( GncOption option)
inlineoverridevirtualnoexcept

Implements GncOptionUIItem.

Definition at line 1837 of file gnc-option-gtk-ui.cpp.

1838 {
1839 m_plot_size->set_option_from_entry(option);
1840 }

◆ set_ui_item_from_option()

void GncGtkPlotSizeUIItem::set_ui_item_from_option ( GncOption option)
inlineoverridevirtualnoexcept

Implements GncOptionUIItem.

Definition at line 1833 of file gnc-option-gtk-ui.cpp.

1834 {
1835 m_plot_size->set_entry_from_option(option);
1836 }

The documentation for this class was generated from the following file: