Ardour  9.0-pre0-582-g084a23a80d
EditorSections Class Reference

#include <editor_sections.h>

Inheritance diagram for EditorSections:
[legend]

Classes

struct  Columns
 
struct  Section
 

Public Member Functions

 EditorSections ()
 
void set_session (ARDOUR::Session *)
 
Gtk::Widgetwidget ()
 
void select (ARDOUR::Location *)
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 

Private Types

typedef std::unordered_map< ARDOUR::Location *, Gtk::TreeModel::iteratorLocationRowMap
 

Private Member Functions

void redisplay ()
 
void queue_redisplay ()
 
bool idle_redisplay ()
 
void location_changed (ARDOUR::Location *)
 
bool delete_selected_section ()
 
bool rename_selected_section ()
 
void update_time_selection ()
 
void selection_changed ()
 
void clock_format_changed ()
 
bool scroll_row_timeout ()
 
void show_context_menu (int, int)
 
bool key_press (GdkEventKey *)
 
bool button_press (GdkEventButton *)
 
bool enter_notify (GdkEventCrossing *)
 
bool leave_notify (GdkEventCrossing *)
 
void drag_data_get (Glib::RefPtr< Gdk::DragContext > const &, Gtk::SelectionData &, guint, guint)
 
void drag_begin (Glib::RefPtr< Gdk::DragContext > const &)
 
bool drag_motion (Glib::RefPtr< Gdk::DragContext > const &, int, int, guint)
 
void drag_data_received (Glib::RefPtr< Gdk::DragContext > const &, int, int, Gtk::SelectionData const &, guint, guint)
 
void drag_leave (Glib::RefPtr< Gdk::DragContext > const &, guint)
 
void name_edited (const std::string &, const std::string &)
 

Private Attributes

Columns _columns
 
Glib::RefPtr< Gtk::ListStore_model
 
Gtk::TreeView _view
 
Gtk::ScrolledWindow _scroller
 
LocationRowMap _location_row_map
 
bool _no_redisplay
 
sigc::connection _scroll_timeout
 
sigc::connection _selection_change
 
sigc::connection _redisplay_connection
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 32 of file editor_sections.h.

Member Typedef Documentation

◆ LocationRowMap

Definition at line 111 of file editor_sections.h.

Constructor & Destructor Documentation

◆ EditorSections()

EditorSections::EditorSections ( )

Member Function Documentation

◆ button_press()

bool EditorSections::button_press ( GdkEventButton )
private

◆ clock_format_changed()

void EditorSections::clock_format_changed ( )
private

◆ delete_selected_section()

bool EditorSections::delete_selected_section ( )
private

◆ drag_begin()

void EditorSections::drag_begin ( Glib::RefPtr< Gdk::DragContext > const &  )
private

◆ drag_data_get()

void EditorSections::drag_data_get ( Glib::RefPtr< Gdk::DragContext > const &  ,
Gtk::SelectionData ,
guint  ,
guint   
)
private

◆ drag_data_received()

void EditorSections::drag_data_received ( Glib::RefPtr< Gdk::DragContext > const &  ,
int  ,
int  ,
Gtk::SelectionData const &  ,
guint  ,
guint   
)
private

◆ drag_leave()

void EditorSections::drag_leave ( Glib::RefPtr< Gdk::DragContext > const &  ,
guint   
)
private

◆ drag_motion()

bool EditorSections::drag_motion ( Glib::RefPtr< Gdk::DragContext > const &  ,
int  ,
int  ,
guint   
)
private

◆ enter_notify()

bool EditorSections::enter_notify ( GdkEventCrossing )
private

◆ idle_redisplay()

bool EditorSections::idle_redisplay ( )
private

◆ key_press()

bool EditorSections::key_press ( GdkEventKey )
private

◆ leave_notify()

bool EditorSections::leave_notify ( GdkEventCrossing )
private

◆ location_changed()

void EditorSections::location_changed ( ARDOUR::Location )
private

◆ name_edited()

void EditorSections::name_edited ( const std::string &  ,
const std::string &   
)
private

◆ queue_redisplay()

void EditorSections::queue_redisplay ( )
private

◆ redisplay()

void EditorSections::redisplay ( )
private

◆ rename_selected_section()

bool EditorSections::rename_selected_section ( )
private

◆ scroll_row_timeout()

bool EditorSections::scroll_row_timeout ( )
private

◆ select()

void EditorSections::select ( ARDOUR::Location )

◆ selection_changed()

void EditorSections::selection_changed ( )
private

◆ set_session()

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

Reimplemented from ARDOUR::SessionHandlePtr.

◆ show_context_menu()

void EditorSections::show_context_menu ( int  ,
int   
)
private

◆ update_time_selection()

void EditorSections::update_time_selection ( )
private

◆ widget()

Gtk::Widget& EditorSections::widget ( )
inline

Definition at line 39 of file editor_sections.h.

Member Data Documentation

◆ _columns

Columns EditorSections::_columns
private

Definition at line 113 of file editor_sections.h.

◆ _location_row_map

LocationRowMap EditorSections::_location_row_map
private

Definition at line 118 of file editor_sections.h.

◆ _model

Glib::RefPtr<Gtk::ListStore> EditorSections::_model
private

Definition at line 114 of file editor_sections.h.

◆ _no_redisplay

bool EditorSections::_no_redisplay
private

Definition at line 119 of file editor_sections.h.

◆ _redisplay_connection

sigc::connection EditorSections::_redisplay_connection
private

Definition at line 122 of file editor_sections.h.

◆ _scroll_timeout

sigc::connection EditorSections::_scroll_timeout
private

Definition at line 120 of file editor_sections.h.

◆ _scroller

Gtk::ScrolledWindow EditorSections::_scroller
private

Definition at line 116 of file editor_sections.h.

◆ _selection_change

sigc::connection EditorSections::_selection_change
private

Definition at line 121 of file editor_sections.h.

◆ _view

Gtk::TreeView EditorSections::_view
private

Definition at line 115 of file editor_sections.h.


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