ardour
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Private Attributes | List of all members
SoundFileBrowser Class Reference

#include <sfdb_ui.h>

Inheritance diagram for SoundFileBrowser:
ArdourWindow ARDOUR::SessionHandlePtr Gtkmm2ext::VisibilityTracker SoundFileChooser SoundFileOmega

Classes

class  FoundTagColumns
 
class  FreesoundColumns
 

Public Member Functions

 SoundFileBrowser (std::string title, ARDOUR::Session *_s, bool persistent)
 
virtual ~SoundFileBrowser ()
 
int run ()
 
int status () const
 
virtual void set_session (ARDOUR::Session *)
 
std::vector< std::string > get_paths ()
 
void clear_selection ()
 
void freesound_search ()
 
void refresh_display (std::string ID, std::string file)
 
- Public Member Functions inherited from ArdourWindow
 ArdourWindow (std::string title)
 
 ArdourWindow (Gtk::Window &parent, std::string title)
 
 ~ArdourWindow ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
bool on_key_press_event (GdkEventKey *)
 
void on_unmap ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
- Public Member Functions inherited from Gtkmm2ext::VisibilityTracker
 VisibilityTracker (Gtk::Window &)
 
virtual ~VisibilityTracker ()
 
void cycle_visibility ()
 
bool fully_visible () const
 
bool not_visible () const
 
bool partially_visible () const
 
Gtk::Window & window () const
 

Public Attributes

Gtk::FileChooserWidget chooser
 
SoundFileBox preview
 
Gtk::Entry found_entry
 
Gtk::Button found_search_btn
 
Gtk::TreeView found_list_view
 
Gtk::Entry freesound_entry
 
Gtk::ComboBoxText freesound_sort
 
Gtk::Button freesound_search_btn
 
Gtk::TreeView freesound_list_view
 
Gtk::Notebook notebook
 

Protected Member Functions

void add_gain_meter ()
 
void remove_gain_meter ()
 
void meter ()
 
void start_metering ()
 
void stop_metering ()
 
void update_preview ()
 
void found_list_view_selected ()
 
void found_list_view_activated (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *)
 
void found_search_clicked ()
 
void freesound_list_view_selected ()
 
void freesound_list_view_activated (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *)
 
void freesound_search_clicked ()
 
void freesound_more_clicked ()
 
void freesound_similar_clicked ()
 
void chooser_file_activated ()
 
std::string freesound_get_audio_file (Gtk::TreeIter iter)
 
bool on_audio_filter (const Gtk::FileFilter::Info &filter_info)
 
bool on_midi_filter (const Gtk::FileFilter::Info &filter_info)
 
bool on_audio_and_midi_filter (const Gtk::FileFilter::Info &filter_info)
 
void set_action_sensitive (bool)
 
virtual bool reset_options ()
 
void on_show ()
 
virtual void do_something (int action)
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

bool resetting_ourselves
 
int matches
 
int _status
 
bool _done
 
Gtk::FileFilter audio_and_midi_filter
 
Gtk::FileFilter audio_filter
 
Gtk::FileFilter midi_filter
 
Gtk::FileFilter custom_filter
 
Gtk::FileFilter matchall_filter
 
Gtk::HBox hpacker
 
Gtk::VBox vpacker
 
Gtk::Button ok_button
 
Gtk::Button cancel_button
 
Gtk::Button apply_button
 
GainMetergm
 
Gtk::VBox meter_packer
 
sigc::connection metering_connection
 
int freesound_page
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Static Protected Attributes

static std::string persistent_folder
 

Private Member Functions

void handle_freesound_results (std::string theString)
 

Private Attributes

FoundTagColumns found_list_columns
 
Glib::RefPtr< Gtk::ListStore > found_list
 
FreesoundColumns freesound_list_columns
 
Glib::RefPtr< Gtk::ListStore > freesound_list
 
Gtk::Button freesound_more_btn
 
Gtk::Button freesound_similar_btn
 

Detailed Description

Definition at line 127 of file sfdb_ui.h.

Constructor & Destructor Documentation

SoundFileBrowser::SoundFileBrowser ( std::string  title,
ARDOUR::Session _s,
bool  persistent 
)

Definition at line 544 of file sfdb_ui.cc.

