qt-material-widgets/components/progress.h

27 lines
415 B
C
Raw Normal View History

2016-06-12 08:21:58 +00:00
#ifndef PROGRESS_H
#define PROGRESS_H
#include <QWidget>
2016-06-18 09:12:20 +00:00
class ProgressPrivate;
2016-06-12 08:21:58 +00:00
class Progress : public QWidget
{
Q_OBJECT
public:
explicit Progress(QWidget *parent = 0);
~Progress();
2016-06-18 09:12:20 +00:00
protected:
2016-06-18 09:36:40 +00:00
void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE;
2016-06-18 09:12:20 +00:00
const QScopedPointer<ProgressPrivate> d_ptr;
2016-06-12 08:21:58 +00:00
private:
Q_DISABLE_COPY(Progress)
2016-06-18 09:12:20 +00:00
Q_DECLARE_PRIVATE(Progress)
2016-06-12 08:21:58 +00:00
};
#endif // PROGRESS_H