88 void slot_tryConfigure(); |
89 void slot_tryConfigure(); |
89 void slot_exit(); |
90 void slot_exit(); |
90 }; |
91 }; |
91 |
92 |
92 // ============================================================================= |
93 // ============================================================================= |
93 class OpenProgressDialog : public QDialog { |
94 class OpenProgressDialog : public QDialog |
|
95 { |
94 Q_OBJECT |
96 Q_OBJECT |
95 READ_PROPERTY (ulong, progress, setProgress) |
97 READ_PROPERTY( ulong, progress, setProgress ) |
96 DECLARE_PROPERTY (ulong, numLines, setNumLines) |
98 DECLARE_PROPERTY( ulong, numLines, setNumLines ) |
97 |
99 |
98 public: |
100 public: |
99 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
101 explicit OpenProgressDialog( QWidget* parent = null, Qt::WindowFlags f = 0 ); |
|
102 virtual ~OpenProgressDialog(); |
100 |
103 |
101 public slots: |
104 public slots: |
102 void updateProgress (int progress); |
105 void updateProgress (int progress); |
103 |
106 |
104 private: |
107 private: |
105 QProgressBar* progressBar; |
108 Ui_OpenProgressUI* ui; |
106 QLabel* progressText; |
|
107 |
109 |
108 void updateValues (); |
110 void updateValues (); |
109 }; |
111 }; |
110 |
112 |
111 #endif // DIALOGS_H |
113 #endif // DIALOGS_H |