22 class OpenProgressDialog : public QDialog |
22 class OpenProgressDialog : public QDialog |
23 { |
23 { |
24 Q_OBJECT |
24 Q_OBJECT |
25 |
25 |
26 public: |
26 public: |
27 OpenProgressDialog (QWidget* parent = nullptr, Qt::WindowFlags f = 0); |
27 OpenProgressDialog(QWidget* parent = nullptr, Qt::WindowFlags f = 0); |
28 virtual ~OpenProgressDialog(); |
28 virtual ~OpenProgressDialog(); |
29 |
29 |
30 int progress() const { return m_progress; } |
30 int progress() const { return m_progress; } |
31 int numLines() const { return m_numLines; } |
31 int numLines() const { return m_numLines; } |
32 void setNumLines (int value); |
32 void setNumLines(int value); |
33 |
33 |
34 public slots: |
34 public slots: |
35 void setProgress (int progress); |
35 void setProgress(int progress); |
36 |
36 |
37 private: |
37 private: |
38 class Ui_OpenProgressUI& ui; |
38 class Ui_OpenProgressUI& ui; |
39 int m_progress; |
39 int m_progress; |
40 int m_numLines; |
40 int m_numLines; |