1581 Commits

Author SHA1 Message Date
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
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
Jacky Volpes
673f44811d Fix #47525 2022-10-11 19:05:59 +02:00
Nyall Dawson
fcb83a7a30 Fix code folding not shown for non-python code editor classes 2022-10-10 14:01:24 +10:00
Nyall Dawson
39a4a63890 Promote to enum class 2022-10-10 14:01:24 +10:00
Nyall Dawson
ed54489a09 Move some useful python console methods to base class 2022-10-10 14:01:24 +10:00
Denis Rouzaud
01db45d0cc
fix QgsMapTool convert to subclass (#50303) 2022-09-26 21:53:58 +02:00
Alessandro Pasotti
7621a9a108 Address PR comments 2022-09-26 13:29:15 +10:00
Alessandro Pasotti
84272d4c7c Sipify 2022-09-26 13:29:15 +10:00
Sandro Mani
6452390080 Move QgsVectorTileLayerProperties to gui 2022-09-15 09:27:55 +10:00
Alessandro Pasotti
e8f44dabd7 Fix search text not updates when reopening the DSM dialog
Also, handle clear from QgsFilterLineEdit correctly.
2022-09-15 09:26:08 +10:00
Alessandro Pasotti
f649d498d8
Merge pull request #50095 from elpaso/layer-metadata-provider-gui2
Layer metadata provider gui
2022-09-08 14:40:41 +02:00
Loïc Bartoletti
9845115a0f
Merge pull request #48853 from Koyaani/fix_topological_editing_different_crs_v3
Fix topological editing different crs v2.1
2022-09-08 14:38:48 +02:00
Alessandro Pasotti
c87be21c07 SIP 2022-09-07 08:25:45 +02:00
Alessandro Pasotti
7cab873eac Address PR review comments and add model tests 2022-09-06 15:50:34 +02:00
Hannes
e9b90b565b
[ui] Ask user before closing expression dialog if expression was edited 2022-08-31 08:14:55 +10:00
Loïc Bartoletti
370ce31c1f qgsmaptoolcapture.h: Update description
Topological points are projected to the current layer CRS
2022-08-30 09:41:57 +02:00
Mathieu Pellerin
b7e31d4508
[feature][ui] Add a Show in Attribute Table action to the right click menu of legend class symbols (#49984) 2022-08-29 10:18:06 +00:00
Nyall Dawson
deff4a1faf Use QMultiMap for qt 6 compatibility 2022-08-16 08:01:55 +02:00
Nyall Dawson
7fedb1af77 Remove logical dpi handling from QgsScreenHelper
Unless we REALLLLLLLY need this, it's better to keep the API
simple and avoid the confusion between two different dpi values
2022-08-16 12:25:52 +10:00
Nyall Dawson
e88867de91 Port QgsMeshRenderer3dAveragingWidget away from QDesktopWidget 2022-08-16 12:25:52 +10:00
Nyall Dawson
c306fa0a21 Port elevation canvas away from QDesktopWidget 2022-08-16 12:25:52 +10:00
Nyall Dawson
e7a9961ea8 Add availableGeometry handling to QgsScreenHelper 2022-08-16 12:25:52 +10:00
Nyall Dawson
44ba8aca2a Use QgsScreenHandler instead of duplicate screen dpi handling code 2022-08-16 12:25:52 +10:00
Nyall Dawson
22edb68eac Introduce QgsScreenHelper
A utility class for dyanmic handling of changes to screen properties
2022-08-16 12:25:52 +10:00
Nyall Dawson
932cab02a7 Fix build 2022-08-01 13:17:43 +10:00
Nyall Dawson
0a0c25eb31 Expand out the current layer path in the change data source/fix data
source dialog

Makes it much quicker to fix paths!!
2022-08-01 13:17:43 +10:00
Nyall Dawson
bce59924df Add method to expand out a directory path in the browser tree view
Gives us an easy way to automatically open a bunch of folders
to show a particular path as desired, instead of making users
always manually expand out the folder items themselves.
2022-08-01 13:17:43 +10:00
Nyall Dawson
8c5dd2dc02 Add sip cast code for QgsBrowserTreeView 2022-08-01 13:17:43 +10:00
Alessandro Pasotti
5c7bf29afe Fix relation editor ESC and referenced save
Fixes #47387 and another bug (unreported or #40549 ?)
where digitizing the referencing feature of a newly added
referenced feature (in transaction mode) failed due to the
form being closed and the reference feature not saved.

The new behavior is that the form is brought back after the
digitizing of the referencing feature has been completed or
user-interrupted, this way the referenced layer form can be
saved or dismissed as expected.

Funded by: ARPA Piemonte
2022-07-25 12:25:14 +02:00
Nyall Dawson
f821fefdf2 Add method to select a QgsDataItem directly in QgsBrowserTreeView 2022-07-18 12:50:18 +10:00
Nyall Dawson
f57f9485d1 Add browser tree view to QgsDataItemGuiContext
This allows the item gui providers to access the view associated
with an action, e.g. to automatically select something in that
view
2022-07-18 12:50:18 +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
Nyall Dawson
12321df49a Allow actions which work on selection to also work with vector tile selections 2022-07-08 09:12:46 +10:00
uclaros
6e0eb8d4ca fix qgsgeometryrubberband on rotated canvas 2022-06-17 10:41:04 +10:00
Nyall Dawson
9d0cb90705 Make virtual layer source layer creation much more user friendly
Instead of just forcing the user to type a free-form source string,
add a "..." button which allows them to browse for the layer source
using the browser dialog. Makes it MUCH easier for users to add
gpkg/postgis/wfs/... layers as sources for virtual layers.
2022-06-16 13:55:09 +10:00
Mathieu Pellerin
ac7b711dea Fix setting min/max through histogram doesn't activate contrast
enhancement algorithm

The commit also makes the histogram work for the single band pseudo color
raster renderer.
2022-06-06 17:12:54 +10:00
Loïc Bartoletti
6462cc1cc5 sipify 2022-06-03 10:05:43 +02:00