SoundFileBrowser::~SoundFileBrowser ( )
virtual

Definition at line 747 of file sfdb_ui.cc.

Member Function Documentation

void SoundFileBrowser::add_gain_meter ( )
protected

Definition at line 828 of file sfdb_ui.cc.

void SoundFileBrowser::chooser_file_activated ( )
protected

Definition at line 797 of file sfdb_ui.cc.

void SoundFileBrowser::clear_selection ( )

Definition at line 790 of file sfdb_ui.cc.

void SoundFileBrowser::do_something ( int  action)
protectedvirtual

Reimplemented in SoundFileOmega.

Definition at line 776 of file sfdb_ui.cc.

void SoundFileBrowser::found_list_view_activated ( const Gtk::TreeModel::Path &  path,
Gtk::TreeViewColumn *   
)
protected

Definition at line 803 of file sfdb_ui.cc.

void SoundFileBrowser::found_list_view_selected ( )
protected

Definition at line 906 of file sfdb_ui.cc.

void SoundFileBrowser::found_search_clicked ( )
protected

Definition at line 929 of file sfdb_ui.cc.

std::string SoundFileBrowser::freesound_get_audio_file ( Gtk::TreeIter  iter)
protected

Definition at line 954 of file sfdb_ui.cc.

void SoundFileBrowser::freesound_list_view_activated ( const Gtk::TreeModel::Path &  path,
Gtk::TreeViewColumn *   
)
protected

Definition at line 809 of file sfdb_ui.cc.

void SoundFileBrowser::freesound_list_view_selected ( )
protected

Definition at line 980 of file sfdb_ui.cc.

void SoundFileBrowser::freesound_more_clicked ( )
protected

Definition at line 1047 of file sfdb_ui.cc.

void SoundFileBrowser::freesound_search ( )

Definition at line 1080 of file sfdb_ui.cc.

void SoundFileBrowser::freesound_search_clicked ( )
protected

Definition at line 1038 of file sfdb_ui.cc.

void SoundFileBrowser::freesound_similar_clicked ( )
protected

Definition at line 1057 of file sfdb_ui.cc.

vector< string > SoundFileBrowser::get_paths ( )

Definition at line 1247 of file sfdb_ui.cc.

void SoundFileBrowser::handle_freesound_results ( std::string  theString)
private

Definition at line 1108 of file sfdb_ui.cc.

void SoundFileBrowser::meter ( )
protected

Definition at line 870 of file sfdb_ui.cc.

bool SoundFileBrowser::on_audio_and_midi_filter ( const Gtk::FileFilter::Info &  filter_info)
protected

Definition at line 890 of file sfdb_ui.cc.

bool SoundFileBrowser::on_audio_filter ( const Gtk::FileFilter::Info &  filter_info)
protected

Definition at line 878 of file sfdb_ui.cc.

bool SoundFileBrowser::on_midi_filter ( const Gtk::FileFilter::Info &  filter_info)
protected

Definition at line 884 of file sfdb_ui.cc.

void SoundFileBrowser::on_show ( )
protected

Definition at line 783 of file sfdb_ui.cc.

void SoundFileBrowser::refresh_display ( std::string  ID,
std::string  file 
)

Definition at line 1019 of file sfdb_ui.cc.

void SoundFileBrowser::remove_gain_meter ( )
protected

Definition at line 847 of file sfdb_ui.cc.

virtual bool SoundFileBrowser::reset_options ( )
inlineprotectedvirtual

Reimplemented in SoundFileOmega.

Definition at line 254 of file sfdb_ui.h.

int SoundFileBrowser::run ( )

Definition at line 753 of file sfdb_ui.cc.

void SoundFileBrowser::set_action_sensitive ( bool  yn)
protected

Definition at line 769 of file sfdb_ui.cc.

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

Reimplemented from ARDOUR::SessionHandlePtr.

Definition at line 815 of file sfdb_ui.cc.

void SoundFileBrowser::start_metering ( )
protected

Definition at line 858 of file sfdb_ui.cc.

int SoundFileBrowser::status ( ) const
inline

Definition at line 177 of file sfdb_ui.h.

void SoundFileBrowser::stop_metering ( )
protected

Definition at line 864 of file sfdb_ui.cc.

void SoundFileBrowser::update_preview ( )
protected

