comparison layer/SingleColourLayer.h @ 1324:13d9b422f7fe zoom

Merge from default branch
author Chris Cannam
date Mon, 17 Sep 2018 13:51:31 +0100
parents 1d7921b1852f
children a18e78b9c78b
comparison
equal deleted inserted replaced
1183:57d192e26331 1324:13d9b422f7fe
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _SINGLE_COLOUR_LAYER_H_ 16 #ifndef SV_SINGLE_COLOUR_LAYER_H
17 #define _SINGLE_COLOUR_LAYER_H_ 17 #define SV_SINGLE_COLOUR_LAYER_H
18 18
19 #include "Layer.h" 19 #include "Layer.h"
20 #include <QColor> 20 #include <QColor>
21 #include <vector> 21 #include <vector>
22 #include <map> 22 #include <map>
60 virtual PropertyType getPropertyType(const PropertyName &) const; 60 virtual PropertyType getPropertyType(const PropertyName &) const;
61 virtual QString getPropertyGroupName(const PropertyName &) const; 61 virtual QString getPropertyGroupName(const PropertyName &) const;
62 virtual int getPropertyRangeAndValue(const PropertyName &, 62 virtual int getPropertyRangeAndValue(const PropertyName &,
63 int *min, int *max, int *deflt) const; 63 int *min, int *max, int *deflt) const;
64 virtual QString getPropertyValueLabel(const PropertyName &, 64 virtual QString getPropertyValueLabel(const PropertyName &,
65 int value) const; 65 int value) const;
66 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const; 66 virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const;
67 virtual void setProperty(const PropertyName &, int value); 67 virtual void setProperty(const PropertyName &, int value);
68 68
69 virtual void toXml(QTextStream &stream, QString indent = "", 69 virtual void toXml(QTextStream &stream, QString indent = "",
70 QString extraAttributes = "") const; 70 QString extraAttributes = "") const;