27 Commits

Author SHA1 Message Date
Jan Caha
c9ed2b5d9a remove menu from widget 2025-05-16 12:30:26 +10:00
Jan Caha
21daf76654 extend QgsFieldMappingWidget with signal willShowContextMenu and contextMenuEvent to allow showing of context menu 2025-05-16 12:30:26 +10:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +10:00
Nyall Dawson
b414def927 Allow setting native field types for QgsFieldMappingWidget
Previously the widget would always just use a generic hardcoded
list of field types. This isn't appropriate for all destination
providers, which may not support certain field types.

Add API so that an explicit list of supported destination
field types can be set for the widget, restricting the choices
available to users for destination fields.
2025-03-12 10:25:48 +10:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +10:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Ismail Sunni
01e7a71ed0 Fix return type issue. 2023-04-25 07:05:11 +10:00
Ismail Sunni
4373ac68cd Add invert selection tool on refactor fields processing fix #52816 2023-04-25 07:05:11 +10:00
Julien Cabieces
d5505e329d Add missing Q_OBJECT macros and enable clazy check missing-qobject-macro 2022-07-13 08:24:23 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
69f73e3a74 [processing] When running in toolbox mode, set the source layer for
the field expression widgets in the refactor fields widget so that
the expression editor can generate feature based previews

Fixes #37912
2020-07-24 10:26:17 +10:00
Nyall Dawson
d5a340f886 [processing] Port aggregates widget wrapper to c++
And add a TON of tests

Fixes #36843
2020-06-03 15:17:56 +10:00
Nyall Dawson
4c2f2c09a2 [processing] Correctly expose complete expression context for use
in Refactor Field expressions
2020-06-02 08:43:54 +10:00
Nyall Dawson
146094f6b2 [processing] Port field mapper wrapper and widget to c++
Fixes #36706
2020-06-02 08:43:54 +10:00
Nyall Dawson
a3c7a05004 Add methods to QgsFieldMappingModel to retrieve/set QgsProperty based definitions 2020-04-07 17:05:44 +10:00
Nyall Dawson
9d1b55b55a QgsFieldMappingWidget is a QgsPanelWidget 2020-04-04 13:22:44 +10:00
Alessandro Pasotti
a21800cf3e Adress PR review + model test + QgsExpression -> QString 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
dcb4987079 Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
1ac2c447f8 Fix model sync when fields change 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
1ef0c6538f Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
8ac0a3d7a7 Code layout 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
61aff3a58b Added default ctor and model (re)setters 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
794eb7e097 QgsFieldMappingModel plus tests and widget operations 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
2ce67b3391 sipify 2020-04-03 21:21:14 +10:00
Alessandro Pasotti
e7621be8be Field mapping widget 2020-04-03 21:21:14 +10:00