Mercurial > hg > svgui
comparison layer/NoteLayer.h @ 76:45ba0b381c5d
* Fix long-standing off-by-1 bug in WaveFileModel that was getting us the wrong
values for almost all audio data when merging channels (channel == -1)
* Implement cut, copy and paste
* Make draw mode work properly in time value layer
* Minor fixes to CSV import
author | Chris Cannam |
---|---|
date | Fri, 07 Apr 2006 17:50:33 +0000 |
parents | bf306158803d |
children | 19bf27e4fb29 |
comparison
equal
deleted
inserted
replaced
75:dfdbf336bb37 | 76:45ba0b381c5d |
---|---|
50 | 50 |
51 virtual void editOpen(View *v, QMouseEvent *); | 51 virtual void editOpen(View *v, QMouseEvent *); |
52 | 52 |
53 virtual void moveSelection(Selection s, size_t newStartFrame); | 53 virtual void moveSelection(Selection s, size_t newStartFrame); |
54 virtual void resizeSelection(Selection s, Selection newSize); | 54 virtual void resizeSelection(Selection s, Selection newSize); |
55 virtual void deleteSelection(Selection s); | |
56 | |
57 virtual void copy(Selection s, Clipboard &to); | |
58 virtual void paste(const Clipboard &from, int frameOffset); | |
55 | 59 |
56 virtual const Model *getModel() const { return m_model; } | 60 virtual const Model *getModel() const { return m_model; } |
57 void setModel(NoteModel *model); | 61 void setModel(NoteModel *model); |
58 | 62 |
59 virtual PropertyList getProperties() const; | 63 virtual PropertyList getProperties() const; |