comparison layer/Layer.h @ 743:a352fb986e7b tony_integration

Merge from branch tonioni
author Chris Cannam
date Tue, 11 Mar 2014 17:33:19 +0000
parents dd64efa0dac8
children 1d526ba11a24
comparison
equal deleted inserted replaced
718:e5f4385615ac 743:a352fb986e7b
129 virtual QPixmap getLayerPresentationPixmap(QSize) const { return QPixmap(); } 129 virtual QPixmap getLayerPresentationPixmap(QSize) const { return QPixmap(); }
130 130
131 virtual int getVerticalScaleWidth(View *, bool detailed, 131 virtual int getVerticalScaleWidth(View *, bool detailed,
132 QPainter &) const = 0; 132 QPainter &) const = 0;
133 133
134 virtual void paintVerticalScale(View *, bool detailed, 134 virtual void paintVerticalScale(View *, bool /* detailed */,
135 QPainter &, QRect) const { } 135 QPainter &, QRect) const { }
136 136
137 virtual bool getCrosshairExtents(View *, QPainter &, QPoint /* cursorPos */, 137 virtual bool getCrosshairExtents(View *, QPainter &, QPoint /* cursorPos */,
138 std::vector<QRect> &) const { 138 std::vector<QRect> &) const {
139 return false; 139 return false;
148 148
149 virtual QString getFeatureDescription(View *, QPoint &) const { 149 virtual QString getFeatureDescription(View *, QPoint &) const {
150 return ""; 150 return "";
151 } 151 }
152 152
153 virtual QString getLabelPreceding(size_t frame) const { 153 virtual QString getLabelPreceding(size_t /* frame */) const {
154 return ""; 154 return "";
155 } 155 }
156 156
157 enum SnapType { 157 enum SnapType {
158 SnapLeft, 158 SnapLeft,
229 virtual void editDrag(View *, QMouseEvent *) { } 229 virtual void editDrag(View *, QMouseEvent *) { }
230 virtual void editEnd(View *, QMouseEvent *) { } 230 virtual void editEnd(View *, QMouseEvent *) { }
231 231
232 virtual void splitStart(View *, QMouseEvent *) { } 232 virtual void splitStart(View *, QMouseEvent *) { }
233 virtual void splitEnd(View *, QMouseEvent *) { } 233 virtual void splitEnd(View *, QMouseEvent *) { }
234 virtual void addNote(View *v, QMouseEvent *e) { }; 234 virtual void addNote(View *, QMouseEvent *) { };
235 235
236 // Measurement rectangle (or equivalent). Unlike draw and edit, 236 // Measurement rectangle (or equivalent). Unlike draw and edit,
237 // the base Layer class can provide working implementations of 237 // the base Layer class can provide working implementations of
238 // these for most situations. 238 // these for most situations.
239 // 239 //