summaryrefslogtreecommitdiff
path: root/muse2/muse/widgets/noteinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/widgets/noteinfo.h')
-rw-r--r--muse2/muse/widgets/noteinfo.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/muse2/muse/widgets/noteinfo.h b/muse2/muse/widgets/noteinfo.h
index 078ba85c..56079f34 100644
--- a/muse2/muse/widgets/noteinfo.h
+++ b/muse2/muse/widgets/noteinfo.h
@@ -29,8 +29,6 @@ namespace Awl {
//class PitchEdit;
};
-class QSpinBox;
-
///class PosEdit;
namespace MusECore {
class Pos;
@@ -39,6 +37,7 @@ class Pos;
namespace MusEGui {
class PitchEdit;
+class SpinBox;
//---------------------------------------------------------
// NoteInfo
@@ -46,17 +45,15 @@ class PitchEdit;
class NoteInfo : public QToolBar {
Q_OBJECT
-
+
///PosEdit* selTime;
Awl::PosEdit* selTime;
- QSpinBox* selLen;
+ SpinBox* selLen;
PitchEdit* selPitch;
- QSpinBox* selVelOn;
- QSpinBox* selVelOff;
+ SpinBox* selVelOn;
+ SpinBox* selVelOff;
bool deltaMode;
-
-
public:
enum ValType {VAL_TIME, VAL_LEN, VAL_VELON, VAL_VELOFF, VAL_PITCH };
//NoteInfo(QMainWindow* parent);
@@ -76,6 +73,8 @@ class NoteInfo : public QToolBar {
signals:
void valueChanged(MusEGui::NoteInfo::ValType, int);
+ void returnPressed();
+ void escapePressed();
};
} // namespace MusEGui