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
Alexander Bruy
451098bf93
sipify
2025-06-03 09:37:36 +10:00
Nyall Dawson
bdb5904283
Fix more malformed docstrings, enforce correct format in sipify
2025-04-09 14:04:24 +10: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
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
765cbb32db
Standardise some deprecated annotations
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
Nyall Dawson
0096246afe
Sipify
2024-02-13 20:51:03 +10:00
Nyall Dawson
814e6db3b4
Don't map non-list of QVariantMaps to QMap<QString,QVariant>
...
The original workaround was only supposed to apply to QList/
QVector of QVariantMaps. By replacing them all in sip we
break mapping of signals defined in c++ which are emitted
by Python code.
Fixes exceptions after running processing algorithms in Qt6
builds.
2024-02-12 12:16:14 +10: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
f2c74f377d
Sipify
2024-01-31 17:16:18 +10:00
Nyall Dawson
078fd4f2ea
Make IntFlag enum type opt-in, rather than opt-out
...
And make sipify handle this nicely. This means that all our non-flag
style enums correctly map across to IntFlag python enums on Qt 6,
fixing issues with negative enum values for these and providing
a better match for the original c++ enum.
2024-01-31 17:16:18 +10: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
4654ad3db5
Sipify
2024-01-23 08:32:38 +01:00
Nyall Dawson
eecae55ac8
Word wrap long json in results dialog
2023-12-15 04:47:42 +10:00
Julien Cabieces
e8093a8ce5
Only mock non class enums
2023-12-13 05:36:44 +10:00
Julien Cabieces
7f586d8742
PyQt6 sip files
2023-12-13 05:36:44 +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