Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
f3648ba3f6
Move getters and setters for layer opacity from QgsVectorLayer to QgsMapLayer
...
All the logic for rendering non-opaque layers is handled in a layer
type agnostic way already, so this just allows the existing handling
to be used for mesh/point cloud/vector tile/etc layers also
2020-11-13 21:27:06 +10:00
Nyall Dawson
819fc50b0e
Don't use generic "QgsMapLayer" class name in map layer Python repr
...
strings
Rather use actual layer subclass type, e.g. QgsVectorLayer
2020-11-12 16:05:52 +10:00
Nyall Dawson
b9cd453674
Add method to determine whether an annotation layer is empty
2020-09-01 15:29:32 +10:00
Nyall Dawson
69665cd534
Add method to reset QgsAnnotationLayer back to default state
2020-08-27 13:08:51 +10:00
Nyall Dawson
199cd7e8d2
Add clear method to QgsAnnotationLayer
2020-08-27 13:08:51 +10:00
Nyall Dawson
f0d2f3d21d
Allow removing items from annotation layers
2020-08-05 16:27:09 +10:00
Nyall Dawson
5e9264dfb7
Add unit tests for annotation layer
2020-08-05 16:27:09 +10:00
Nyall Dawson
c31ee84b46
Don't return reference
2020-08-05 16:27:09 +10:00
Nyall Dawson
a90555bf95
Remove data provider from annotation layer -- this is no longer required
2020-08-05 16:27:09 +10:00
Nyall Dawson
6f90139fe9
Dox, build fixes
2020-08-05 16:27:09 +10:00
Nyall Dawson
96cf240b39
Dox cleanup
2020-08-05 16:27:09 +10:00
Nyall Dawson
c523063401
Basic storage and restore of annotation layers in projects
2020-08-05 16:27:09 +10:00
Nyall Dawson
bc745a14e1
Create minimal data provider for annotation layers
2020-08-05 16:27:09 +10:00
Nyall Dawson
83e48c0254
Add missing Transfer annotation
2020-08-05 16:27:09 +10:00
Nyall Dawson
c8e86aefc7
Move QgsAnnotationItem to its own file
2020-08-05 16:27:09 +10:00
Nyall Dawson
21a2599d0d
Move annotation layer renderer to own file
2020-08-05 16:27:09 +10:00
Nyall Dawson
9f943f72a8
First steps towards free-form graphics item layer
...
Based on a port from the downstream Kadas application's item layer
type
Kudos to @manisandro
2020-08-05 16:27:09 +10:00