Ardour  9.0-pre0-582-g084a23a80d
BoolComboOption Class Reference

#include <option_editor.h>

Inheritance diagram for BoolComboOption:
[legend]

Public Member Functions

 BoolComboOption (std::string const &, std::string const &, std::string const &, std::string const &, sigc::slot< bool >, sigc::slot< bool, bool >)
 
void set_state_from_config ()
 
void add_to_page (OptionEditorPage *)
 
void changed ()
 
void set_sensitive (bool)
 
Gtk::Widgettip_widget ()
 
- Public Member Functions inherited from Option
 Option (std::string const &i, std::string const &n)
 
void parameter_changed (std::string const &p)
 
std::string id () const
 
- Public Member Functions inherited from OptionEditorComponent
 OptionEditorComponent ()
 
virtual ~OptionEditorComponent ()
 
void add_widget_to_page (OptionEditorPage *, Gtk::Widget *)
 
void add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *, bool expand=true)
 
void set_note (std::string const &)
 
virtual PBD::Configuration::Metadata const * get_metadata () const
 
void set_metadata (PBD::Configuration::Metadata const &)
 
void highlight ()
 
void end_highlight ()
 

Private Attributes

sigc::slot< bool > _get
 
sigc::slot< bool, bool > _set
 
Gtk::Label_label
 
Gtk::ComboBoxText_combo
 

Additional Inherited Members

- Protected Member Functions inherited from OptionEditorComponent
void maybe_add_note (OptionEditorPage *, int)
 
- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 
- Protected Attributes inherited from OptionEditorComponent
std::string _note
 
ArdourWidgets::Frame_frame
 
PBD::Configuration::Metadata const * _metadata
 

Detailed Description

Component which provides the UI to handle a boolean option which needs to be represented as a ComboBox to be clear to the user.

Definition at line 487 of file option_editor.h.

Constructor & Destructor Documentation

◆ BoolComboOption()

BoolComboOption::BoolComboOption ( std::string const &  ,
std::string const &  ,
std::string const &  ,
std::string const &  ,
sigc::slot< bool >  ,
sigc::slot< bool, bool >   
)

Member Function Documentation

◆ add_to_page()

void BoolComboOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

◆ changed()

void BoolComboOption::changed ( )

◆ set_sensitive()

void BoolComboOption::set_sensitive ( bool  )

◆ set_state_from_config()

void BoolComboOption::set_state_from_config ( )
virtual

Called to instruct the object to set its UI state from the configuration

Implements Option.

◆ tip_widget()

Gtk::Widget& BoolComboOption::tip_widget ( )
inlinevirtual

Implements OptionEditorComponent.

Definition at line 504 of file option_editor.h.

Member Data Documentation

◆ _combo

Gtk::ComboBoxText* BoolComboOption::_combo
private

Definition at line 510 of file option_editor.h.

◆ _get

sigc::slot<bool> BoolComboOption::_get
private

Definition at line 507 of file option_editor.h.

◆ _label

Gtk::Label* BoolComboOption::_label
private

Definition at line 509 of file option_editor.h.

◆ _set

sigc::slot<bool, bool> BoolComboOption::_set
private

Definition at line 508 of file option_editor.h.


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