comparison base/PropertyContainer.h @ 1331:576be7933ec7 3.0-integration

Introduce a colour map combo too. Doesn't yet have swatches
author Chris Cannam
date Fri, 16 Dec 2016 14:16:05 +0000
parents a54016762f77
children 48e9f538e6e9
comparison
equal deleted inserted replaced
1330:491a992f856e 1331:576be7933ec7
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 _PROPERTY_CONTAINER_H_ 16 #ifndef SV_PROPERTY_CONTAINER_H
17 #define _PROPERTY_CONTAINER_H_ 17 #define SV_PROPERTY_CONTAINER_H
18 18
19 #include "Command.h" 19 #include "Command.h"
20 20
21 #include <QString> 21 #include <QString>
22 #include <QObject> 22 #include <QObject>
38 enum PropertyType { 38 enum PropertyType {
39 ToggleProperty, // on or off 39 ToggleProperty, // on or off
40 RangeProperty, // range of integers 40 RangeProperty, // range of integers
41 ValueProperty, // range of integers given string labels 41 ValueProperty, // range of integers given string labels
42 ColourProperty, // colours, get/set as ColourDatabase indices 42 ColourProperty, // colours, get/set as ColourDatabase indices
43 ColourMapProperty, // colour maps, get/set as ColourMapper::StandardMap enum
43 UnitsProperty, // unit from UnitDatabase, get/set unit id 44 UnitsProperty, // unit from UnitDatabase, get/set unit id
44 InvalidProperty, // property not found! 45 InvalidProperty, // property not found!
45 }; 46 };
46 47
47 /** 48 /**