Mercurial > hg > svgui
comparison layer/Layer.h @ 1520:4eafe5a1b655 time-frequency-boxes
Tidying
author | Chris Cannam |
---|---|
date | Wed, 25 Sep 2019 09:46:27 +0100 |
parents | b402121d8f5f |
children | 4f8c72adbf43 |
comparison
equal
deleted
inserted
replaced
1519:235e08aa2d5d | 1520:4eafe5a1b655 |
---|---|
486 double /* max */) { | 486 double /* max */) { |
487 return false; | 487 return false; |
488 } | 488 } |
489 | 489 |
490 /** | 490 /** |
491 * Consider using the given value extents and units for this | |
492 * layer. This may be called on a new layer when added, to prepare | |
493 * it for editing, and the extents are those of the layer | |
494 * underneath it. May not be appropriate for most layer types. | |
495 */ | |
496 virtual bool adoptExtents(double /* min */, double /* max */, | |
497 QString /* unit */) { | |
498 return false; | |
499 } | |
500 | |
501 /** | |
491 * Return the value and unit at the given x coordinate in the | 502 * Return the value and unit at the given x coordinate in the |
492 * given view. This is for descriptive purposes using the | 503 * given view. This is for descriptive purposes using the |
493 * measurement tool. The default implementation works correctly | 504 * measurement tool. The default implementation works correctly |
494 * if the layer hasTimeXAxis(). | 505 * if the layer hasTimeXAxis(). |
495 */ | 506 */ |