14 Commits

Author SHA1 Message Date
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +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
David Koňařík
4d86676c35 Fix SIP build errors by using /NoTypeName/
The typedef is only present in the .sip file, but without this
annotation SIP assumes it also exists in QGIS headers. This didn't
completely break the build, since we concatenate multiple SIP headers
into larger files, so the typedefs from one part "fixed" another. Run
sip-build without --concatenate to see the issue clearly.

This fix is currently sadly not fully effective due to a SIP bug:
https://github.com/Python-SIP/sip/issues/66
2025-01-06 21:31:40 +01:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +10:00
Denis Rouzaud
18974480fb allow to set specific settings editors + add test 2024-10-25 11:51:35 +10:00
Denis Rouzaud
c75588d84a settings edtior wrappers: add direct constructor + add combo box editor for strings
this improves the usage from Python plugins
2024-10-07 13:55:31 +02:00
Denis Rouzaud
ec839e9d7c
rename settings editor widget wrappers (#58974)
to allow more than 1 widget type to be supported for each type of setting
2024-10-07 07:24:40 +02:00
Denis Rouzaud
0c8aee0234
[settings] support direct connection from widget value change to upda… (#58611)
* [settings] support direct connection from widget value change to update setting value

* support automatic setting update on dialog accept

* add settings entry

* better name + fix typo

* Update src/gui/settings/qgssettingseditorwidgetwrapper.h

Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>

* sipify

---------

Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
2024-09-12 16:32:46 +02:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Denis Rouzaud
5d55ee48d2
[settings] support enum and flags in tree editor (#54011) 2023-08-08 17:30:15 +00:00
Nyall Dawson
0d90cbcf1b sipify (followup cb1bfa1a) 2023-05-05 06:27:32 +10:00
Denis Rouzaud
7498d0994c fix dox 2023-04-27 10:29:09 +02:00
Denis Rouzaud
de1363df05 use opactify in colorbutton when possible 2023-04-23 08:04:21 +02:00
Denis Rouzaud
9f3ac79b8b sipify + CMakeLists 2023-04-23 07:19:47 +02:00