ardour
|
#include <option_editor.h>
Public Member Functions | |
ComboOption (std::string const &i, std::string const &n, sigc::slot< T > g, sigc::slot< bool, T > s) | |
void | set_state_from_config () |
void | add_to_page (OptionEditorPage *p) |
void | add (T e, std::string const &o) |
void | clear () |
void | changed () |
void | set_sensitive (bool yn) |
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< T > | _get |
sigc::slot< bool, T > | _set |
Gtk::Label * | _label |
Gtk::ComboBoxText * | _combo |
std::vector< T > | _options |
Additional Inherited Members | |
Protected Attributes inherited from Option | |
std::string | _id |
std::string | _name |
Component which provides the UI to handle an enumerated option using a GTK ComboBox. The template parameter is the enumeration.
Definition at line 240 of file option_editor.h.
|
inline |
Construct an ComboOption.
i | id |
n | User-visible name. |
g | Slot to get the variable's value. |
s | Slot to set the variable's value. |
Definition at line 250 of file option_editor.h.
|
inline |
Add an allowed value for this option.
e | Enumeration. |
o | User-visible name for this value. |
Definition at line 286 of file option_editor.h.
|
inlinevirtual |
Called to instruct the object to add itself to an OptionEditorPage
Implements Option.
Definition at line 277 of file option_editor.h.
|
inline |
Definition at line 296 of file option_editor.h.
|
inline |
Definition at line 291 of file option_editor.h.
|
inline |
Definition at line 303 of file option_editor.h.
|
inlinevirtual |
Called to instruct the object to set its UI state from the configuration
Implements Option.
Definition at line 266 of file option_editor.h.
|
inlinevirtual |
Implements OptionEditorComponent.
Definition at line 307 of file option_editor.h.
|
private |
Definition at line 314 of file option_editor.h.
|
private |
Definition at line 311 of file option_editor.h.
|
private |
Definition at line 313 of file option_editor.h.
|
private |
Definition at line 315 of file option_editor.h.
|
private |
Definition at line 312 of file option_editor.h.