ardour
|
#include <option_editor.h>
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::Widget & | tip_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 | |
virtual | ~OptionEditorComponent () |
void | add_widget_to_page (OptionEditorPage *, Gtk::Widget *) |
void | add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *) |
void | set_note (std::string const &) |
Private Attributes | |
sigc::slot< bool > | _get |
sigc::slot< bool, bool > | _set |
Gtk::Label * | _label |
Gtk::ComboBoxText * | _combo |
Additional Inherited Members | |
Protected Attributes inherited from Option | |
std::string | _id |
std::string | _name |
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 463 of file option_editor.h.
BoolComboOption::BoolComboOption | ( | std::string const & | , |
std::string const & | , | ||
std::string const & | , | ||
std::string const & | , | ||
sigc::slot< bool > | , | ||
sigc::slot< bool, bool > | |||
) |
Construct a BoolComboOption.
i | id |
n | User-visible name. |
t | Text to give for the variable being true. |
f | Text to give for the variable being false. |
g | Slot to get the variable's value. |
s | Slot to set the variable's value. |
Definition at line 221 of file option_editor.cc.
|
virtual |
Called to instruct the object to add itself to an OptionEditorPage
Implements Option.
Definition at line 248 of file option_editor.cc.
void BoolComboOption::changed | ( | ) |
Definition at line 254 of file option_editor.cc.
void BoolComboOption::set_sensitive | ( | bool | yn | ) |
Definition at line 260 of file option_editor.cc.
|
virtual |
Called to instruct the object to set its UI state from the configuration
Implements Option.
Definition at line 242 of file option_editor.cc.
|
inlinevirtual |
Implements OptionEditorComponent.
Definition at line 481 of file option_editor.h.
|
private |
Definition at line 488 of file option_editor.h.
|
private |
Definition at line 485 of file option_editor.h.
|
private |
Definition at line 487 of file option_editor.h.
|
private |
Definition at line 486 of file option_editor.h.