Ardour  9.0-pre0-822-g12e3bc5c20
SessionDialog Class Reference

#include <session_dialog.h>

Inheritance diagram for SessionDialog:
[legend]

Classes

struct  RecentSessionModelColumns
 
struct  RecentSessionsSorter
 
struct  SessionTemplateColumns
 

Public Types

enum  DialogTab { New = 0 , Recent , Open , Prefs }
 

Public Member Functions

 SessionDialog (DialogTab initial_tab, const std::string &session_name, const std::string &session_path, const std::string &template_name, bool cancel_not_quit)
 
 ~SessionDialog ()
 
std::string session_name (bool &should_be_new)
 
std::string session_folder ()
 
Temporal::TimeDomain session_domain () const
 
bool use_session_template () const
 
std::string session_template_name ()
 
uint32_t master_channel_count ()
 
void on_show ()
 
void set_provided_session (std::string const &name, std::string const &path)
 
void clear_name ()
 
bool was_new_name_edited () const
 
void delete_selected_template ()
 
void show_template_context_menu (int button, int time)
 
bool template_button_press (GdkEventButton *)
 
- 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
 

Private Member Functions

bool on_delete_event (GdkEventAny *)
 
bool new_button_pressed (GdkEventButton *)
 
bool recent_button_pressed (GdkEventButton *)
 
bool existing_button_pressed (GdkEventButton *)
 
bool prefs_button_pressed (GdkEventButton *)
 
bool open_button_pressed (GdkEventButton *)
 
void setup_existing_box ()
 
void setup_recent_sessions ()
 
void setup_existing_session_page ()
 
int redisplay_recent_sessions ()
 
void recent_session_row_selected ()
 
void recent_session_sort_changed ()
 
void recent_row_activated (const Gtk::TreePath &path, Gtk::TreeViewColumn *col)
 
bool recent_button_press (GdkEventButton *)
 
void recent_context_mennu (GdkEventButton *)
 
void recent_remove_selected ()
 
void session_selected ()
 
void existing_file_selected ()
 
void existing_file_activated ()
 
void setup_new_session_page ()
 
bool new_name_edited (GdkEventKey *)
 
void setup_untitled_session ()
 
void template_row_selected ()
 
void new_name_changed ()
 
void new_name_activated ()
 
void populate_session_templates ()
 
void tab_page_switched (GtkNotebookPage *, guint page_number)
 
void disable_plugins_clicked ()
 
bool info_scroller_update ()
 
void updates_button_clicked ()
 

Static Private Member Functions

static uint32_t meta_master_bus_profile (std::string script)
 

Private Attributes

Gtk::Button * cancel_button
 
Gtk::Button * open_button
 
Gtk::Button * quit_button
 
ArdourWidgets::ArdourButton new_button
 
ArdourWidgets::ArdourButton recent_button
 
ArdourWidgets::ArdourButton existing_button
 
ArdourWidgets::ArdourButton prefs_button
 
Gtk::ComboBoxText timebase_chooser
 
Gtk::HBox _info_box
 
Gtk::Table _open_table
 
Gtk::VBox recent_vbox
 
DialogTab _initial_tab
 
RecentSessionModelColumns recent_session_columns
 
Gtk::TreeView recent_session_display
 
Glib::RefPtr< Gtk::TreeStore > recent_session_model
 
Gtk::ScrolledWindow recent_scroller
 
Gtk::Label recent_label
 
Gtk::FileChooserWidget existing_session_chooser
 
Gtk::Entry new_name_entry
 
bool new_name_was_edited
 
Gtk::FileChooserButton new_folder_chooser
 
SessionTemplateColumns session_template_columns
 
Glib::RefPtr< Gtk::TreeStore > template_model
 
Gtk::TreeView template_chooser
 
Gtk::ScrolledWindow template_scroller
 
Gtk::TextView template_desc
 
Gtk::Frame template_desc_frame
 
Gtk::VBox session_new_vbox
 
std::string load_template_override
 
Gtk::CheckButton _disable_plugins
 
Glib::RefPtr< Pango::Layout > layout
 
Gtk::Label info_scroller_label
 
std::string::size_type info_scroller_count
 
sigc::connection info_scroller_connection
 
Gtk::Notebook _tabs
 

Additional Inherited Members

- Protected Member Functions inherited from ArdourDialog
void pop_splash ()
 
void close_self ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- 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 55 of file session_dialog.h.

Member Enumeration Documentation

◆ DialogTab

Enumerator
New 
Recent 
Open 
Prefs 

Definition at line 58 of file session_dialog.h.

Constructor & Destructor Documentation

◆ SessionDialog()

