projects
/
dorian
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Observe volume keys on Symbian. Add minimal documentation to headers.
[dorian]
/
widgets
/
progress.h
1
#ifndef PROGRESS_H
2
#define PROGRESS_H
3
4
#include <QWidget>
5
#include <QLabel>
6
7
/** Subtle progress bar. */
8
class Progress: public QLabel
9
{
10
Q_OBJECT
11
12
public:
13
explicit Progress(QWidget *parent = 0);
14
15
signals:
16
17
public slots:
18
void setProgress(qreal p);
19
void flash();
20
21
protected:
22
void paintEvent(QPaintEvent *e);
23
void timerEvent(QTimerEvent *e);
24
25
private:
26
qreal progress;
27
int timer;
28
};
29
30
#endif // PROGRESS_H