mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
f52f6e2d44
git-subtree-dir: src/gui/qocoa git-subtree-split: ffe23cbb2f221bc9eacd1de2134c2947fed71c12
30 lines
726 B
C++
30 lines
726 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
|