mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-28 01:01:21 +01:00
e337b7933b
- Fix includes - Use common regex (Song::kCoverRemoveDisc) for removing Disc/CD from album - Remove Disc/CD from album when creating hash - Make imobiledevice support compile - Fix setting device on windows
29 lines
686 B
C++
29 lines
686 B
C++
#ifndef QPROGRESSINDICATORSPINNING_H
|
|
#define QPROGRESSINDICATORSPINNING_H
|
|
|
|
#include <QWidget>
|
|
#include <QPointer>
|
|
|
|
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<QProgressIndicatorSpinningPrivate> pimpl;
|
|
};
|
|
|
|
#endif // QPROGRESSINDICATORSPINNING_H
|