Move enable/disable groove per instrument track...

...from the TrackOperationsWidget to the InstrumentMiscView.
This commit is contained in:
Hussam Eddin Alhomsi
2018-04-28 18:28:18 +03:00
parent 9e23b2a03b
commit 3760e4642f
6 changed files with 44 additions and 93 deletions

View File

@@ -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

View File

@@ -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();
};

View File

@@ -441,9 +441,6 @@ private slots:
void recordingOn();
void recordingOff();
void clearTrack();
QMenu * grooveMenu();
void enableGroove();
void disableGroove();
private:
static QPixmap * s_grip;