mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 03:09:57 +01:00
24 lines
346 B
C++
24 lines
346 B
C++
#ifndef BUSYINDICATOR_H
|
|
#define BUSYINDICATOR_H
|
|
|
|
#include <QLabel>
|
|
|
|
class QMovie;
|
|
|
|
class BusyIndicator : public QLabel {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
BusyIndicator(QWidget* parent = 0);
|
|
~BusyIndicator();
|
|
|
|
protected:
|
|
void showEvent(QShowEvent* event);
|
|
void hideEvent(QHideEvent* event);
|
|
|
|
private:
|
|
QMovie* movie_;
|
|
};
|
|
|
|
#endif // BUSYINDICATOR_H
|