summaryrefslogtreecommitdiff
path: root/muse2/awl/sigspinbox.h
blob: 502993381663e67e64d9b89cfbd3711d6117f56c (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
26
#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 escapePressed();
    void moveFocus();

public slots:

};

#endif // SIGSPINBOX_H