Ardour  9.0-pre0-582-g084a23a80d
LongTextMetadataField Class Reference

MetadataField that contains longform text. More...

#include <session_metadata_dialog.h>

Inheritance diagram for LongTextMetadataField:
[legend]

Public Member Functions

 LongTextMetadataField (Getter getter, Setter setter, std::string const &field_name, guint width=50)
 
MetadataPtr copy ()
 
Gtk::Widgetedit_widget ()
 Get widget for editing value. More...
 
- Public Member Functions inherited from TextMetadataField
 TextMetadataField (Getter getter, Setter setter, std::string const &field_name, guint width=50)
 
void save_data (ARDOUR::SessionMetadata &data) const
 
void load_data (ARDOUR::SessionMetadata const &data)
 
Gtk::Widgetname_widget ()
 Get widget containing name of field. More...
 
Gtk::Widgetvalue_widget ()
 Get label containing value of field. More...
 
- Public Member Functions inherited from MetadataField
 MetadataField (std::string const &field_name)
 
virtual ~MetadataField ()
 
virtual std::string name ()
 
virtual std::string value ()
 

Private Member Functions

void update_value ()
 

Private Attributes

Gtk::TextViewtview
 

Additional Inherited Members

- Protected Types inherited from TextMetadataField
typedef std::string(ARDOUR::SessionMetadata::* Getter) () const
 
typedef void(ARDOUR::SessionMetadata::* Setter) (std::string const &)
 
- Protected Member Functions inherited from TextMetadataField
void update_value ()
 
- Protected Attributes inherited from TextMetadataField
Getter getter
 
Setter setter
 
Gtk::Labellabel
 
Gtk::Labelvalue_label
 
Gtk::Entryentry
 
guint width
 
- Protected Attributes inherited from MetadataField
std::string _name
 
std::string _value
 

Detailed Description

MetadataField that contains longform text.

Definition at line 108 of file session_metadata_dialog.h.

Constructor & Destructor Documentation

◆ LongTextMetadataField()

LongTextMetadataField::LongTextMetadataField ( Getter  getter,
Setter  setter,
std::string const &  field_name,
guint  width = 50 
)

Member Function Documentation

◆ copy()

MetadataPtr LongTextMetadataField::copy ( )
virtual

Reimplemented from TextMetadataField.

◆ edit_widget()

Gtk::Widget& LongTextMetadataField::edit_widget ( )
virtual

Get widget for editing value.

Reimplemented from TextMetadataField.

◆ update_value()

void LongTextMetadataField::update_value ( )
private

Member Data Documentation

◆ tview

Gtk::TextView* LongTextMetadataField::tview
private

Definition at line 118 of file session_metadata_dialog.h.


The documentation for this class was generated from the following file: