comparison layer/LayerFactory.h @ 1459:42c87368287c

Merge from branch single-point
author Chris Cannam
date Fri, 17 May 2019 10:02:52 +0100
parents 9e846af73f3e
children f2525e6cbdf1
comparison
equal deleted inserted replaced
1441:8d5bf4ab98ef 1459:42c87368287c
66 66
67 LayerType getLayerType(const Layer *); 67 LayerType getLayerType(const Layer *);
68 68
69 Layer *createLayer(LayerType type); 69 Layer *createLayer(LayerType type);
70 70
71 /**
72 * Set the default properties of a layer, from the XML string
73 * contained in the LayerDefaults settings group for the given
74 * layer type. Leave unchanged any properties not mentioned in the
75 * settings.
76 */
71 void setLayerDefaultProperties(LayerType type, Layer *layer); 77 void setLayerDefaultProperties(LayerType type, Layer *layer);
78
79 /**
80 * Set the properties of a layer, from the XML string
81 * provided. Leave unchanged any properties not mentioned.
82 */
83 void setLayerProperties(Layer *layer, QString xmlString);
72 84
73 QString getLayerPresentationName(LayerType type); 85 QString getLayerPresentationName(LayerType type);
74 86
75 bool isLayerSliceable(const Layer *); 87 bool isLayerSliceable(const Layer *);
76 88