comparison layer/NoteLayer.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
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); 55 virtual void deleteSelection(Selection s);
56 56
57 virtual void copy(Selection s, Clipboard &to); 57 virtual void copy(Selection s, Clipboard &to);
58 virtual void paste(const Clipboard &from, int frameOffset); 58 virtual bool paste(const Clipboard &from, int frameOffset,
59 bool interactive);
59 60
60 virtual const Model *getModel() const { return m_model; } 61 virtual const Model *getModel() const { return m_model; }
61 void setModel(NoteModel *model); 62 void setModel(NoteModel *model);
62 63
63 virtual PropertyList getProperties() const; 64 virtual PropertyList getProperties() const;