blob: 92fd1cbc4af82b8c225b9354a3ff6987ee60a484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef SIGSPINBOX_H
#define SIGSPINBOX_H
#include <QSpinBox>
class SigSpinBox : public QSpinBox
{
Q_OBJECT
bool _denominator;
protected:
virtual void keyPressEvent(QKeyEvent*);
virtual void stepBy(int);
public:
explicit SigSpinBox(QWidget *parent = 0);
void setDenominator();
signals:
void returnPressed();
void moveFocus();
public slots:
};
#endif // SIGSPINBOX_H
|