You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
371 B
C++
21 lines
371 B
C++
#ifndef QTPDOUBLESPINBOX_H
|
|
#define QTPDOUBLESPINBOX_H
|
|
|
|
#include <QtWidgets\qspinbox.h>
|
|
|
|
class QTpDoubleSpinBox : public QDoubleSpinBox
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QTpDoubleSpinBox(QWidget *parent);
|
|
~QTpDoubleSpinBox();
|
|
private Q_SLOTS:
|
|
void OnValueChanged(double v);
|
|
void OnValueChanged(const QString& text);
|
|
private:
|
|
|
|
};
|
|
|
|
#endif // QTPDOUBLESPINBOX_H
|