Ardour  9.0-pre0-822-g12e3bc5c20
LibraryDownloadDialog Class Reference

#include <library_download_dialog.h>

Inheritance diagram for LibraryDownloadDialog:
[legend]

Classes

class  LibraryColumns
 

Public Member Functions

 LibraryDownloadDialog ()
 
 ~LibraryDownloadDialog ()
 
void add_library (ARDOUR::LibraryDescription const &)
 
void on_show ()
 
- 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

template<class T >
Gtk::TreeViewColumn * append_col (Gtk::TreeModelColumn< T > const &col, int width=0)
 
void append_progress_column ()
 
void append_install_column ()
 
void download (Gtk::TreePath const &)
 
bool dl_timer_callback (PBD::Downloader *, Gtk::TreePath)
 
bool display_button_press (GdkEventButton *ev)
 
void install (std::string const &path, Gtk::TreePath const &treepath)
 
void install_progress (float, std::string, Gtk::TreePath)
 
void install_finished (Gtk::TreeModel::iterator row, std::string path, int status)
 
void library_selected ()
 
void refill ()
 

Private Attributes

Gtk::TreeView _display
 
Gtk::ScrolledWindow scroller
 
Glib::RefPtr< Gtk::ListStore > _model
 
LibraryColumns _columns
 
Gtk::CellRendererProgress * progress_renderer
 
Gtk::CellRendererText * install_renderer
 
PBD::Inflaterinflater
 
PBD::ScopedConnection install_connection
 
Gtk::TextView description_view
 

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 44 of file library_download_dialog.h.

Constructor & Destructor Documentation

◆ LibraryDownloadDialog()

LibraryDownloadDialog::LibraryDownloadDialog ( )

◆ ~LibraryDownloadDialog()

LibraryDownloadDialog::~LibraryDownloadDialog ( )

Member Function Documentation

◆ add_library()

void LibraryDownloadDialog::add_library ( ARDOUR::LibraryDescription const &  )

◆ append_col()

template<class T >
Gtk::TreeViewColumn* LibraryDownloadDialog::append_col ( Gtk::TreeModelColumn< T > const &  col,
int  width = 0 
)
inlineprivate

Definition at line 91 of file library_download_dialog.h.

◆ append_install_column()

void LibraryDownloadDialog::append_install_column ( )
private

◆ append_progress_column()

void LibraryDownloadDialog::append_progress_column ( )
private

◆ display_button_press()

bool LibraryDownloadDialog::display_button_press ( GdkEventButton *  ev)
private

◆ dl_timer_callback()

bool LibraryDownloadDialog::dl_timer_callback ( PBD::Downloader ,
Gtk::TreePath   
)
private

◆ download()

void LibraryDownloadDialog::download ( Gtk::TreePath const &  )
private

◆ install()

void LibraryDownloadDialog::install ( std::string const &  path,
Gtk::TreePath const &  treepath 
)
private

◆ install_finished()

void LibraryDownloadDialog::install_finished ( Gtk::TreeModel::iterator  row,
std::string  path,
int  status 
)
private

◆ install_progress()

void LibraryDownloadDialog::install_progress ( float  ,
std::string  ,
Gtk::TreePath   
)
private

◆ library_selected()

void LibraryDownloadDialog::library_selected ( )
private

◆ on_show()

void LibraryDownloadDialog::on_show ( )

◆ refill()

void LibraryDownloadDialog::refill ( )
private

Member Data Documentation

◆ _columns

LibraryColumns LibraryDownloadDialog::_columns
private

Definition at line 88 of file library_download_dialog.h.

◆ _display

Gtk::TreeView LibraryDownloadDialog::_display
private

Definition at line 85 of file library_download_dialog.h.

◆ _model

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

Definition at line 87 of file library_download_dialog.h.

◆ description_view

Gtk::TextView LibraryDownloadDialog::description_view
private

Definition at line 119 of file library_download_dialog.h.

◆ inflater

PBD::Inflater* LibraryDownloadDialog::inflater
private

Definition at line 113 of file library_download_dialog.h.

◆ install_connection

PBD::ScopedConnection LibraryDownloadDialog::install_connection
private

Definition at line 117 of file library_download_dialog.h.

◆ install_renderer

Gtk::CellRendererText* LibraryDownloadDialog::install_renderer
private

Definition at line 103 of file library_download_dialog.h.

◆ progress_renderer

Gtk::CellRendererProgress* LibraryDownloadDialog::progress_renderer
private

Definition at line 102 of file library_download_dialog.h.

◆ scroller

Gtk::ScrolledWindow LibraryDownloadDialog::scroller
private

Definition at line 86 of file library_download_dialog.h.


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