200 Commits

Author SHA1 Message Date
qgis-bot
ecfd18cea6 auto sipify 🍺 2024-08-23 09:37:22 +00:00
signedav
02c36d9fd6
Merge pull request #58448 from signedav/releditorfilter
Filter in Linking Dialogue of Relation Editor Widget
2024-08-23 11:34:13 +02:00
qgis-bot
14604a8e7a auto sipify 🍺 2024-08-22 12:16:11 +00:00
Julien Cabieces
08806145fc
Merge pull request #58376 from troopa81/ui_cmyk_percent
[ColorWidget] Edit CMYK as percent
2024-08-22 14:13:02 +02:00
Julien Cabieces
3b7a3c0060 style(ColorWidgets): Rename Raw enum to Scaled0to255 2024-08-22 09:58:55 +02:00
qgis-bot
04dac197d1 auto sipify 🍺 2024-08-21 22:54:12 +00:00
signedav
5c9890ce69 fix typos 2024-08-21 14:59:34 +02:00
Julien Cabieces
a24779fdeb fix(ColorWidget): Run sipify since new static wrapper 2024-08-21 13:46:45 +02:00
Julien Cabieces
bdb835d164 fix(ColorWidget): Add missing Q_ENUM 2024-08-21 10:06:30 +02:00
Julien Cabieces
5deb18f91c ui(ColorWidget): Display CMYK components as percent 2024-08-21 10:06:30 +02:00
signedav
66fac268c8 Integrate expression builder in configuration 2024-08-21 08:08:38 +02:00
qgis-bot
f12421d8f0 auto sipify 🍺 2024-08-20 19:24:20 +00:00
Julien Cabieces
6cd3e14d5a fix(ColorWidget): update sip files since new sipify 2024-08-21 05:20:48 +10:00
Julien Cabieces
35dad9a7fe fix(ColorWidget): fix sip and missing deprecated 2024-08-21 05:20:48 +10:00
Julien Cabieces
439078651e fix(ColorWidget): Add missing SIP_DEPRECATED 2024-08-21 05:20:48 +10:00
Julien Cabieces
b3dd3a0e32 feat(ColorWidget): Set color component as float 2024-08-21 05:20:48 +10:00
qgis-bot
eac7f1a211 auto sipify 🍺 2024-08-20 14:43:42 +00:00
Nyall Dawson
1128c909ee Move all gui map tools files into maptools/ subfolder
Previously only a few were in this subfolder, which made it
confusing to find the others...
2024-08-20 16:38:45 +02:00
signedav
0184eb1c77 Implement filterExpression in RelationEditorWidget and Config
Make QgsAbstractRelationEditorWidget accept filterExpression on linkFeature function
2024-08-20 15:47:31 +02:00
signedav
72c596c7ea make setFilterExpression public to make possible to set filters by e.g. widgets 2024-08-19 17:38:33 +02:00
Nyall Dawson
c797b83f6b Don't leak Qgis into gui, analysis modules 2024-08-19 11:16:01 +02:00
Nyall Dawson
3f481b568e Record header subfolders as __group__ attribute in PyQGIS classes
This will allow us to logically create subgroups for PyQGIS modules
in the API reference guide
2024-08-17 20:13:12 +10:00
qgis-bot
d57e7ce5cf auto sipify 🍺 2024-08-17 06:42:30 +00:00
Mathieu Pellerin
52816584cc Address review 2024-08-17 11:37:35 +07:00
Mathieu Pellerin
26308050c4 [processing] Fix script editor dialog wrongly jumping back to line 1 and setting changed to true after saving file 2024-08-16 14:53:53 +07:00
qgis-bot
8b60f0bb80 auto sipify 🍺 2024-08-15 21:31:53 +00:00
Nyall Dawson
428a1cd405 Add missing files 2024-08-16 07:28:29 +10:00
Nyall Dawson
989e62a80f Handle docstrings for c++ structs
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00
Nyall Dawson
6cbf8f09e0 Cleanup QgsMapLayerComboBox docs 2024-08-16 07:28:29 +10:00
qgis-bot
ef4b67d963 auto sipify 🍺 2024-08-15 04:30:37 +00:00
Nyall Dawson
3e1bf261b9 Add some useful methods for annotation item widgets 2024-08-15 14:27:35 +10:00
qgis-bot
9b6602e129 auto sipify 🍺 2024-08-14 20:28:38 +00:00
Nyall Dawson
02d9cc2af2 Sipify 2024-08-15 06:25:08 +10:00
Nyall Dawson
c2529994aa Use rich text editor for annotation text item widgets
Makes it easier for users to style annotation items with rich
formatting, instead of forcing use of raw HTML
2024-08-15 06:25:08 +10:00
Nyall Dawson
e8724fa45e Add mode switch for QgsRichTextEditor
Allows using the widget in a QgsTextRenderer HTML subset mode,
where only functionality supported by QgsTextRenderer is
exposed in the widget. Also add a Plain Text mode.
2024-08-15 06:25:08 +10:00
Nyall Dawson
1f27fc627a [pyqgis] Wrap unambiguously static methods in staticmethod
sip doesn't use the standard Python staticmethod type for defining
static methods, which means that standard means of testing
for a static method (like `isinstance(..., staticmethod)`) fail
with any PyQGIS static methods.

This causes issues with lint tools, which incorrectly flag
calls to QGIS static methods as missing self arguments. It also
breaks detection of static methods in the sphinx PyQGIS docs,
so all static methods are shown as non-static.

Work around this in sipify, by wrapping unambiguously static
methods in staticmethod wrappers.
2024-08-14 22:08:41 +10:00
Nyall Dawson
dc68f03f88 Be tolerant against optional sip modules 2024-08-14 13:05:46 +10:00
Nyall Dawson
8b04562ba7 Avoid fragile reg for argument removal 2024-08-14 13:05:46 +10:00
Nyall Dawson
ed19d996b2 Collect attribute docstrings for PyQGIS documentation 2024-08-14 13:05:46 +10:00
qgis-bot
a3751f5196 auto sipify 🍺 2024-08-13 11:56:33 +00:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
e7b26478e2 Valid fixes 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
886074c913 Rename 'None' enum members in public API
These clash with the Python bindings, where the enum value
becomes unusable
2024-08-06 19:49:10 +10:00
Nyall Dawson
dbafe6c702 Fix clang-tidy warning 2024-08-06 13:30:16 +10:00
Nyall Dawson
547387037f [annotations] Add support for callouts to point text item
Allows creating of callout lines (or bubble callouts) which
link the text to a map location. To create a callout, users
select the text item and then drag out the central x node
to the desired callout end point.

Callout styles can be modified through the layer styling panel.
2024-08-06 13:30:16 +10:00
Nyall Dawson
627263ec0f Implement widget for symbol buffer settings 2024-08-02 05:09:03 +10:00
qgis-bot
bcccc007f5 auto sipify 🍺 2024-07-31 10:08:30 +00:00
Mathieu Pellerin
6994d1c680
[advanced digitizing] Add circles intersection digitizing tool (#57648) 2024-07-31 17:05:58 +07:00
qgis-bot
527c9eff1a auto sipify 🍺 2024-07-29 03:22:40 +00:00