Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
29050007d7
Fix class documentation which starts with "this is..."/"a class..." etc
2025-03-30 20:48:07 +10:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
Nyall Dawson
d50fe2a9e5
Fix function links, sipify
2024-12-03 12:57:44 +10:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0'
2024-02-18 20:57:23 +01:00
Denis Rouzaud
5bccd556e2
move QgsTolerance::UnitType to Qgis::MapUnitType ( #53347 )
...
* move QgsTolerance::UnitType to Qgis::MapUnitType
* missing forward declaration
* forward declaration
* use MapToolUnit
* forward declaration
* sipify
* fix tests
* Apply suggestions from code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
* forward declaration
* forward declaration
* forward declaration
* sipify
* fix missing parenthesis
---------
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-06-06 18:33:50 +02:00
Nyall Dawson
50c76929e1
Followup 30700f1, ensure links to Qgis members are set in docstrings
2023-03-31 10:46:24 +10:00
Denis Rouzaud
44681dc841
sipify
2022-03-01 12:09:47 +01:00
Denis Rouzaud
25262dadf7
create snapping mode setting + avoid confusion mode/type
2022-03-01 12:09:47 +01:00
Denis Rouzaud
36a933bb2b
move QgsSnappingConfig::SnappingTypeFlag + SnappingMode enum/flags to Qgis
2022-03-01 12:09:47 +01:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
b8baabf3f4
[FEATURE] Add new snapping option for "Line Endpoints"
...
When enabled, this snapping mode snaps to the beginning or end
vertex of lines only. When snapping to a polygon layer, only
the first vertex in rings will be snapped to.
Refs Natural resources Canada Contract: 3000720707
2021-03-04 12:20:39 +10:00
uclaros
9953570e30
Added method to clear all individual layer settings in QgsSnappingConfig
2020-09-26 10:30:13 +10:00
Peter Petrik
d9f18ccb9c
Fix spelling ( #37849 )
...
fix the spelling errors
2020-07-21 12:51:48 +02:00
olivierdalang
66ebe34004
[feature][selfsnap] add snapping to currently digitized feature for capture tool
2020-05-21 21:58:18 +02:00
obrix
44fec550d5
Invert th meaning of min scale and max scale to be coherent with other qgis feature. Minimum scale is the most zoomed out scale, maximum scale the most zoomed in. Enrich the tooltip to be more explicit. Should fix issue #35786 .
2020-04-29 13:00:39 +02:00
obrix
b5fa0fab5f
Remove prefix on parameters name. Remove whitespace.
2020-04-07 09:27:08 +02:00
obrix
f2a1712971
Fix spelling.
2020-04-07 09:27:08 +02:00
obrix
8b88115633
Fix some documentation issues. Use minimum and maximum instead of min and max. Add default value for min and max in IndividualLayerSettings as the two new parameters break compatibility.
2020-04-07 09:27:08 +02:00
obrix
080d0fa112
Remove useless comments in sip.
2020-04-07 09:27:08 +02:00
obrix
563e396015
Some style adjustments
2020-04-07 09:27:08 +02:00
obrix
03c522a957
Use a tri state button to configure snapping limit : disable, global and per layer.
2020-04-07 09:27:08 +02:00
obrix
f56e0f51c1
Various small reworks :
...
* better documentation
* translation on non translated string
* Grey out column min and max of individual layer snapping settings when snapping limit on scale is disabled.
Force the refresh when rowChanged is called even if the individual settings are the same to enable/disable immediately the columns when the snapping limit on scale button is pushed.
2020-04-07 09:27:08 +02:00
obrix
30a52ac55e
Fix PyQgsLayerDependencies test and add some doc.
2020-04-07 09:27:08 +02:00
obrix
6b9fb087c2
Fix style.
2020-04-07 09:27:08 +02:00
obrix
2346718ac7
Enable snapping whatever the scale when limit to scale is off. Also fix style.
2020-04-07 09:27:08 +02:00
obrix
7b4be2b7fa
Remove boolean limitToScaleRange, default value is -1.0. Negative values disable the limits.
2020-04-07 09:27:08 +02:00
obrix
8ec744ad11
Add 3 new parameters per layers to the advance snapping settings :
...
- LimitToScaleRange : Allows to enable snapping only when current scale on the canvas is in a specified range. This range is controled by the two parameters scale min and scale max.
- MinScale : Minimum scale in which the snapping is enabled
- MaxScale : Maximum scale in which the snapping is enabled
When LimitToScaleRange is set to true, snapping is disabled if the current scale out of [MinScale, MaxScale].
When LimitToScaleRange is set to false, the behavior remain unchanged and snapping is enabled whatever the scale.
This allows to limit the costly cache refresh for some heavy layers when panning said layer at a level where the snapping is not useful.
2020-04-07 09:27:08 +02:00
lbartoletti
dfa5cb68aa
New snapping modes: Centroid and middle of a segment (midpoint) ( #33622 )
...
Snap on centroid and midpoint segment [FEATURE][needs-docs]
2020-03-02 09:02:35 +01:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Blottiere Paul
8ecc5b9047
Cleaning
2018-07-20 16:24:48 +10:00
Blottiere Paul
6363aba94e
[FEATURE][needs-doc] Vertex tool can work on the current layer only
2018-07-20 16:24:48 +10:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
e8cf8c2f1c
[sipify] insert missing QMetaObject for gadget classes
2018-05-15 17:38:16 -04:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00