Mercurial > hg > svgui
comparison layer/TextLayer.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 | 705f05ab42e3 |
children | 19bf27e4fb29 |
comparison
equal
deleted
inserted
replaced
75:dfdbf336bb37 | 76:45ba0b381c5d |
---|---|
48 virtual void editDrag(View *v, QMouseEvent *); | 48 virtual void editDrag(View *v, QMouseEvent *); |
49 virtual void editEnd(View *v, QMouseEvent *); | 49 virtual void editEnd(View *v, QMouseEvent *); |
50 | 50 |
51 virtual void moveSelection(Selection s, size_t newStartFrame); | 51 virtual void moveSelection(Selection s, size_t newStartFrame); |
52 virtual void resizeSelection(Selection s, Selection newSize); | 52 virtual void resizeSelection(Selection s, Selection newSize); |
53 virtual void deleteSelection(Selection s); | |
54 | |
55 virtual void copy(Selection s, Clipboard &to); | |
56 virtual void paste(const Clipboard &from, int frameOffset); | |
53 | 57 |
54 virtual void editOpen(View *, QMouseEvent *); // on double-click | 58 virtual void editOpen(View *, QMouseEvent *); // on double-click |
55 | 59 |
56 virtual const Model *getModel() const { return m_model; } | 60 virtual const Model *getModel() const { return m_model; } |
57 void setModel(TextModel *model); | 61 void setModel(TextModel *model); |