Mercurial > hg > svgui
comparison layer/TimeInstantLayer.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(SparseOneDimensionalModel *model); | 62 void setModel(SparseOneDimensionalModel *model); |
62 | 63 |
63 virtual PropertyList getProperties() const; | 64 virtual PropertyList getProperties() const; |
86 | 87 |
87 virtual int getCompletion(View *) const { return m_model->getCompletion(); } | 88 virtual int getCompletion(View *) const { return m_model->getCompletion(); } |
88 | 89 |
89 virtual bool needsTextLabelHeight() const { return m_model->hasTextLabels(); } | 90 virtual bool needsTextLabelHeight() const { return m_model->hasTextLabels(); } |
90 | 91 |
91 virtual bool getValueExtents(float &min, float &max, | 92 virtual bool getValueExtents(float &, float &, bool &, QString &) const { |
92 bool &log, QString &unit) const { | |
93 return false; | 93 return false; |
94 } | 94 } |
95 | 95 |
96 virtual QString toXmlString(QString indent = "", | 96 virtual QString toXmlString(QString indent = "", |
97 QString extraAttributes = "") const; | 97 QString extraAttributes = "") const; |