// Must initialize all the shared_ptrs below
virtual void init_components ();
+ // Override if the channel selector should not be grown
+ virtual bool channel_selector_is_expandable() { return true; }
+
boost::scoped_ptr<ExportPresetSelector> preset_selector;
boost::scoped_ptr<ExportTimespanSelector> timespan_selector;
boost::scoped_ptr<ExportChannelSelector> channel_selector;
void init ();
+ void expanded_changed();
+
void notify_errors ();
void close_dialog ();
void sync_with_manager ();
- void update_warnings ();
+ void update_warnings_and_example_filename ();
void show_conflicting_files ();
- void export_rt ();
- void export_fw ();
+ void do_export ();
void show_progress ();
gint progress_timeout ();
/*** GUI components ***/
+ Glib::RefPtr<Gtk::SizeGroup> advanced_sizegroup;
+ Gtk::Expander * advanced;
+
/* Warning area */
Gtk::HBox warn_hbox;
/* Progress bar */
- Gtk::Label progress_label;
Gtk::ProgressBar progress_bar;
sigc::connection progress_connection;
/* Buttons */
Gtk::Button * cancel_button;
- Gtk::Button * rt_export_button;
- Gtk::Button * fast_export_button;
+ Gtk::Button * export_button;
};
private:
void init_components ();
- std::string range_id;
+ std::string range_id;
};
class ExportSelectionDialog : public ExportDialog
public:
ExportRegionDialog (PublicEditor & editor, ARDOUR::AudioRegion const & region, ARDOUR::AudioTrack & track);
+ protected:
+ virtual bool channel_selector_is_expandable() { return false; }
+
private:
void init_gui ();
void init_components ();