ardour
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
InterthreadProgressWindow Class Reference

#include <interthread_progress_window.h>

Inheritance diagram for InterthreadProgressWindow:
ArdourDialog ARDOUR::SessionHandlePtr ImportProgressWindow

Public Member Functions

 InterthreadProgressWindow (ARDOUR::InterThreadInfo *, std::string const &, std::string const &)
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (std::string title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, 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 ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 

Protected Member Functions

virtual bool update ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

Gtk::Button _cancel_button
 
Gtk::Label _cancel_label
 
Gtk::ProgressBar _bar
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Private Member Functions

void cancel_clicked ()
 

Private Attributes

ARDOUR::InterThreadInfo_interthread_info
 

Detailed Description

A progress dialogue which gets its status from an ARDOUR::InterThreadInfo struct. Displays a progress bar, which is automagically updated using a Glib timer, and a cancel button.

Definition at line 37 of file interthread_progress_window.h.

Constructor & Destructor Documentation

InterthreadProgressWindow::InterthreadProgressWindow ( ARDOUR::InterThreadInfo ,
std::string const &  ,
std::string const &   
)
Parameters
iStatus information.
tWindow title.
cLabel to use for Cancel button.

Definition at line 33 of file interthread_progress_window.cc.

Member Function Documentation

void InterthreadProgressWindow::cancel_clicked ( )
private

Definition at line 58 of file interthread_progress_window.cc.

bool InterthreadProgressWindow::update ( )
protectedvirtual

Reimplemented in ImportProgressWindow.

Definition at line 64 of file interthread_progress_window.cc.

Member Data Documentation

Gtk::ProgressBar InterthreadProgressWindow::_bar
protected

Definition at line 48 of file interthread_progress_window.h.

Gtk::Button InterthreadProgressWindow::_cancel_button
protected

Definition at line 46 of file interthread_progress_window.h.

Gtk::Label InterthreadProgressWindow::_cancel_label
protected

Definition at line 47 of file interthread_progress_window.h.

ARDOUR::InterThreadInfo* InterthreadProgressWindow::_interthread_info
private

Definition at line 53 of file interthread_progress_window.h.


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