159 Commits

Author SHA1 Message Date
qgis-bot
2cbadecd13 auto sipify 🍺 2025-04-02 01:14:06 +00:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
signedav
d347f20400
Merge pull request #60932 from signedav/save-rel-ref-embedded
RelationReference save edits on embedded form
2025-04-01 12:33:25 +02:00
signedav
522e650318 comment for return value 2025-04-01 09:17:13 +02:00
Nyall Dawson
afd2e4f42d Fix doxygen class briefs which aren't full sentences 2025-04-01 09:44:00 +10:00
Nyall Dawson
6d122f0038 Sipify 2025-03-30 20:48:07 +10:00
Nyall Dawson
ac71664a83 Fix multiparagraphs in initial class docstrings 2025-03-30 20:48:07 +10:00
Nyall Dawson
bdba8d6366 Refactor too long doxygen brief comments
These break the table of contents for the PyQGIS documentation
2025-03-30 20:48:07 +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
Mathieu Pellerin
e75a28f15a [editor widget] Fix relation reference widget filter expression's handling of current(_parent)_* variables and functions 2025-03-29 16:06:09 +07:00
Nyall Dawson
f480c2a04e Add all missing class brief descriptions 2025-03-28 14:23:56 +10:00
signedav
d7d39b9d43 Introduce a slot in the QgsRelationReferenceWidget to store changes on the embedded form if existing.
This function is called on aboutToSave, an override of the WidgetWrapper that is triggered via notifyAboutToSave from the attribute form.
This fixes #60806
2025-03-20 15:41:25 +01:00
Yoann Quenach de Quivillic
b9d4575715 Add editingTimeout for QgsCodeEditor 2025-01-10 07:54:09 +01:00
Julien Cabieces
209043e21e build(QSci): fix build when python QSci is missing 2024-12-17 09:06:44 +01:00
Julien Cabieces
ed64834106 api(deprecated): add message to deprecated SIP annotation 2024-12-17 09:06:42 +01:00
Nyall Dawson
2f2e900098 Add api to control spin box editing timeout interval 2024-12-13 09:38:03 +10:00
Nyall Dawson
0f64fdfeb9 Add editingTimeout signal to Qgs(Double)SpinBox
Emitted when either:
1. 2 seconds has elapsed since the last value change in the widget
  (eg last key press or scroll wheel event)
2. or, immediately after the widget has lost focus after its value
  was changed.

This signal can be used to respond semi-instantly to changes in
the spin box, without responding too quickly
while the user in the middle of setting the value.
2024-12-13 09:38:03 +10:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +10:00
Jean Felder
936affa860 qgsdoublespinbox: Introduce isCleared method 2024-11-21 13:09:23 +01:00
Nyall Dawson
cfd251e7f7 Capture signal arguments 2024-09-08 16:06:22 +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
e38d577980 Catch raw bold/italic tags in docs 2024-08-30 05:47:07 +10:00
Nyall Dawson
482311b668 Don't use raw html lists in documentation 2024-08-30 05:47:07 +10:00
Nyall Dawson
8b04562ba7 Avoid fragile reg for argument removal 2024-08-14 13:05:46 +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
Mathieu Pellerin
6994d1c680
[advanced digitizing] Add circles intersection digitizing tool (#57648) 2024-07-31 17:05:58 +07:00
Nyall Dawson
87d9a3e7b2 Don't go to massive negative numbers when incrementing a NULL spin box
When a spin box is showing a NULL value, we DON'T do the default step
behavior, as that would add one step to the NULL value, which is usually
a very large negative value... so the user will get a very large negative number!

Instead, treat the initial value as 0 instead, and then perform the step.
2024-06-29 06:15:01 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-18 20:57:23 +01:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.' 2024-02-18 20:46:01 +01:00
Mathieu Pellerin
b6c7889f35
[attribute form] Insure that a field features multiple times in a feature form has its constraint properly reflected (#56163) 2024-02-06 20:27:38 +07:00
Nyall Dawson
f1e3ba9e2d Use correct sip method
And use INDENT-OFF annotations to avoid astyle messing up
formatting of enum with inline macros
2024-01-31 13:48:49 +10:00
Nyall Dawson
23f3af4290 Use enum classes for QgsProperty property keys
Should fix usage on Qt 6 builds
2024-01-31 13:48:49 +10:00
Mathieu Pellerin
51648deda1 Fix documentation of QgsDateEdit and QgsTimeEdit classes (fixes #55758) 2024-01-25 13:41:37 +10:00
Nyall Dawson
eecae55ac8 Word wrap long json in results dialog 2023-12-15 04:47:42 +10:00
Mathieu Pellerin
cb8c062b25 [editor widgets] Fix QML editor widget not responsive to attribute changes 2023-11-08 11:40:48 +07:00
Mathieu Pellerin
5f9bdad31f [ui] Fix QgsDateTimeEdit showing clear button in read-only mode and address inconsistency between text edit and date time edit widgets 2023-08-14 07:20:10 +10:00
signedav
bf718bc482 tooltip
and fix version number
2023-03-15 17:53:00 +01:00
signedav
c035c2f8a3 Possiblity to set the limit (fetchLimit) of values in the comboBox of the Relation Reference Widget in the widget configuration. 2023-03-15 17:52:53 +01:00
signedav
99430cda7e Remove broken (unused) setting for order by value. Resolves #26468 2023-03-15 13:34:23 +01:00
Alessandro Pasotti
e3c4db9e20 Spacer widget line option 2023-01-17 15:08:53 +01:00
Alessandro Pasotti
6cd867eb19 Spacer widget for Drag&Drop attribute forms 2023-01-16 15:59:04 +01:00
Alessandro Pasotti
e9b5c3a358 Sipify 2022-12-29 10:34:14 +01:00
Julien Cabieces
012b6a46db constify methods 2022-04-29 08:21:47 +10:00
nicogodet
0017f1ae94
fix see also of setClearValue (#46911) 2022-01-20 14:07:14 +01:00
Damiano Lombardi
e244076051 Fix docstring 2021-11-24 06:16:46 +01:00
Damiano Lombardi
c179587091 Fix #43901 No update of virtual fields considering layer dependencies 2021-11-23 11:08:52 +01:00
Damiano Lombardi
d9498f3780 Since QGIS 3.24 2021-11-08 15:36:27 +01:00
Damiano Lombardi
3499d9a033 Relation editor widget support for multiple features 2021-11-08 15:35:33 +01:00