Ardour
9.0-pre0-582-g084a23a80d
|
MetadataField that contains text. More...
#include <session_metadata_dialog.h>
Public Member Functions | |
TextMetadataField (Getter getter, Setter setter, std::string const &field_name, guint width=50) | |
MetadataPtr | copy () |
void | save_data (ARDOUR::SessionMetadata &data) const |
void | load_data (ARDOUR::SessionMetadata const &data) |
Gtk::Widget & | name_widget () |
Get widget containing name of field. More... | |
Gtk::Widget & | value_widget () |
Get label containing value of field. More... | |
Gtk::Widget & | edit_widget () |
Get widget for editing value. More... | |
Public Member Functions inherited from MetadataField | |
MetadataField (std::string const &field_name) | |
virtual | ~MetadataField () |
virtual std::string | name () |
virtual std::string | value () |
Protected Types | |
typedef std::string(ARDOUR::SessionMetadata::* | Getter) () const |
typedef void(ARDOUR::SessionMetadata::* | Setter) (std::string const &) |
Protected Member Functions | |
void | update_value () |
Protected Attributes | |
Getter | getter |
Setter | setter |
Gtk::Label * | label |
Gtk::Label * | value_label |
Gtk::Entry * | entry |
guint | width |
Protected Attributes inherited from MetadataField | |
std::string | _name |
std::string | _value |
MetadataField that contains text.
Definition at line 79 of file session_metadata_dialog.h.
|
protected |
Definition at line 82 of file session_metadata_dialog.h.
|
protected |
Definition at line 83 of file session_metadata_dialog.h.
TextMetadataField::TextMetadataField | ( | Getter | getter, |
Setter | setter, | ||
std::string const & | field_name, | ||
guint | width = 50 |
||
) |
|
virtual |
Implements MetadataField.
Reimplemented in LongTextMetadataField.
|
virtual |
|
virtual |
Implements MetadataField.
|
virtual |
Get widget containing name of field.
Implements MetadataField.
|
virtual |
Implements MetadataField.
|
protected |
|
virtual |
Get label containing value of field.
Implements MetadataField.
|
protected |
Definition at line 102 of file session_metadata_dialog.h.
|
protected |
Definition at line 97 of file session_metadata_dialog.h.
|
protected |
Definition at line 100 of file session_metadata_dialog.h.
|
protected |
Definition at line 98 of file session_metadata_dialog.h.
|
protected |
Definition at line 101 of file session_metadata_dialog.h.
|
protected |
Definition at line 104 of file session_metadata_dialog.h.