Imported Upstream version 0.13.2+dsfg1
This commit is contained in:
commit
fb3990e9e5
2036 changed files with 287360 additions and 0 deletions
22
obs/double-slider.hpp
Normal file
22
obs/double-slider.hpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include <QSlider>
|
||||
|
||||
class DoubleSlider : public QSlider {
|
||||
Q_OBJECT
|
||||
|
||||
double minVal, maxVal, minStep;
|
||||
|
||||
public:
|
||||
DoubleSlider(QWidget *parent = nullptr);
|
||||
|
||||
void setDoubleConstraints(double newMin, double newMax,
|
||||
double newStep, double val);
|
||||
|
||||
signals:
|
||||
void doubleValChanged(double val);
|
||||
|
||||
public slots:
|
||||
void intValChanged(int val);
|
||||
void setDoubleVal(double val);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue