Ardour
9.0-pre0-582-g084a23a80d
|
MetadataField that accepts EAN-13 data only. More...
#include <session_metadata_dialog.h>
Public Member Functions | |
EAN13MetadataField (Getter getter, Setter setter, std::string const &field_name, guint width=13) | |
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... | |
void | update_status () |
Public Member Functions inherited from MetadataField | |
MetadataField (std::string const &field_name) | |
virtual | ~MetadataField () |
virtual std::string | name () |
virtual std::string | value () |
Public Attributes | |
Gtk::Label * | status_label |
Private Types | |
typedef std::string(ARDOUR::SessionMetadata::* | Getter) () const |
typedef void(ARDOUR::SessionMetadata::* | Setter) (std::string const &) |
Private Member Functions | |
void | update_value () |
std::string | numeric_string (std::string const &str) const |
Private Attributes | |
Getter | getter |
Setter | setter |
Gtk::Label * | label |
Gtk::Label * | value_label |
Gtk::Entry * | entry |
guint | width |
Additional Inherited Members | |
Protected Attributes inherited from MetadataField | |
std::string | _name |
std::string | _value |
MetadataField that accepts EAN-13 data only.
Definition at line 154 of file session_metadata_dialog.h.
|
private |
Definition at line 157 of file session_metadata_dialog.h.
|
private |
Definition at line 158 of file session_metadata_dialog.h.
EAN13MetadataField::EAN13MetadataField | ( | Getter | getter, |
Setter | setter, | ||
std::string const & | field_name, | ||
guint | width = 13 |
||
) |
|
virtual |
Implements MetadataField.
|
virtual |
Get widget for editing value.
Implements MetadataField.
|
virtual |
Implements MetadataField.
|
virtual |
Get widget containing name of field.
Implements MetadataField.
|
private |
|
virtual |
Implements MetadataField.
void EAN13MetadataField::update_status | ( | ) |
|
private |
|
virtual |
Get label containing value of field.
Implements MetadataField.
|
private |
Definition at line 181 of file session_metadata_dialog.h.
|
private |
Definition at line 176 of file session_metadata_dialog.h.
|
private |
Definition at line 179 of file session_metadata_dialog.h.
|
private |
Definition at line 177 of file session_metadata_dialog.h.
Gtk::Label* EAN13MetadataField::status_label |
Definition at line 170 of file session_metadata_dialog.h.
|
private |
Definition at line 180 of file session_metadata_dialog.h.
|
private |
Definition at line 183 of file session_metadata_dialog.h.