#ifndef QPROGRESSINDICATORSPINNING_H #define QPROGRESSINDICATORSPINNING_H #include #include class QProgressIndicatorSpinningPrivate; class QProgressIndicatorSpinning : public QWidget { Q_OBJECT public: // Matches NSProgressIndicatorThickness enum Thickness { Default = 14, Small = 10, Large = 18, Aqua = 12 }; explicit QProgressIndicatorSpinning(QWidget *parent, Thickness thickness = Default); public slots: void animate(bool animate = true); private: friend class QProgressIndicatorSpinningPrivate; QPointer pimpl; }; #endif // QPROGRESSINDICATORSPINNING_H