Ardour
9.0-pre0-582-g084a23a80d
|
Wraps a metadata field to be used in a GUI. More...
#include <session_metadata_dialog.h>
Public Member Functions | |
MetadataField (std::string const &field_name) | |
virtual | ~MetadataField () |
virtual MetadataPtr | copy ()=0 |
virtual void | save_data (ARDOUR::SessionMetadata &data) const =0 |
virtual void | load_data (ARDOUR::SessionMetadata const &data)=0 |
virtual std::string | name () |
virtual std::string | value () |
virtual Gtk::Widget & | name_widget ()=0 |
Get widget containing name of field. More... | |
virtual Gtk::Widget & | value_widget ()=0 |
Get label containing value of field. More... | |
virtual Gtk::Widget & | edit_widget ()=0 |
Get widget for editing value. More... | |
Protected Attributes | |
std::string | _name |
std::string | _value |
Wraps a metadata field to be used in a GUI.
Definition at line 54 of file session_metadata_dialog.h.
MetadataField::MetadataField | ( | std::string const & | field_name | ) |
|
virtual |
|
pure virtual |
Implemented in EAN13MetadataField, NumberMetadataField, LongTextMetadataField, and TextMetadataField.
|
pure virtual |
Get widget for editing value.
Implemented in EAN13MetadataField, NumberMetadataField, LongTextMetadataField, and TextMetadataField.
|
pure virtual |
Implemented in EAN13MetadataField, NumberMetadataField, and TextMetadataField.
|
inlinevirtual |
Definition at line 64 of file session_metadata_dialog.h.
|
pure virtual |
Get widget containing name of field.
Implemented in EAN13MetadataField, NumberMetadataField, and TextMetadataField.
|
pure virtual |
Implemented in EAN13MetadataField, NumberMetadataField, and TextMetadataField.
|
inlinevirtual |
Definition at line 65 of file session_metadata_dialog.h.
|
pure virtual |
Get label containing value of field.
Implemented in EAN13MetadataField, NumberMetadataField, and TextMetadataField.
|
protected |
Definition at line 74 of file session_metadata_dialog.h.
|
protected |
Definition at line 75 of file session_metadata_dialog.h.