SessionDialog::SessionDialog ( DialogTab  initial_tab,
const std::string &  session_name,
const std::string &  session_path,
const std::string &  template_name,
bool  cancel_not_quit 
)

◆ ~SessionDialog()

SessionDialog::~SessionDialog ( )

Member Function Documentation

◆ clear_name()

void SessionDialog::clear_name ( )

◆ delete_selected_template()

void SessionDialog::delete_selected_template ( )

◆ disable_plugins_clicked()

void SessionDialog::disable_plugins_clicked ( )
private

◆ existing_button_pressed()

bool SessionDialog::existing_button_pressed ( GdkEventButton *  )
private

◆ existing_file_activated()

void SessionDialog::existing_file_activated ( )
private

◆ existing_file_selected()

void SessionDialog::existing_file_selected ( )
private

◆ info_scroller_update()

bool SessionDialog::info_scroller_update ( )
private

◆ master_channel_count()

uint32_t SessionDialog::master_channel_count ( )

◆ meta_master_bus_profile()

static uint32_t SessionDialog::meta_master_bus_profile ( std::string  script)
staticprivate

◆ new_button_pressed()

bool SessionDialog::new_button_pressed ( GdkEventButton *  )
private

◆ new_name_activated()

void SessionDialog::new_name_activated ( )
private

◆ new_name_changed()

void SessionDialog::new_name_changed ( )
private

◆ new_name_edited()

bool SessionDialog::new_name_edited ( GdkEventKey *  )
private

◆ on_delete_event()

bool SessionDialog::on_delete_event ( GdkEventAny *  )
private

◆ on_show()

void SessionDialog::on_show ( )

◆ open_button_pressed()

bool SessionDialog::open_button_pressed ( GdkEventButton *  )
private

◆ populate_session_templates()

void SessionDialog::populate_session_templates ( )
private

◆ prefs_button_pressed()

bool SessionDialog::prefs_button_pressed ( GdkEventButton *  )
private

◆ recent_button_press()

bool SessionDialog::recent_button_press ( GdkEventButton *  )
private

◆ recent_button_pressed()

bool SessionDialog::recent_button_pressed ( GdkEventButton *  )
private

◆ recent_context_mennu()

void SessionDialog::recent_context_mennu ( GdkEventButton *  )
private

◆ recent_remove_selected()

void SessionDialog::recent_remove_selected ( )
private

◆ recent_row_activated()

void SessionDialog::recent_row_activated ( const Gtk::TreePath &  path,
Gtk::TreeViewColumn *  col 
)
private

◆ recent_session_row_selected()

void SessionDialog::recent_session_row_selected ( )
private

◆ recent_session_sort_changed()

void SessionDialog::recent_session_sort_changed ( )
private

◆ redisplay_recent_sessions()

int SessionDialog::redisplay_recent_sessions ( )
private

◆ session_domain()

Temporal::TimeDomain SessionDialog::session_domain ( ) const

◆ session_folder()

std::string SessionDialog::session_folder ( )

◆ session_name()

std::string SessionDialog::session_name ( bool &  should_be_new)

◆ session_selected()

void SessionDialog::session_selected ( )
private

◆ session_template_name()

std::string SessionDialog::session_template_name ( )

◆ set_provided_session()

void SessionDialog::set_provided_session ( std::string const &  name,
std::string const &  path 
)

◆ setup_existing_box()

void SessionDialog::setup_existing_box ( )
private

◆ setup_existing_session_page()

void SessionDialog::setup_existing_session_page ( )
private

◆ setup_new_session_page()

void SessionDialog::setup_new_session_page ( )
private

◆ setup_recent_sessions()

void SessionDialog::setup_recent_sessions ( )
private

◆ setup_untitled_session()

void SessionDialog::setup_untitled_session ( )
private

◆ show_template_context_menu()

void SessionDialog::show_template_context_menu ( int  button,
int  time 
)

◆ tab_page_switched()

void SessionDialog::tab_page_switched ( GtkNotebookPage *  ,
guint  page_number 
)
private

◆ template_button_press()

bool SessionDialog::template_button_press ( GdkEventButton *  )

◆ template_row_selected()

void SessionDialog::template_row_selected ( )
private

◆ updates_button_clicked()

void SessionDialog::updates_button_clicked ( )
private

◆ use_session_template()

bool SessionDialog::use_session_template ( ) const

◆ was_new_name_edited()

bool SessionDialog::was_new_name_edited ( ) const
inline

Definition at line 83 of file session_dialog.h.

Member Data Documentation

◆ _disable_plugins

Gtk::CheckButton SessionDialog::_disable_plugins
private

Definition at line 230 of file session_dialog.h.

