Mercurial > hg > svgui
comparison layer/TextLayer.h @ 374:64e84e5efb76 spectrogram-cache-rejig
* Merge from trunk
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 11:59:42 +0000 |
parents | c0b9eec70639 |
children |
comparison
equal
deleted
inserted
replaced
332:6440e280122e | 374:64e84e5efb76 |
---|---|
42 | 42 |
43 virtual void drawStart(View *v, QMouseEvent *); | 43 virtual void drawStart(View *v, QMouseEvent *); |
44 virtual void drawDrag(View *v, QMouseEvent *); | 44 virtual void drawDrag(View *v, QMouseEvent *); |
45 virtual void drawEnd(View *v, QMouseEvent *); | 45 virtual void drawEnd(View *v, QMouseEvent *); |
46 | 46 |
47 virtual void eraseStart(View *v, QMouseEvent *); | |
48 virtual void eraseDrag(View *v, QMouseEvent *); | |
49 virtual void eraseEnd(View *v, QMouseEvent *); | |
50 | |
47 virtual void editStart(View *v, QMouseEvent *); | 51 virtual void editStart(View *v, QMouseEvent *); |
48 virtual void editDrag(View *v, QMouseEvent *); | 52 virtual void editDrag(View *v, QMouseEvent *); |
49 virtual void editEnd(View *v, QMouseEvent *); | 53 virtual void editEnd(View *v, QMouseEvent *); |
50 | 54 |
51 virtual void moveSelection(Selection s, size_t newStartFrame); | 55 virtual void moveSelection(Selection s, size_t newStartFrame); |
52 virtual void resizeSelection(Selection s, Selection newSize); | 56 virtual void resizeSelection(Selection s, Selection newSize); |
53 virtual void deleteSelection(Selection s); | 57 virtual void deleteSelection(Selection s); |
54 | 58 |
55 virtual void copy(Selection s, Clipboard &to); | 59 virtual void copy(View *v, Selection s, Clipboard &to); |
56 virtual bool paste(const Clipboard &from, int frameOffset, | 60 virtual bool paste(View *v, const Clipboard &from, int frameOffset, |
57 bool interactive); | 61 bool interactive); |
58 | 62 |
59 virtual bool editOpen(View *, QMouseEvent *); // on double-click | 63 virtual bool editOpen(View *, QMouseEvent *); // on double-click |
60 | 64 |
61 virtual const Model *getModel() const { return m_model; } | 65 virtual const Model *getModel() const { return m_model; } |