41 Commits

Author SHA1 Message Date
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
4a10066b69 Fix grammar errors in class docstrings 2025-04-01 09:44:00 +10:00
Nyall Dawson
afd2e4f42d Fix doxygen class briefs which aren't full sentences 2025-04-01 09:44:00 +10:00
Nyall Dawson
602ef6c691 Don't start class briefs with "This class contains settings..."
It's unncessarily verbose, use just "Contains settings..." instead.
2025-03-30 20:48:07 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +10:00
Nyall Dawson
75c8e3e2c4 Fix memory leaks in classification methods, use unique_ptrs 2024-12-18 13:21:06 +10:00
Julien Cabieces
ed64834106 api(deprecated): add message to deprecated SIP annotation 2024-12-17 09:06:42 +01:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation 2024-09-10 11:11:25 +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
Nyall Dawson
be8dce7d0d Valid improvements from new sipify 2024-08-13 20:28:55 +10:00
Nyall Dawson
e7bff1f50e Avoid API break 2024-06-11 07:45:09 +10:00
uclaros
c6eb40f64f update docstrings 2024-06-11 07:45:09 +10:00
uclaros
6c0789da94 introduce error reporting parameter, limit classes to 999 2024-06-11 07:45:09 +10:00
Nyall Dawson
2a51be0e7d Disable classes spin box for fixed range classification method 2022-05-06 13:44:31 +10:00
Nyall Dawson
e5c0a14ecd [feature] Add a new classification method for "Fixed interval"
Allows users to create graduated breaks using a specific interval
width for classes (instead of the total number of classes)

Sponsored by SLYR
2022-05-06 13:44:31 +10:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
c253bee452 Fix typo 2021-01-31 05:41:22 +10:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
746ee315bd Fix boolean literal presentation in dox/PyQGIS docs 2020-10-16 16:03:26 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Denis Rouzaud
84d6bbe88a fix dox and switch to classic enum
scope based enum is causing troubles from Python depending on sip version
2019-12-06 13:06:08 +01:00
Denis Rouzaud
86c3202a1d Classification methods: save/read parameters, improve negative value handling in log method 2019-12-06 09:10:43 +01:00
Denis Rouzaud
dbd2d74a57 fix documentation 2019-12-05 10:17:51 +01:00
Denis Rouzaud
456384e4b3 use QgsProcessingParameters::parameterAsBool
rather than re-implementing QVariant conversion in QgsClassificationMethod
2019-12-05 09:50:16 +01:00
Denis Rouzaud
a3a7b5f447 code layout, loop improvements, dox, const correction 2019-12-05 06:09:29 +01:00
Denis Rouzaud
aec68661ca update python bindings 2019-12-04 22:20:26 +01:00
Nyall Dawson
5be319157f Fix memory leak 2019-10-29 07:47:33 +10:00
Denis Rouzaud
db7f8c385a rename listToValues to classesToBreaks 2019-09-03 13:51:15 +02:00
Denis Rouzaud
ec37076532 add __repr__ for QgsClassificationRange 2019-09-03 13:34:28 +02:00
Denis Rouzaud
397f0f69f7 fix API docs 2019-09-03 10:59:37 +02:00
Denis Rouzaud
66ef2fa4c2 classification method registry orders methods by name 2019-09-03 10:08:16 +02:00
Denis Rouzaud
24c16fcbdc implement virtual icon() for classification methods 2019-09-03 10:05:46 +02:00
Denis Rouzaud
5fd76ffb9a [FEATURE] add logarithmic scale method for graduated renderer
So easy with new API :)
2019-09-03 08:08:38 +02:00
Nyall Dawson
bf61a94b4a Don't pass doubles by reference, pass lists by reference 2019-09-03 10:35:21 +10:00
Denis Rouzaud
b2dd626959 use flags to defined classification method properties 2019-09-02 12:57:34 +02:00
Denis Rouzaud
734e99e1e0 add classification methods to API docs 2019-09-02 10:16:21 +02:00
Denis Rouzaud
68a9ea5d70 move src/core/symbology/classification to src/core/classification 2019-09-02 09:46:40 +02:00