40 Commits

Author SHA1 Message Date
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
f480c2a04e Add all missing class brief descriptions 2025-03-28 14:23:56 +10: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
b39f760cbc
Correctly handle multiline SIP_OUT param documentation 2024-09-10 11:11:25 +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
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
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
signedav
3d28ce1b39 remove static function to return volatile function, since it's not needed anymore 2024-02-05 15:40:29 +01:00
signedav
70ba909484 Add version information 2024-01-25 10:52:45 +01:00
signedav
6219271c05 Static function for volatile functions like rand, randf, now and uuid.
As well fixed, that widgets are considered that have no dependencies at all when they do have volantile functions.
2024-01-24 16:17:33 +01:00
Nyall Dawson
ff03e4c9a5 Add method to change the geometry for the feature shown in a QgsAttributeForm 2022-11-23 13:54:18 +10:00
Nyall Dawson
6d74da2300 needsGeometry getter is not a signal 2022-11-23 13:54:18 +10:00
Nyall Dawson
deff4a1faf Use QMultiMap for qt 6 compatibility 2022-08-16 08:01:55 +02:00
Alessandro Pasotti
1b9e80422f New button to open attribute table on filtered features
Adds a new button to the attribute form in search mode
to open the attribute table in attribute editor mode
from the filtered features.

Funded by: ARPA Piemonte
2021-12-04 06:24:31 +10:00
Julien Cabieces
ac031372e1 Fixes #34791 : set up cache geometry if HTML widget needs it 2021-06-21 14:05:06 +02:00
Nyall Dawson
fd657bee96 Fix misleading error message when an attribute form fails to
save changes

Regardless of the reason why the saving failed, a message about
invalid JSON was always shown... which is totally confusing for
users when a table has NO json fields or values (ノ`Д´)ノ
2021-02-16 09:42:19 +10:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
signedav
6fbeb47a64 updateProperties function private and no reference for currentFormFeature 2020-08-17 17:39:08 +02:00
signedav
6be231bd35 On change of an attribute the documentViewer expression of the externalRessourceWidget depends on, the documentViewer should be updated.
To not be needed to check for all the widget values in the form, the mCurrentFormFeature is introduced that contains all the values that are received on change of the widget values.

Resolves #37678
2020-08-17 07:43:11 +02:00
Matthias Kuhn
15182ae418 Cache snapping results in feature dialog for subsequent recalculation of
References #37359
2020-07-11 22:59:13 +02:00
Alessandro Pasotti
195efa42a1 Final touches to the parent form API 2020-03-04 08:52:52 +01:00
Stephen Knox
9c9b5ca052 Fix sip and formatting issues 2019-11-23 22:57:09 +00:00
Stephen Knox
08b7ecab37 Fix docstrings and respond to feedback 2019-11-23 21:54:59 +00:00
Stephen Knox
51c1289165
Merge branch 'master' into pg_json 2019-11-23 19:18:35 +00:00
Stephen Knox
b4769c57d6 Prevent saving invalid json 2019-11-22 00:07:57 +00:00
Denis Rouzaud
758d7cff4a run sipify to update deprecation annotations 2019-10-15 13:17:38 +02:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
Nyall Dawson
519a30f10c Standardise dox for signals 2019-02-26 03:24:31 +10:00
Matthias Kuhn
2fb37042a5
Fix TODO and docstrings 2019-02-07 14:36:43 +01:00
signedav
533ab61543 last fixes and sip_include 2018-09-11 18:36:44 +02:00
signedav
b3e4755e2e Enum Mode in QgsAttributeEditorContext
instead of QgsAttributeForm - because it's used on places not including QgsAttributeForm
now it's able to use @form_mode in expressions of containers and QML widgets
2018-09-11 12:14:20 +02:00
signedav
4da6e6975a implementation for containers
and changed to string of formMode in the attributeformcontext
2018-09-11 07:04:25 +02:00
Denis Rouzaud
65bb60e96c run sipify 2018-05-28 10:39:34 -08:00
Nyall Dawson
7a1a787c0a Fix incorrect returns docstring when doxygen \returns has extra trailing spaces or uses tabs 2018-05-27 18:54:09 +10:00
Nyall Dawson
9f650fead9 Fix incorrect param docstring when doxygen \param has extra
trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Alessandro Pasotti
83328ae596 [feature] Form context expressions in value relation widget
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.

This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/

The new functions/variables are:

Function:
get_current_form_field_value( 'FIELD_NAME' )

Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00