diff -r 0060d11e4991 -r 843b3dbbd849 src/dialogs.h --- a/src/dialogs.h Tue Jul 09 03:07:39 2013 +0300 +++ b/src/dialogs.h Wed Jul 10 01:40:59 2013 +0300 @@ -38,6 +38,7 @@ class QAbstractButton; class Ui_OverlayUI; class Ui_LDPathUI; +class Ui_OpenProgressUI; class OverlayDialog : public QDialog { @@ -90,20 +91,21 @@ }; // ============================================================================= -class OpenProgressDialog : public QDialog { +class OpenProgressDialog : public QDialog +{ Q_OBJECT - READ_PROPERTY (ulong, progress, setProgress) - DECLARE_PROPERTY (ulong, numLines, setNumLines) + READ_PROPERTY( ulong, progress, setProgress ) + DECLARE_PROPERTY( ulong, numLines, setNumLines ) public: - explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); + explicit OpenProgressDialog( QWidget* parent = null, Qt::WindowFlags f = 0 ); + virtual ~OpenProgressDialog(); public slots: void updateProgress (int progress); private: - QProgressBar* progressBar; - QLabel* progressText; + Ui_OpenProgressUI* ui; void updateValues (); };