ardour
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
EditorRouteGroups Class Reference

#include <editor_route_groups.h>

Inheritance diagram for EditorRouteGroups:
EditorComponent ARDOUR::SessionHandlePtr

Classes

struct  Columns
 

Public Member Functions

 EditorRouteGroups (Editor *)
 
void set_session (ARDOUR::Session *)
 
Gtk::Widget & widget ()
 
void clear ()
 
- Public Member Functions inherited from EditorComponent
 EditorComponent (Editor *)
 
virtual ~EditorComponent ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 

Private Member Functions

void add (ARDOUR::RouteGroup *)
 
void row_change (const Gtk::TreeModel::Path &, const Gtk::TreeModel::iterator &)
 
void name_edit (const std::string &, const std::string &)
 
void button_clicked ()
 
bool button_press_event (GdkEventButton *ev)
 
void groups_changed ()
 
void property_changed (ARDOUR::RouteGroup *, const PBD::PropertyChange &)
 
void remove_selected ()
 
void run_new_group_dialog ()
 
void row_deleted (Gtk::TreeModel::Path const &)
 

Private Attributes

Columns _columns
 
Glib::RefPtr< Gtk::ListStore > _model
 
Glib::RefPtr< Gtk::TreeSelection > _selection
 
Gtk::TreeView _display
 
Gtk::ScrolledWindow _scroller
 
Gtk::VBox _display_packer
 
bool _in_row_change
 
bool _in_rebuild
 
PBD::ScopedConnectionList _property_changed_connections
 
PBD::ScopedConnection all_route_groups_changed_connection
 
Gtk::ColorSelectionDialog color_dialog
 

Additional Inherited Members

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

Detailed Description

Definition at line 23 of file editor_route_groups.h.

Constructor & Destructor Documentation

EditorRouteGroups::EditorRouteGroups ( Editor e)

Definition at line 65 of file editor_route_groups.cc.

Member Function Documentation

void EditorRouteGroups::add ( ARDOUR::RouteGroup group)
private

Definition at line 408 of file editor_route_groups.cc.

void EditorRouteGroups::button_clicked ( )
private

Definition at line 220 of file editor_route_groups.cc.

bool EditorRouteGroups::button_press_event ( GdkEventButton *  ev)
private

Definition at line 226 of file editor_route_groups.cc.

void EditorRouteGroups::clear ( )

Definition at line 540 of file editor_route_groups.cc.

void EditorRouteGroups::groups_changed ( )
private

Definition at line 455 of file editor_route_groups.cc.

void EditorRouteGroups::name_edit ( const std::string &  path,
const std::string &  new_text 
)
private

Definition at line 522 of file editor_route_groups.cc.

void EditorRouteGroups::property_changed ( ARDOUR::RouteGroup group,
const PBD::PropertyChange  
)
private

Definition at line 473 of file editor_route_groups.cc.

void EditorRouteGroups::remove_selected ( )
private

Definition at line 195 of file editor_route_groups.cc.

void EditorRouteGroups::row_change ( const Gtk::TreeModel::Path &  ,
const Gtk::TreeModel::iterator &  iter 
)
private

Definition at line 366 of file editor_route_groups.cc.

void EditorRouteGroups::row_deleted ( Gtk::TreeModel::Path const &  )
private

Called when a model row is deleted, but also when the model is reordered by a user drag-and-drop; the latter is what we are interested in here.

Definition at line 583 of file editor_route_groups.cc.

void EditorRouteGroups::run_new_group_dialog ( )
private

Definition at line 571 of file editor_route_groups.cc.

void EditorRouteGroups::set_session ( ARDOUR::Session s)
virtual

Reimplemented from ARDOUR::SessionHandlePtr.

Definition at line 548 of file editor_route_groups.cc.

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

Definition at line 30 of file editor_route_groups.h.

Member Data Documentation

Columns EditorRouteGroups::_columns
private

Definition at line 71 of file editor_route_groups.h.

Gtk::TreeView EditorRouteGroups::_display
private

Definition at line 86 of file editor_route_groups.h.

Gtk::VBox EditorRouteGroups::_display_packer
private

Definition at line 88 of file editor_route_groups.h.

bool EditorRouteGroups::_in_rebuild
private

Definition at line 90 of file editor_route_groups.h.

bool EditorRouteGroups::_in_row_change
private

Definition at line 89 of file editor_route_groups.h.

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

Definition at line 84 of file editor_route_groups.h.

PBD::ScopedConnectionList EditorRouteGroups::_property_changed_connections
private

Definition at line 91 of file editor_route_groups.h.

Gtk::ScrolledWindow EditorRouteGroups::_scroller
private

Definition at line 87 of file editor_route_groups.h.

Glib::RefPtr<Gtk::TreeSelection> EditorRouteGroups::_selection
private

Definition at line 85 of file editor_route_groups.h.

PBD::ScopedConnection EditorRouteGroups::all_route_groups_changed_connection
private

Definition at line 92 of file editor_route_groups.h.

Gtk::ColorSelectionDialog EditorRouteGroups::color_dialog
private

Definition at line 93 of file editor_route_groups.h.


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