Move enable/disable groove per instrument track...
...from the TrackOperationsWidget to the InstrumentMiscView.
This commit is contained in:
@@ -62,8 +62,7 @@ private:
|
||||
QToolButton * m_wpBtn;
|
||||
|
||||
LcdSpinBox* m_baseVelocitySpinBox;
|
||||
|
||||
} ;
|
||||
};
|
||||
|
||||
class InstrumentMiscView : public QWidget
|
||||
{
|
||||
@@ -76,11 +75,14 @@ public:
|
||||
{
|
||||
return m_pitchGroupBox;
|
||||
}
|
||||
GroupBox * grooveGroupBox()
|
||||
{
|
||||
return m_grooveGroupBox;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
GroupBox * m_pitchGroupBox;
|
||||
|
||||
GroupBox * m_grooveGroupBox;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -271,6 +271,7 @@ private:
|
||||
IntModel m_pitchRangeModel;
|
||||
IntModel m_effectChannelModel;
|
||||
BoolModel m_useMasterPitchModel;
|
||||
BoolModel m_useGrooveModel;
|
||||
|
||||
|
||||
Instrument * m_instrument;
|
||||
@@ -287,7 +288,9 @@ private:
|
||||
friend class NotePlayHandle;
|
||||
friend class InstrumentMiscView;
|
||||
|
||||
} ;
|
||||
private slots:
|
||||
void updateGroove();
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -441,9 +441,6 @@ private slots:
|
||||
void recordingOn();
|
||||
void recordingOff();
|
||||
void clearTrack();
|
||||
QMenu * grooveMenu();
|
||||
void enableGroove();
|
||||
void disableGroove();
|
||||
|
||||
private:
|
||||
static QPixmap * s_grip;
|
||||
|
||||
Reference in New Issue
Block a user