◆ _info_box

Gtk::HBox SessionDialog::_info_box
private

Definition at line 110 of file session_dialog.h.

◆ _initial_tab

DialogTab SessionDialog::_initial_tab
private

Definition at line 120 of file session_dialog.h.

◆ _open_table

Gtk::Table SessionDialog::_open_table
private

Definition at line 112 of file session_dialog.h.

◆ _tabs

Gtk::Notebook SessionDialog::_tabs
private

Definition at line 246 of file session_dialog.h.

◆ cancel_button

Gtk::Button* SessionDialog::cancel_button
private

Definition at line 92 of file session_dialog.h.

◆ existing_button

ArdourWidgets::ArdourButton SessionDialog::existing_button
private

Definition at line 98 of file session_dialog.h.

◆ existing_session_chooser

Gtk::FileChooserWidget SessionDialog::existing_session_chooser
private

Definition at line 166 of file session_dialog.h.

◆ info_scroller_connection

sigc::connection SessionDialog::info_scroller_connection
private

Definition at line 243 of file session_dialog.h.

◆ info_scroller_count

std::string::size_type SessionDialog::info_scroller_count
private

Definition at line 241 of file session_dialog.h.

◆ info_scroller_label

Gtk::Label SessionDialog::info_scroller_label
private

Definition at line 240 of file session_dialog.h.

◆ layout

Glib::RefPtr<Pango::Layout> SessionDialog::layout
private

Definition at line 238 of file session_dialog.h.

◆ load_template_override

std::string SessionDialog::load_template_override
private

Definition at line 221 of file session_dialog.h.

◆ new_button

ArdourWidgets::ArdourButton SessionDialog::new_button
private

Definition at line 96 of file session_dialog.h.

◆ new_folder_chooser

Gtk::FileChooserButton SessionDialog::new_folder_chooser
private

Definition at line 189 of file session_dialog.h.

◆ new_name_entry

Gtk::Entry SessionDialog::new_name_entry
private

Definition at line 183 of file session_dialog.h.

◆ new_name_was_edited

bool SessionDialog::new_name_was_edited
private

Definition at line 184 of file session_dialog.h.

◆ open_button

Gtk::Button* SessionDialog::open_button
private

Definition at line 93 of file session_dialog.h.

◆ prefs_button

ArdourWidgets::ArdourButton SessionDialog::prefs_button
private

Definition at line 99 of file session_dialog.h.

◆ quit_button

Gtk::Button* SessionDialog::quit_button
private

Definition at line 94 of file session_dialog.h.

◆ recent_button

ArdourWidgets::ArdourButton SessionDialog::recent_button
private

Definition at line 97 of file session_dialog.h.

◆ recent_label

Gtk::Label SessionDialog::recent_label
private

Definition at line 165 of file session_dialog.h.

◆ recent_scroller

Gtk::ScrolledWindow SessionDialog::recent_scroller
private

Definition at line 164 of file session_dialog.h.

◆ recent_session_columns

RecentSessionModelColumns SessionDialog::recent_session_columns
private

Definition at line 161 of file session_dialog.h.

◆ recent_session_display

Gtk::TreeView SessionDialog::recent_session_display
private

Definition at line 162 of file session_dialog.h.

◆ recent_session_model

Glib::RefPtr<Gtk::TreeStore> SessionDialog::recent_session_model
private

Definition at line 163 of file session_dialog.h.

◆ recent_vbox

Gtk::VBox SessionDialog::recent_vbox
private

Definition at line 118 of file session_dialog.h.

◆ session_new_vbox

Gtk::VBox SessionDialog::session_new_vbox
private

Definition at line 220 of file session_dialog.h.

◆ session_template_columns

SessionTemplateColumns SessionDialog::session_template_columns
private

Definition at line 209 of file session_dialog.h.

◆ template_chooser

Gtk::TreeView SessionDialog::template_chooser
private

Definition at line 212 of file session_dialog.h.

◆ template_desc

Gtk::TextView SessionDialog::template_desc
private

Definition at line 217 of file session_dialog.h.

◆ template_desc_frame

Gtk::Frame SessionDialog::template_desc_frame
private

Definition at line 218 of file session_dialog.h.

◆ template_model

Glib::RefPtr<Gtk::TreeStore> SessionDialog::template_model
private

Definition at line 211 of file session_dialog.h.

◆ template_scroller

Gtk::ScrolledWindow SessionDialog::template_scroller
private

Definition at line 213 of file session_dialog.h.

◆ timebase_chooser

Gtk::ComboBoxText SessionDialog::timebase_chooser
private

Definition at line 101 of file session_dialog.h.


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