Ardour  9.0-pre0-582-g084a23a80d
SearchPathOption Class Reference

#include <search_path_option.h>

Inheritance diagram for SearchPathOption:
[legend]

Classes

struct  PathEntry
 

Public Member Functions

 SearchPathOption (const std::string &pathname, const std::string &label, const std::string &default_path, sigc::slot< std::string >, sigc::slot< bool, std::string >)
 
 ~SearchPathOption ()
 
void set_state_from_config ()
 
void add_to_page (OptionEditorPage *)
 
void clear ()
 
Gtk::Widgettip_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
 OptionEditorComponent ()
 
virtual ~OptionEditorComponent ()
 
void add_widget_to_page (OptionEditorPage *, Gtk::Widget *)
 
void add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *, bool expand=true)
 
void set_note (std::string const &)
 
virtual PBD::Configuration::Metadata const * get_metadata () const
 
void set_metadata (PBD::Configuration::Metadata const &)
 
void highlight ()
 
void end_highlight ()
 

Protected Member Functions

void add_path (const std::string &path, bool removable=true)
 
void remove_path (PathEntry *)
 
void changed ()
 
void path_chosen ()
 
- Protected Member Functions inherited from OptionEditorComponent
void maybe_add_note (OptionEditorPage *, int)
 

Protected Attributes

sigc::slot< std::string > _get
 slot to get the configuration variable's value More...
 
sigc::slot< bool, std::string > _set
 slot to set the configuration variable's value More...
 
std::list< PathEntry * > paths
 
Gtk::FileChooserButton add_chooser
 
Gtk::VBox vbox
 
Gtk::VBox path_box
 
Gtk::Label session_label
 
- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 
- Protected Attributes inherited from OptionEditorComponent
std::string _note
 
ArdourWidgets::Frame_frame
 
PBD::Configuration::Metadata const * _metadata
 

Detailed Description

Definition at line 30 of file search_path_option.h.

Constructor & Destructor Documentation

◆ SearchPathOption()

SearchPathOption::SearchPathOption ( const std::string &  pathname,
const std::string &  label,
const std::string &  default_path,
sigc::slot< std::string >  ,
sigc::slot< bool, std::string >   
)

◆ ~SearchPathOption()

SearchPathOption::~SearchPathOption ( )

Member Function Documentation

◆ add_path()

void SearchPathOption::add_path ( const std::string &  path,
bool  removable = true 
)
protected

◆ add_to_page()

void SearchPathOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

◆ changed()

void SearchPathOption::changed ( )
protected

◆ clear()

void SearchPathOption::clear ( )

◆ path_chosen()

void SearchPathOption::path_chosen ( )
protected

◆ remove_path()

void SearchPathOption::remove_path ( PathEntry )
protected

◆ set_state_from_config()

void SearchPathOption::set_state_from_config ( )
virtual

Called to instruct the object to set its UI state from the configuration

Implements Option.

◆ tip_widget()

Gtk::Widget& SearchPathOption::tip_widget ( )
inlinevirtual

Implements OptionEditorComponent.

Definition at line 42 of file search_path_option.h.

Member Data Documentation

◆ _get

sigc::slot<std::string> SearchPathOption::_get
protected

slot to get the configuration variable's value

Definition at line 45 of file search_path_option.h.

◆ _set

sigc::slot<bool, std::string> SearchPathOption::_set
protected

slot to set the configuration variable's value

Definition at line 46 of file search_path_option.h.

◆ add_chooser

Gtk::FileChooserButton SearchPathOption::add_chooser
protected

Definition at line 60 of file search_path_option.h.

◆ path_box

Gtk::VBox SearchPathOption::path_box
protected

Definition at line 62 of file search_path_option.h.

◆ paths

std::list<PathEntry*> SearchPathOption::paths
protected

Definition at line 59 of file search_path_option.h.

◆ session_label

Gtk::Label SearchPathOption::session_label
protected

Definition at line 63 of file search_path_option.h.

◆ vbox

Gtk::VBox SearchPathOption::vbox
protected

Definition at line 61 of file search_path_option.h.


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