Ardour  9.0-pre0-822-g12e3bc5c20
PlaylistSelector Class Reference

#include <playlist_selector.h>

Inheritance diagram for PlaylistSelector:
[legend]

Classes

struct  ModelColumns
 

Public Types

enum  plMode { plSelect , plCopy , plShare , plSteal }
 

Public Member Functions

 PlaylistSelector ()
 
 ~PlaylistSelector ()
 
void redisplay ()
 
void prepare (RouteUI *, plMode in)
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (const std::string &title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, const std::string &title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
virtual void on_response (int)
 
void set_ui_sensitive (bool)
 
void disallow_idle ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 

Protected Member Functions

bool on_key_press_event (GdkEventKey *)
 
- Protected Member Functions inherited from ArdourDialog
void pop_splash ()
 
void close_self ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Private Types

typedef std::map< PBD::ID, std::vector< std::shared_ptr< ARDOUR::Playlist > > * > TrackPlaylistMap
 

Private Member Functions

void new_plist_button_clicked ()
 
void copy_plist_button_clicked ()
 
void pl_property_changed (PBD::PropertyChange const &what_changed)
 
void add_playlist_to_map (std::shared_ptr< ARDOUR::Playlist >)
 
void playlist_added ()
 
void clear_map ()
 
void ok_button_click ()
 
void selection_changed ()
 

Private Attributes

Gtk::HBox _scope_container
 
Gtk::HBox * _scope_box
 
Gtk::RadioButton * _scope_all_radio
 
Gtk::RadioButton * _scope_rec_radio
 
Gtk::RadioButton * _scope_grp_radio
 
Gtk::HBox _button_box
 
ArdourWidgets::ArdourButton _btn_new_plist
 
ArdourWidgets::ArdourButton _btn_copy_plist
 
TrackPlaylistMap _trpl_map
 
RouteUI_rui
 
plMode _mode
 
ModelColumns columns
 
Glib::RefPtr< Gtk::TreeStore > model
 
Gtk::TreeView tree
 
PBD::ScopedConnectionList _track_connections
 
PBD::ScopedConnectionList _playlist_connections
 
bool _ignore_selection
 

Additional Inherited Members

- Protected Attributes inherited from ArdourDialog
bool _sensitive
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 58 of file playlist_selector.h.

Member Typedef Documentation

◆ TrackPlaylistMap

typedef std::map<PBD::ID, std::vector<std::shared_ptr<ARDOUR::Playlist> >*> PlaylistSelector::TrackPlaylistMap
private

Definition at line 78 of file playlist_selector.h.

Member Enumeration Documentation

◆ plMode

Enumerator
plSelect 
plCopy 
plShare 
plSteal 

Definition at line 64 of file playlist_selector.h.

Constructor & Destructor Documentation

◆ PlaylistSelector()

PlaylistSelector::PlaylistSelector ( )

◆ ~PlaylistSelector()

PlaylistSelector::~PlaylistSelector ( )

Member Function Documentation

◆ add_playlist_to_map()

void PlaylistSelector::add_playlist_to_map ( std::shared_ptr< ARDOUR::Playlist )
private

◆ clear_map()

void PlaylistSelector::clear_map ( )
private

◆ copy_plist_button_clicked()

void PlaylistSelector::copy_plist_button_clicked ( )
private

◆ new_plist_button_clicked()

void PlaylistSelector::new_plist_button_clicked ( )
private

◆ ok_button_click()

void PlaylistSelector::ok_button_click ( )
private

◆ on_key_press_event()

bool PlaylistSelector::on_key_press_event ( GdkEventKey *  )
protected

◆ pl_property_changed()

void PlaylistSelector::pl_property_changed ( PBD::PropertyChange const &  what_changed)
private

◆ playlist_added()

void PlaylistSelector::playlist_added ( )
private

◆ prepare()

void PlaylistSelector::prepare ( RouteUI ,
plMode  in 
)

◆ redisplay()

void PlaylistSelector::redisplay ( )

◆ selection_changed()

void PlaylistSelector::selection_changed ( )
private

Member Data Documentation

◆ _btn_copy_plist

ArdourWidgets::ArdourButton PlaylistSelector::_btn_copy_plist
private

Definition at line 99 of file playlist_selector.h.

◆ _btn_new_plist

ArdourWidgets::ArdourButton PlaylistSelector::_btn_new_plist
private

Definition at line 98 of file playlist_selector.h.

◆ _button_box

Gtk::HBox PlaylistSelector::_button_box
private

Definition at line 96 of file playlist_selector.h.

◆ _ignore_selection

bool PlaylistSelector::_ignore_selection
private

Definition at line 124 of file playlist_selector.h.

◆ _mode

plMode PlaylistSelector::_mode
private

Definition at line 103 of file playlist_selector.h.

◆ _playlist_connections

PBD::ScopedConnectionList PlaylistSelector::_playlist_connections
private

Definition at line 122 of file playlist_selector.h.

◆ _rui

RouteUI* PlaylistSelector::_rui
private

Definition at line 102 of file playlist_selector.h.

◆ _scope_all_radio

Gtk::RadioButton* PlaylistSelector::_scope_all_radio
private

Definition at line 93 of file playlist_selector.h.

◆ _scope_box

Gtk::HBox* PlaylistSelector::_scope_box
private

Definition at line 92 of file playlist_selector.h.

◆ _scope_container

Gtk::HBox PlaylistSelector::_scope_container
private

Definition at line 91 of file playlist_selector.h.

◆ _scope_grp_radio

Gtk::RadioButton* PlaylistSelector::_scope_grp_radio
private

Definition at line 95 of file playlist_selector.h.

◆ _scope_rec_radio

Gtk::RadioButton* PlaylistSelector::_scope_rec_radio
private

Definition at line 94 of file playlist_selector.h.

◆ _track_connections

PBD::ScopedConnectionList PlaylistSelector::_track_connections
private

Definition at line 121 of file playlist_selector.h.

◆ _trpl_map

TrackPlaylistMap PlaylistSelector::_trpl_map
private

Definition at line 101 of file playlist_selector.h.

◆ columns

ModelColumns PlaylistSelector::columns
private

Definition at line 117 of file playlist_selector.h.

◆ model

Glib::RefPtr<Gtk::TreeStore> PlaylistSelector::model
private

Definition at line 118 of file playlist_selector.h.

◆ tree

Gtk::TreeView PlaylistSelector::tree
private

Definition at line 119 of file playlist_selector.h.


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