Ardour  9.0-pre0-582-g084a23a80d
SourceListBase Class Reference

#include <source_list_base.h>

Inheritance diagram for SourceListBase:
[legend]

Public Member Functions

 SourceListBase ()
 
void set_session (ARDOUR::Session *)
 
- Public Member Functions inherited from RegionListBase
 RegionListBase ()
 
Gtk::Widgetwidget ()
 
void clear ()
 
void redisplay ()
 
void suspend_redisplay ()
 
void resume_redisplay ()
 
void block_change_connection (bool b)
 
void unselect_all ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 

Protected Member Functions

void name_edit (const std::string &, const std::string &)
 
void tag_edit (const std::string &, const std::string &)
 
bool list_region (std::shared_ptr< ARDOUR::Region >) const
 
- Protected Member Functions inherited from RegionListBase
void add_name_column ()
 
void add_tag_column ()
 
template<class T >
Gtk::TreeViewColumnappend_col (Gtk::TreeModelColumn< T > const &col, int width)
 
template<class T >
Gtk::TreeViewColumnappend_col (Gtk::TreeModelColumn< T > const &col, std::string const &sizing_text)
 
void setup_col (Gtk::TreeViewColumn *, int, Gtk::AlignmentEnum, const char *, const char *, bool require_mod_to_edit=false)
 
void setup_toggle (Gtk::TreeViewColumn *, sigc::slot< void, std::string >)
 
void freeze_tree_model ()
 
void thaw_tree_model ()
 
void remove_weak_region (std::weak_ptr< ARDOUR::Region >)
 
virtual void regions_changed (std::shared_ptr< ARDOUR::RegionList >, PBD::PropertyChange const &)
 
void name_editing_started (Gtk::CellEditable *, const Glib::ustring &)
 
void name_editing_canceled ()
 
void tag_editing_started (Gtk::CellEditable *, const Glib::ustring &)
 
void tag_editing_canceled ()
 
void locked_changed (std::string const &)
 
void muted_changed (std::string const &)
 
void opaque_changed (std::string const &)
 
virtual bool key_press (GdkEventKey *)
 
virtual bool button_press (GdkEventButton *)
 
bool focus_in (GdkEventFocus *)
 
bool focus_out (GdkEventFocus *)
 
bool enter_notify (GdkEventCrossing *)
 
bool leave_notify (GdkEventCrossing *)
 
void format_position (Temporal::timepos_t const &pos, char *buf, size_t bufsize, bool onoff=true) const
 
void add_region (std::shared_ptr< ARDOUR::Region >)
 
void populate_row (std::shared_ptr< ARDOUR::Region >, Gtk::TreeModel::Row const &, PBD::PropertyChange const &)
 
void populate_row_used (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_position (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_end (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_sync (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_fade_in (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row, std::shared_ptr< ARDOUR::AudioRegion >)
 
void populate_row_fade_out (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row, std::shared_ptr< ARDOUR::AudioRegion >)
 
void populate_row_locked (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_muted (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_opaque (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_length (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_name (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void populate_row_source (std::shared_ptr< ARDOUR::Region > region, Gtk::TreeModel::Row const &row)
 
void clock_format_changed ()
 
void drag_begin (Glib::RefPtr< Gdk::DragContext > const &)
 
void drag_end (Glib::RefPtr< Gdk::DragContext > const &)
 
void drag_data_get (Glib::RefPtr< Gdk::DragContext > const &, Gtk::SelectionData &, guint, guint)
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Private Member Functions

void remove_source (std::shared_ptr< ARDOUR::Source >)
 
void remove_weak_source (std::weak_ptr< ARDOUR::Source >)
 

Additional Inherited Members

- Protected Types inherited from RegionListBase
typedef std::unordered_map< std::shared_ptr< ARDOUR::Region >, Gtk::TreeModel::iteratorRegionRowMap
 
- Protected Attributes inherited from RegionListBase
Columns _columns
 
int _sort_col_id
 
Gtk::SortType _sort_type
 
Gtk::CellEditable_name_editable
 
Gtk::CellEditable_tags_editable
 
Gtk::Widget_old_focus
 
Gtk::ScrolledWindow _scroller
 
Gtk::Frame _frame
 
Gtkmm2ext::DnDTreeView< std::shared_ptr< ARDOUR::Region > > _display
 
Glib::RefPtr< Gtk::TreeStore_model
 
bool _no_redisplay
 
RegionRowMap region_row_map
 
sigc::connection _change_connection
 
PBD::ScopedConnection _editor_freeze_connection
 
PBD::ScopedConnection _editor_thaw_connection
 
PBD::ScopedConnectionList _remove_region_connections
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 23 of file source_list_base.h.

Constructor & Destructor Documentation

◆ SourceListBase()

SourceListBase::SourceListBase ( )

Member Function Documentation

◆ list_region()

bool SourceListBase::list_region ( std::shared_ptr< ARDOUR::Region ) const
protectedvirtual

Reimplemented from RegionListBase.

◆ name_edit()

void SourceListBase::name_edit ( const std::string &  ,
const std::string &   
)
protectedvirtual

Reimplemented from RegionListBase.

◆ remove_source()

void SourceListBase::remove_source ( std::shared_ptr< ARDOUR::Source )
private

◆ remove_weak_source()

void SourceListBase::remove_weak_source ( std::weak_ptr< ARDOUR::Source )
private

◆ set_session()

void SourceListBase::set_session ( ARDOUR::Session )
virtual

Reimplemented from RegionListBase.

◆ tag_edit()

void SourceListBase::tag_edit ( const std::string &  ,
const std::string &   
)
protectedvirtual

Reimplemented from RegionListBase.


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