19 Commits

Author SHA1 Message Date
signedav
5603f44005 Use Qt::sortOrder to define if the order direction should be ascending or descending 2025-07-17 15:32:08 +02:00
signedav
3aec26c721 Don't pass the order attributes to setRelation, because they are not part of it. 2025-06-20 12:00:22 +02:00
signedav
2ae1bec1fe Expression and order (direction) to sort entries of the relation reference widget. If not configured it takes the displayExpression.
This introduces a new expression and order value in the featurepickermodel and a sortvalue in its feature value gatherer. Sorting is still done in the model (not on feature request), to be not needed to make another request on re-ordering.
This resolves #48191
2025-06-20 12:00:22 +02:00
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
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
Julien Cabieces
ed64834106 api(deprecated): add message to deprecated SIP annotation 2024-12-17 09:06:42 +01:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +10: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
765cbb32db Standardise some deprecated annotations 2024-09-02 11:42:12 +10:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.' 2024-02-18 20:46:01 +01:00
Nyall Dawson
0096246afe Sipify 2024-02-13 20:51:03 +10:00
Julien Cabieces
bb3c36a69b Initialize sip bindings for PyQt6
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10:00