10 //! UserInterface class.
12 * UserInterface class which launches a modal progress bar during application events that might take
15 class ProgressBar : public QDialog
22 * Constructor to initialize the StatusWidget instance.
23 * \param aParent Parent object.
24 * \param aTitle Title string to be set to the progress bar.
26 ProgressBar( const QString &aTitle, bool aCancellable = false, QWidget *aParent = 0 );
28 virtual ~ProgressBar();
29 //! Updates the text fields of progress bar dialog.
31 * Updates the text fields of progress bar dialog.
32 * \param aMessage The text for the label of the dialog.
33 * \param aTitle Title string to be set to the progress bar.
35 void update( const QString &aMessage, const QString &aTitle = "" );
37 void toggleCancellable( bool aEnable );
40 //! Signal. Emitted if user presses cancel button.
42 * Signal. Emitted if user presses cancel button.
48 QProgressBar *iProgress;
54 #endif /*PROGRESSBAR_H_*/