2016-03-22 14:20:06 +00:00
|
|
|
#ifndef SLIDEREXAMPLES_H
|
|
|
|
#define SLIDEREXAMPLES_H
|
|
|
|
|
2016-03-22 14:20:34 +00:00
|
|
|
#include "examplelist.h"
|
|
|
|
|
2016-04-03 22:38:55 +00:00
|
|
|
class QLineEdit;
|
2016-05-01 17:07:53 +00:00
|
|
|
class Slider;
|
2016-04-03 22:38:55 +00:00
|
|
|
|
2016-03-22 14:20:34 +00:00
|
|
|
class SliderExamples : public ExampleList
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit SliderExamples(QWidget *parent = 0);
|
|
|
|
~SliderExamples();
|
2016-04-03 22:38:55 +00:00
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void updateValue(int value);
|
2016-05-01 17:07:53 +00:00
|
|
|
void flip();
|
2016-04-03 22:38:55 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
QLineEdit *const _edit;
|
2016-05-01 17:07:53 +00:00
|
|
|
Slider *const _slider;
|
2016-03-22 14:20:34 +00:00
|
|
|
};
|
|
|
|
|
2016-03-22 14:20:06 +00:00
|
|
|
#endif // SLIDEREXAMPLES_H
|