20 Commits

Author SHA1 Message Date
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