90 }; |
90 }; |
91 |
91 |
92 // ============================================================================= |
92 // ============================================================================= |
93 class OpenProgressDialog : public QDialog |
93 class OpenProgressDialog : public QDialog |
94 { Q_OBJECT |
94 { Q_OBJECT |
95 READ_PROPERTY (int, progress, setProgress) |
95 PROPERTY (public, int, Progress, NUM_OPS, NO_CB) |
96 DECLARE_PROPERTY (int, numLines, setNumLines) |
96 PROPERTY (public, int, NumLines, NUM_OPS, WITH_CB) |
97 |
97 |
98 public: |
98 public: |
99 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
99 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
100 virtual ~OpenProgressDialog(); |
100 virtual ~OpenProgressDialog(); |
101 |
101 |