summaryrefslogtreecommitdiff
path: root/muse2/awl/sigspinbox.h
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-10-04 18:58:03 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-10-04 18:58:03 +0000
commitad507206af844ea5f9ca0b89726a92e159fc9c8c (patch)
tree7ab0904cf67ba9000ca0e1c751ced32d068f7782 /muse2/awl/sigspinbox.h
parentf3313cc78e637ec9bc11efce5eb943434da93416 (diff)
fixes to SigEdit
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