Labrador/Desktop Interface/espospinbox.h

26 lines
458 B
C++

#ifndef ESPOSPINBOX_H
#define ESPOSPINBOX_H
#include <QWidget>
#include <QDoubleSpinBox>
#include <QString>
#include <QTextStream>
class espoSpinBox : public QDoubleSpinBox
{
Q_OBJECT
public:
explicit espoSpinBox(QWidget *parent = 0);
private:
QString textFromValue(double value) const;
signals:
public slots:
void maximumChanged(double linked);
void setMax(double newMax);
void setMin(double newMin);
};
#endif // ESPOSPINBOX_H