summaryrefslogtreecommitdiff
path: root/muse2/awl/sigspinbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/awl/sigspinbox.h')
-rw-r--r--muse2/awl/sigspinbox.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/muse2/awl/sigspinbox.h b/muse2/awl/sigspinbox.h
new file mode 100644
index 00000000..ca893a24
--- /dev/null
+++ b/muse2/awl/sigspinbox.h
@@ -0,0 +1,23 @@
+#ifndef SIGSPINBOX_H
+#define SIGSPINBOX_H
+
+#include <QSpinBox>
+
+class SigSpinBox : public QSpinBox
+{
+ Q_OBJECT
+
+protected:
+ virtual void keyPressEvent(QKeyEvent*);
+public:
+ explicit SigSpinBox(QWidget *parent = 0);
+
+signals:
+ void returnPressed();
+ void moveFocus();
+
+public slots:
+
+};
+
+#endif // SIGSPINBOX_H