154 private slots: |
154 private slots: |
155 void radioBoxChanged (); |
155 void radioBoxChanged (); |
156 }; |
156 }; |
157 |
157 |
158 // ============================================================================= |
158 // ============================================================================= |
159 class OpenFileDialog : public QDialog { |
159 class OpenProgressDialog : public QDialog { |
160 Q_OBJECT |
160 Q_OBJECT |
161 READ_PROPERTY (ulong, progress) |
161 READ_PROPERTY (ulong, progress) |
162 CALLBACK_PROPERTY (ulong, numLines, setNumLines) |
162 CALLBACK_PROPERTY (ulong, numLines, setNumLines) |
163 PROPERTY (str, fileName, setFileName) |
|
164 |
163 |
165 public: |
164 public: |
166 explicit OpenFileDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
165 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
167 |
166 |
168 public slots: |
167 public slots: |
169 void updateProgress (int progress); |
168 void updateProgress (int progress); |
170 |
169 |
171 private: |
170 private: |