Denis Rouzaud
|
e9fc54c0bd
|
fixes from review
|
2022-02-21 09:45:27 +01:00 |
|
Denis Rouzaud
|
7b86867cfa
|
Apply suggestions from code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
|
2022-02-21 08:46:26 +01:00 |
|
Denis Rouzaud
|
e88ae90430
|
add default Z/M values when calling QgsGeometry::coerceToType
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
cf0727650f
|
remove leftover circular string curve point tool
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
03a10559e9
|
remove files leftover
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
be0fe08c2e
|
better dox for deprecated interface actions methods
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
9af554ebd3
|
fix with Python < 3.9
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
514739b111
|
add test for QgsGeometry::addPart with curved parts on non-curved geoms (lines and polygons)
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
e83c8a5bb5
|
allow adding curved polygon to multipolygon
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
100fc91cb1
|
cast not always valid
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
68ba54072b
|
code a bit clearer
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
5aacbb8873
|
also handle points
|
2022-01-28 06:30:26 +01:00 |
|
Denis Rouzaud
|
11e63e9db2
|
fix adding curve part to multi line
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
a63af99a55
|
support adding multi lines as a part
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
4beb70b066
|
fix categories
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
f9ff15f02f
|
harmonize new settings with existing ones
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
2b6195c7e7
|
fix app test + clean up
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
acca2f1b68
|
avoid detach warnings
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
c01999d505
|
fix more tests
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
997197c6aa
|
fix win build
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
f476685310
|
refactor fill ring to support shape digitizing
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
deca81afdb
|
fix warning
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
b31c3fb067
|
adapt existing shape tests
the deletion test with circular vertices has been dropped since the capture map tool behaves differently
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
bef73cd091
|
correctly undo and clean
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
9510498223
|
enable shapes in annotation map tool
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
8f748239d9
|
correctly handle case when the capture is not done on a vector layer (annotation, mesh, …)
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
2635d42997
|
fix annotation map tool does not support shape + set tool name
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
71bb4f0a6f
|
fix unused warning
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
aef39ea16c
|
fix cpp check warning
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
41ea405302
|
fix more dox
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
d8d824aa2b
|
fix unused warning
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
6e9a7d5192
|
fix erasing at iterator pos
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
09a4376876
|
fix layout
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
f879351cca
|
add missing folder to Doxygen
|
2022-01-28 06:30:25 +01:00 |
|
Denis Rouzaud
|
e2e8a12850
|
refactor add ring to fully support capture map tool
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
42d86f74e7
|
refactoring of existing shape tools
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
e37e985b58
|
sipify
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
7c905091a0
|
clean up QgisInterface
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
972f53d3f4
|
new class QgsMapToolsDigitizingTechniqueManager to handle actions in app related to capture map tools
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
f0d9897864
|
clean up of QgisApp
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
0aed1cc660
|
adapt QgsMapToolCapture to correctly support shape map tools
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
55e8819240
|
abstract class for shape map tools
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
713243108a
|
add a registry for shape map tools
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
2c13d72951
|
add settings registry to app
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
8ec0dc5955
|
make actions exclusive
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
d434e21b5d
|
allow to add linear geometries on curved geometry layers
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
83c5e6fe04
|
add new class QgsMapToolCaptureLayerGeometry to handle layer specific operation in capture map tool
such as avoiding intersections
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
f577cf9ed2
|
use const abstract geom in virtual handlers
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
04d79bef6c
|
more dox
|
2022-01-28 06:30:24 +01:00 |
|
Denis Rouzaud
|
c88a63f654
|
also create a virtual handler for QgsMapToolDigitizeFeature::featureDigitized
|
2022-01-28 06:30:24 +01:00 |
|