3369 Commits

Author SHA1 Message Date
Julien Cabieces
f4d2f27fbd
Merge pull request #51215 from uclaros/fix-relation-multi-completer
Allow filtering in value relation widget when allowing multiple selections
2023-01-03 15:59:52 +01:00
Sandro Mani
caadcb42e8 Move QgsProviderSublayersDialog to GUI 2023-01-03 11:34:52 +01:00
Harrissou Sant-anna
f1f7b7ab12 Fix see also blocks misformatting 2022-12-31 06:56:48 +10:00
Nyall Dawson
c43b558901 Upgrade raster enums to enum class, and remove some completely unused
enums
2022-12-16 12:01:44 +10:00
uclaros
111753a13b remove hack when stopping editing 2022-12-14 12:35:55 +02:00
Sandro Mani
3aa58f1a53
Merge pull request #51060 from kadas-albireo/pyqt6work
Assorted fixes towards PyQt6 support
2022-11-30 12:41:26 +01:00
Sandro Mani
ff9f2833d0 Assorted fixes towards PyQt6 support 2022-11-30 10:13:52 +01:00
Nyall Dawson
fe0ab98ee0 Manually monkey patch compatibility, since we can't auto patch to gui classes 2022-11-28 11:46:45 +10:00
Nyall Dawson
3efb1e604a Move action enums to Qgis, promote to enum class, and considerably thin
includes as a result
2022-11-28 11:46:45 +10:00
Nyall Dawson
ba9c669b49 Fix source select dialog does not add new pages for providers registered
after QGIS startup (eg when enabling a new plugin), and also ensure
pages are correctly removed when providers are removed
2022-11-25 12:07:49 +10:00
Nyall Dawson
2a0fc591f7 Cleanup qgsmaplayeractionregistry.* files and split into modular files
per class
2022-11-23 08:25:33 +01:00
Nyall Dawson
8fefb8a010 Move action files to subdirectories 2022-11-23 08:25:33 +01:00
Nyall Dawson
c15b960047 Add message bar to QgsMapLayerActionContext 2022-11-23 13:54:18 +10: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
4f1cc22b54 Also use context when determining which actions can run 2022-11-23 13:54:18 +10:00
Nyall Dawson
0c4aff9a33 Add framework so that a QgsMapLayerAction can get a reference
to the QgsAttributeDialog it is executed from
2022-11-23 13:54:18 +10:00
Nyall Dawson
b6badb60c3 Add a context for QgsMapLayerAction 2022-11-23 13:54:18 +10:00
Nyall Dawson
517cac313f In various "new *** layer" dialogs, show a warning when the
user accepts the dialog but has entered a field name in
the new field box without adding it to the fields list

Avoids a papercut where a user thinks that just entering
the name of a field alone is sufficient to create that
field in the resultant table
2022-11-19 15:47:08 +10:00
Nyall Dawson
ad98d28fcf Dox++ 2022-11-19 14:21:34 +10:00
Nyall Dawson
cb8875a87b Condense duplicate code 2022-11-19 14:21:34 +10:00
Nyall Dawson
5c604061bc Fix missing actions menu when only internal actions are present
Follow up bcf0e4838
2022-11-18 16:33:59 +10:00
Alessandro Pasotti
8e0a5e1cbe Address PR comments 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
31a5d632c4 Layout 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
0bcb75ff1b Missing sip includes 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
bbb045e2bb Getting closer... almost relase-ready 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
70c93d4aea Gui enhancements 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
62dff87ccf RAT GUI 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
5a88611b38 Paletted RAT auto-loading 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
df4f7fe84e RAT model 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
6184bd6f29 RAT model inital implementation 2022-11-09 09:46:13 +10:00
Nyall Dawson
41588cadb2 Connection is transferred 2022-11-04 11:24:05 +10:00
Mathieu Pellerin
1802eded17 When dropping datasets onto the layer tree, insert those at the drop location 2022-10-24 14:41:42 +07:00
Nyall Dawson
f4280a77f2 Fix dox warning 2022-10-24 16:46:11 +10:00
Nyall Dawson
6e1f4d7003 Dox 2022-10-24 16:46:11 +10:00
Nyall Dawson
becbf979d2 Dox 2022-10-24 16:46:11 +10:00
Nyall Dawson
955c72388d Factor out interpreter 2022-10-24 16:46:11 +10:00
Nyall Dawson
73b75af8c3 Move prompt handling to QgsCodeEditor 2022-10-24 16:46:11 +10:00
Nyall Dawson
b7ffb0cb6f Move responsibility for storing history of run commands to base class 2022-10-24 16:46:11 +10:00
Nyall Dawson
3786cd178d Move python console history handling to base QgsCodeEditor class
So that other non-python-console code editors can utilise this too
2022-10-24 16:46:11 +10:00
Nyall Dawson
04dbee6eb7 Add a script language enum 2022-10-24 16:46:11 +10:00
Nyall Dawson
dd4984eb49 Move some common code to base class 2022-10-24 16:46:11 +10:00
Nyall Dawson
1e18322722 Add QgsCodeEditorR code editor subclass for R scripts 2022-10-22 18:46:41 +10:00
Eric Daigle
af147706a5 [feature] allow cancelling the zoom function with ESC
As described in #49804, there is currently no way to cancel a zoom operation once
the user has begun dragging. This commit makes the ESC key cancel an in-progress
zoom operation, leaving the canvas unchanged.

Closes #49804
2022-10-22 08:53:06 +10:00
Alessandro Pasotti
b3bc13450c Remove GUI leftover 2022-10-22 08:52:37 +10:00
Alessandro Pasotti
b75997e217 No renderer 2022-10-22 08:52:37 +10:00
Alessandro Pasotti
d5559be0ba Sipify 2022-10-22 08:52:37 +10:00
Alessandro Pasotti
7debc91480 sipify 2022-10-22 08:52:37 +10:00
Nyall Dawson
98f14f954f Add api to set a filtered list of crs to show in
QgsProjectionSelectionWIdget
2022-10-20 14:31:58 +10:00
Harrissou Sant-anna
83a9715e1a Connect every layer properties tabs to their respective documentation
when the section is available
and fix some links
2022-10-20 13:44:26 +10:00