21 #ifndef __gtk2_ardour_session_dialog_h__
22 #define __gtk2_ardour_session_dialog_h__
26 #include <ydkmm/pixbuf.h>
27 #include <ytkmm/label.h>
28 #include <ytkmm/drawingarea.h>
29 #include <ytkmm/expander.h>
30 #include <ytkmm/box.h>
31 #include <ytkmm/radiobutton.h>
32 #include <ytkmm/filechooserbutton.h>
33 #include <ytkmm/filechooserwidget.h>
34 #include <ytkmm/scrolledwindow.h>
35 #include <ytkmm/textview.h>
36 #include <ytkmm/treeview.h>
37 #include <ytkmm/treestore.h>
38 #include <ytkmm/checkbutton.h>
39 #include <ytkmm/table.h>
40 #include <ytkmm/frame.h>
41 #include <ytkmm/spinbutton.h>
42 #include <ytkmm/liststore.h>
43 #include <ytkmm/combobox.h>
44 #include <ytkmm/comboboxtext.h>
48 #include "ardour/utils.h"
67 const std::string& template_name,
bool cancel_not_quit);
123 Gtk::Button _license_button;
124 Gtk::Label _license_label;
125 void license_button_clicked ();
134 bool operator() (std::pair<std::string,std::string> a, std::pair<std::string,std::string> b)
const {
152 Gtk::TreeModelColumn<std::string>
tip;
201 Gtk::TreeModelColumn<std::string>
name;
202 Gtk::TreeModelColumn<std::string>
path;
Gtk::ComboBoxText timebase_chooser
bool template_button_press(GdkEventButton *)
void setup_existing_session_page()
void recent_session_sort_changed()
void setup_new_session_page()
Glib::RefPtr< Gtk::TreeStore > template_model
ArdourWidgets::ArdourButton new_button
void template_row_selected()
bool open_button_pressed(GdkEventButton *)
sigc::connection info_scroller_connection
std::string session_template_name()
void delete_selected_template()
Temporal::TimeDomain session_domain() const
void recent_row_activated(const Gtk::TreePath &path, Gtk::TreeViewColumn *col)
Glib::RefPtr< Pango::Layout > layout
Gtk::Button * open_button
Gtk::TreeView recent_session_display
void disable_plugins_clicked()
void recent_context_mennu(GdkEventButton *)
void show_template_context_menu(int button, int time)
RecentSessionModelColumns recent_session_columns
Gtk::FileChooserButton new_folder_chooser
std::string session_folder()
Gtk::VBox session_new_vbox
bool prefs_button_pressed(GdkEventButton *)
std::string load_template_override
Gtk::Button * cancel_button
void tab_page_switched(GtkNotebookPage *, guint page_number)
void set_provided_session(std::string const &name, std::string const &path)
Gtk::TreeView template_chooser
std::string session_name(bool &should_be_new)
Gtk::TextView template_desc
void recent_remove_selected()
void populate_session_templates()
bool recent_button_pressed(GdkEventButton *)
bool use_session_template() const
void existing_file_activated()
Gtk::ScrolledWindow recent_scroller
ArdourWidgets::ArdourButton prefs_button
void new_name_activated()
ArdourWidgets::ArdourButton recent_button
Glib::RefPtr< Gtk::TreeStore > recent_session_model
bool new_button_pressed(GdkEventButton *)
Gtk::Frame template_desc_frame
uint32_t master_channel_count()
bool was_new_name_edited() const
Gtk::Label info_scroller_label
void recent_session_row_selected()
bool existing_button_pressed(GdkEventButton *)
void setup_recent_sessions()
bool info_scroller_update()
void existing_file_selected()
void setup_existing_box()
static uint32_t meta_master_bus_profile(std::string script)
std::string::size_type info_scroller_count
Gtk::ScrolledWindow template_scroller
bool on_delete_event(GdkEventAny *)
bool recent_button_press(GdkEventButton *)
void setup_untitled_session()
void updates_button_clicked()
SessionDialog(DialogTab initial_tab, const std::string &session_name, const std::string &session_path, const std::string &template_name, bool cancel_not_quit)
Gtk::FileChooserWidget existing_session_chooser
Gtk::CheckButton _disable_plugins
Gtk::Button * quit_button
Gtk::Entry new_name_entry
int redisplay_recent_sessions()
ArdourWidgets::ArdourButton existing_button
SessionTemplateColumns session_template_columns
bool new_name_edited(GdkEventKey *)
PBD::PropertyDescriptor< std::string > name
int cmp_nocase(const std::string &s, const std::string &s2)
Base class for option editing dialog boxes.
Gtk::TreeModelColumn< std::string > fullpath
Gtk::TreeModelColumn< std::string > tip
Gtk::TreeModelColumn< std::string > sample_rate
Gtk::TreeModelColumn< std::string > disk_format
Gtk::TreeModelColumn< std::string > visible_name
Gtk::TreeModelColumn< int64_t > time_modified
Gtk::TreeModelColumn< std::string > time_formatted
RecentSessionModelColumns()
Gtk::TreeModelColumn< std::string > modified_with
bool operator()(std::pair< std::string, std::string > a, std::pair< std::string, std::string > b) const
Gtk::TreeModelColumn< bool > removable
Gtk::TreeModelColumn< std::string > modified_with_short
Gtk::TreeModelColumn< std::string > description
Gtk::TreeModelColumn< std::string > name
Gtk::TreeModelColumn< std::string > path
Gtk::TreeModelColumn< std::string > modified_with_long