20 Commits

Author SHA1 Message Date
Alessandro Pasotti
9ec6355d91 Address PR reviews 2022-03-14 10:21:07 +01:00
Alessandro Pasotti
d2c84b2ed9 Add QgsRelation c++ test and workaround
The python test test_qgsrelation.py was failing for misterious reasons
(the very same test was passing if run from QGIS application), I tracked
the issue down to the addition of QgsOptionalExpression mCollapsedExpression;
in QgsAttributeEditorContainer.

The new c++ test replicates the python test and make sure there are no
problems with the change style operation.
2022-03-08 11:23:00 +01:00
Alessandro Pasotti
735f1c703e D&D forms show as group box collapsible
Funded by: ARPA Piemonte
2022-03-07 18:06:30 +01:00
Antoine
0a28c5a763 fix doc warnings 2021-12-13 10:19:56 +01:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
Alessandro Pasotti
915349dee0 Simplify code and support copy/paste 2021-08-17 19:32:11 +02:00
Alessandro Pasotti
9772e95397 Doxy 2021-08-16 17:13:35 +02:00
Alessandro Pasotti
cd6cd2f6f3 Tests for form action widget 2021-08-16 15:14:31 +02:00
Alessandro Pasotti
889359c3a1 Form DD action widgets initial implementation 2021-08-14 19:06:52 +02:00
Nyall Dawson
c8156b0106 Add c++20 todo for replacing equality operators with default implementations 2021-07-02 12:19:58 +10:00
Denis Rouzaud
727a9a865c add dox to duplicated enum in QgsAttributeEditorRelation and QgsRelationEditorWidget
also remove leftover
2021-06-01 07:19:17 +02:00
Denis Rouzaud
35c557a234 run sipify 2021-05-26 14:30:54 +02:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
dfe734f650 [feature] Add per-field control over whether last entered field
values should be reused when creating new features

While there has long been a global option that causes ALL field
values for ALL layers to be remembered and reused during a QGIS
session when creating new features, this new setting offers
per-layer, per-field control over whether values should be
reused.

It allows for finer control over form behavior, where eg some
values may be desirable to reuse but others should be cleared
or set from default value expressions.
2021-03-04 15:21:07 +10:00
Alessandro Pasotti
7b2fc4c1f8 More doxy nonsense, pt 2 2021-02-19 08:15:29 +10:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Denis Rouzaud
aac558dd59 follow up + some forward declarations 2021-01-12 12:52:23 +01:00
Denis Rouzaud
a6404da815 separate QgsAttributeEditorElement into several files 2021-01-12 12:52:20 +01:00