Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
LoadDialog Class Reference

The LoadDialog class. More...

#include <loaddialog.h>

Inheritance diagram for LoadDialog:

Public Slots

void setValue (int i)
 Set the progress bar value. More...
 

Signals

void cancel ()
 Signal emitted when the cancel button is clicked. More...
 

Public Member Functions

 LoadDialog (QWidget *parent)
 LoadDialog Constructor. More...
 

Private Attributes

QProgressBar * bar
 Progress bar widget. More...
 

Detailed Description

The LoadDialog class.

Shows a modal dialog for loading a project. Designed to be connected to a LoadThread object. This dialog should generally not be created directly, use OliveGlobal::LoadProject (or its variants) to correctly set up a LoadDialog and LoadThread and connect them to each other.

Constructor & Destructor Documentation

LoadDialog::LoadDialog ( QWidget *  parent)

LoadDialog Constructor.

Parameters
parentQWidget parent. Usually MainWindow.

Member Function Documentation

void LoadDialog::cancel ( )
signal

Signal emitted when the cancel button is clicked.

Ideally, connect this to LoadThread::cancel();

void LoadDialog::setValue ( int  i)
slot

Set the progress bar value.

Ideally, connect this to LoadThread::report_progress().

Parameters
iShould be a value between 0-100.

Member Data Documentation

QProgressBar* LoadDialog::bar
private

Progress bar widget.


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