Drop sample on sampletracks (#5043)
* implements drag and drop samples to sampletracks * clean up / take care of timeLineWidget heigth in songeditor * unused memeber removed * clean up * Update include/TrackContainerView.h Co-Authored-By: Spekular <Spekular@users.noreply.github.com> * Update src/gui/TrackContainerView.cpp Co-Authored-By: Spekular <Spekular@users.noreply.github.com> * Update src/gui/TrackContainerView.cpp Co-Authored-By: Spekular <Spekular@users.noreply.github.com> * Update src/gui/editors/SongEditor.cpp Co-Authored-By: Spekular <Spekular@users.noreply.github.com> * load AFP if we don't drop on a sample track * take care of timeLineWidget size changes * clean up * consolidate some code * requested changes by code review * move logic to SampleTrackView * clean up * clean up * clean up
This commit is contained in:
committed by
GitHub
parent
68cb91726a
commit
d766b87688
@@ -139,7 +139,7 @@ public:
|
||||
virtual bool play( const MidiTime & _start, const fpp_t _frames,
|
||||
const f_cnt_t _frame_base, int _tco_num = -1 );
|
||||
virtual TrackView * createView( TrackContainerView* tcv );
|
||||
virtual TrackContentObject * createTCO( const MidiTime & _pos );
|
||||
virtual TrackContentObject * createTCO(const MidiTime & pos);
|
||||
|
||||
|
||||
virtual void saveTrackSpecificSettings( QDomDocument & _doc,
|
||||
@@ -218,6 +218,8 @@ protected:
|
||||
return "SampleTrackView";
|
||||
}
|
||||
|
||||
void dragEnterEvent(QDragEnterEvent *dee);
|
||||
void dropEvent(QDropEvent *de);
|
||||
|
||||
private slots:
|
||||
void assignFxLine( int channelIndex );
|
||||
|
||||
Reference in New Issue
Block a user