Mercurial > hg > svgui
diff layer/Layer.h @ 299:5c59c433b358
* Show colour swatch next to layer name in pane (if available)
* Fix for incorrect layer name prefix handling (was making some layers appear
to have the same model name in cases where the model names differed by the
final character only)
author | Chris Cannam |
---|---|
date | Wed, 05 Sep 2007 15:17:15 +0000 |
parents | cd2492c5fe45 |
children | c0b9eec70639 |
line wrap: on
line diff
--- a/layer/Layer.h Thu Aug 16 16:47:07 2007 +0000 +++ b/layer/Layer.h Wed Sep 05 15:17:15 2007 +0000 @@ -24,6 +24,7 @@ #include <QRect> #include <QXmlAttributes> #include <QMutex> +#include <QPixmap> #include <map> #include <set> @@ -95,6 +96,7 @@ } virtual QString getLayerPresentationName() const; + virtual QPixmap getLayerPresentationPixmap(QSize) const { return QPixmap(); } virtual int getVerticalScaleWidth(View *, QPainter &) const { return 0; } virtual void paintVerticalScale(View *, QPainter &, QRect) const { }