Mercurial > hg > svgui
comparison layer/TextLayer.h @ 125:999ae0f7d10c
* Change preferences dialog to ok/apply/cancel model
* Make preferences persist in a config file
* Change instance() to getInstance() for all singleton types
* Make pasting to time-value layer with no values in clipboard ask you how to
generate the values
* Fix bad behaviour caused by importing "data"-type (i.e. 3d dense) model from
annotation file without a fixed window size available
author | Chris Cannam |
---|---|
date | Thu, 27 Jul 2006 16:06:32 +0000 |
parents | 47cb32bb35ab |
children | 33929e0c3c6b |
comparison
equal
deleted
inserted
replaced
124:bd6e85b3d88b | 125:999ae0f7d10c |
---|---|
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); | 53 virtual void deleteSelection(Selection s); |
54 | 54 |
55 virtual void copy(Selection s, Clipboard &to); | 55 virtual void copy(Selection s, Clipboard &to); |
56 virtual void paste(const Clipboard &from, int frameOffset); | 56 virtual bool paste(const Clipboard &from, int frameOffset, |
57 bool interactive); | |
57 | 58 |
58 virtual void editOpen(View *, QMouseEvent *); // on double-click | 59 virtual void editOpen(View *, QMouseEvent *); // on double-click |
59 | 60 |
60 virtual const Model *getModel() const { return m_model; } | 61 virtual const Model *getModel() const { return m_model; } |
61 void setModel(TextModel *model); | 62 void setModel(TextModel *model); |