summaryrefslogtreecommitdiff
path: root/muse2/awl/sigedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/awl/sigedit.h')
-rw-r--r--muse2/awl/sigedit.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/muse2/awl/sigedit.h b/muse2/awl/sigedit.h
index acb0b9d8..5fe8186d 100644
--- a/muse2/awl/sigedit.h
+++ b/muse2/awl/sigedit.h
@@ -25,9 +25,9 @@
#include "al/sig.h"
//#include "sig.h"
+#include <awl/sigspinbox.h>
#include <QWidget>
-#include <QSpinBox>
#include <QHBoxLayout>
#include <QLabel>
@@ -48,8 +48,8 @@ class SigEdit : public QWidget
AL::TimeSignature _sig;
bool initialized;
QLabel *slash;
- QSpinBox *zSpin;
- QSpinBox *nSpin;
+ SigSpinBox *zSpin;
+ SigSpinBox *nSpin;
QHBoxLayout *layout;
virtual void paintEvent(QPaintEvent* event);
@@ -57,13 +57,16 @@ class SigEdit : public QWidget
signals:
void valueChanged(const AL::TimeSignature&);
+ void returnPressed();
private slots:
void setN(const int n);
void setZ(const int z);
+ void moveFocus();
public slots:
void setValue(const AL::TimeSignature&);
+ void setFocus();
public:
SigEdit(QWidget* parent = 0);