mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 13:41:16 +01:00
30 lines
379 B
C
30 lines
379 B
C
|
#ifndef PERCENTSLIDER_H
|
||
|
#define PERCENTSLIDER_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
|
||
|
class QSlider;
|
||
|
class QLabel;
|
||
|
|
||
|
class PercentSlider : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
PercentSlider(QWidget *parent = 0);
|
||
|
|
||
|
int value() const;
|
||
|
|
||
|
public slots:
|
||
|
void setValue(int value);
|
||
|
|
||
|
private slots:
|
||
|
void updateLabel(int value);
|
||
|
|
||
|
private:
|
||
|
QSlider *_slider;
|
||
|
QLabel *_label;
|
||
|
};
|
||
|
|
||
|
#endif // PERCENTSLIDER_H
|