Mercurial > hg > svgui
comparison layer/TextLayer.h @ 43:78515b1e29eb
* Rejig project file a bit to do pkg-config detection &c
and change some HAVE_* symbol names accordingly
* Add selection move/resize/delete
* First stubs for add layer / pane commands
author | Chris Cannam |
---|---|
date | Wed, 01 Mar 2006 18:13:01 +0000 |
parents | c28ebb4ba4de |
children | ad214997dddb |
comparison
equal
deleted
inserted
replaced
42:1bdf285c4eac | 43:78515b1e29eb |
---|---|
39 virtual void drawEnd(QMouseEvent *); | 39 virtual void drawEnd(QMouseEvent *); |
40 | 40 |
41 virtual void editStart(QMouseEvent *); | 41 virtual void editStart(QMouseEvent *); |
42 virtual void editDrag(QMouseEvent *); | 42 virtual void editDrag(QMouseEvent *); |
43 virtual void editEnd(QMouseEvent *); | 43 virtual void editEnd(QMouseEvent *); |
44 | |
45 virtual void moveSelection(Selection s, size_t newStartFrame); | |
46 virtual void resizeSelection(Selection s, Selection newSize); | |
44 | 47 |
45 virtual void editOpen(QMouseEvent *); // on double-click | 48 virtual void editOpen(QMouseEvent *); // on double-click |
46 | 49 |
47 virtual const Model *getModel() const { return m_model; } | 50 virtual const Model *getModel() const { return m_model; } |
48 void setModel(TextModel *model); | 51 void setModel(TextModel *model); |