Definition at line 896 of file sfdb_ui.cc.

Member Data Documentation

bool SoundFileBrowser::_done
protected

Definition at line 206 of file sfdb_ui.h.

int SoundFileBrowser::_status
protected

Definition at line 205 of file sfdb_ui.h.

Gtk::Button SoundFileBrowser::apply_button
protected

Definition at line 218 of file sfdb_ui.h.

Gtk::FileFilter SoundFileBrowser::audio_and_midi_filter
protected

Definition at line 208 of file sfdb_ui.h.

Gtk::FileFilter SoundFileBrowser::audio_filter
protected

Definition at line 209 of file sfdb_ui.h.

Gtk::Button SoundFileBrowser::cancel_button
protected

Definition at line 217 of file sfdb_ui.h.

Gtk::FileChooserWidget SoundFileBrowser::chooser

Definition at line 184 of file sfdb_ui.h.

Gtk::FileFilter SoundFileBrowser::custom_filter
protected

Definition at line 211 of file sfdb_ui.h.

Gtk::Entry SoundFileBrowser::found_entry

Definition at line 188 of file sfdb_ui.h.

Glib::RefPtr<Gtk::ListStore> SoundFileBrowser::found_list
private

Definition at line 163 of file sfdb_ui.h.

FoundTagColumns SoundFileBrowser::found_list_columns
private

Definition at line 162 of file sfdb_ui.h.

Gtk::TreeView SoundFileBrowser::found_list_view

Definition at line 190 of file sfdb_ui.h.

Gtk::Button SoundFileBrowser::found_search_btn

Definition at line 189 of file sfdb_ui.h.

Gtk::Entry SoundFileBrowser::freesound_entry

Definition at line 192 of file sfdb_ui.h.

Glib::RefPtr<Gtk::ListStore> SoundFileBrowser::freesound_list
private

Definition at line 166 of file sfdb_ui.h.

FreesoundColumns SoundFileBrowser::freesound_list_columns
private

Definition at line 165 of file sfdb_ui.h.

Gtk::TreeView SoundFileBrowser::freesound_list_view

Definition at line 196 of file sfdb_ui.h.

Gtk::Button SoundFileBrowser::freesound_more_btn
private

Definition at line 168 of file sfdb_ui.h.

int SoundFileBrowser::freesound_page
protected

Definition at line 243 of file sfdb_ui.h.

Gtk::Button SoundFileBrowser::freesound_search_btn

Definition at line 195 of file sfdb_ui.h.

Gtk::Button SoundFileBrowser::freesound_similar_btn
private

Definition at line 169 of file sfdb_ui.h.

Gtk::ComboBoxText SoundFileBrowser::freesound_sort

Definition at line 193 of file sfdb_ui.h.

GainMeter* SoundFileBrowser::gm
protected

Definition at line 223 of file sfdb_ui.h.

Gtk::HBox SoundFileBrowser::hpacker
protected

Definition at line 213 of file sfdb_ui.h.

Gtk::FileFilter SoundFileBrowser::matchall_filter
protected

Definition at line 212 of file sfdb_ui.h.

int SoundFileBrowser::matches
protected

Definition at line 204 of file sfdb_ui.h.

Gtk::VBox SoundFileBrowser::meter_packer
protected

Definition at line 224 of file sfdb_ui.h.

sigc::connection SoundFileBrowser::metering_connection
protected

Definition at line 230 of file sfdb_ui.h.

Gtk::FileFilter SoundFileBrowser::midi_filter
protected

Definition at line 210 of file sfdb_ui.h.

Gtk::Notebook SoundFileBrowser::notebook

Definition at line 197 of file sfdb_ui.h.

Gtk::Button SoundFileBrowser::ok_button
protected

Definition at line 216 of file sfdb_ui.h.

string SoundFileBrowser::persistent_folder
staticprotected

Definition at line 220 of file sfdb_ui.h.

SoundFileBox SoundFileBrowser::preview

Definition at line 186 of file sfdb_ui.h.

bool SoundFileBrowser::resetting_ourselves
protected

Definition at line 203 of file sfdb_ui.h.

Gtk::VBox SoundFileBrowser::vpacker
protected

Definition at line 214 of file sfdb_ui.h.


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