22405 Commits

Author SHA1 Message Date
AlisterH
6cc773d758 Add comments 2023-07-06 13:45:15 +10:00
AlisterH
c0ca40aebb add userDescriptionFolder() method 2023-07-06 13:45:15 +10:00
AlisterH
2c006b185d fix lint errors 2023-07-06 13:45:15 +10:00
AlisterH
f08e5e9469 support grass algorithms in profile folder 2023-07-06 13:45:15 +10:00
Nyall Dawson
11817f0ebd Fix build 2023-07-05 12:37:46 +10:00
Nyall Dawson
9e12fd66aa De-duplicate config page widget handling 2023-07-05 12:37:46 +10:00
Nyall Dawson
db405bd640 Consolidate rollback code 2023-07-05 12:37:46 +10:00
Nyall Dawson
6a822cb710 Deprecate old methods 2023-07-05 12:37:46 +10:00
Nyall Dawson
32174125c0 Move more code to base class 2023-07-05 12:37:46 +10:00
Nyall Dawson
84f842d85b Move more common code to base class 2023-07-05 12:37:46 +10:00
Nyall Dawson
2f7cf5dcdc Move to inheritance instead, using QgsLayerPropertiesDialog base class 2023-07-05 12:37:46 +10:00
Nyall Dawson
b55b1790ac Start a new class for common functionality across layer properties
dialogs, and consolidate all duplicate metadata load from file
code in there
2023-07-05 12:37:46 +10:00
Nyall Dawson
6c4409d71f Expand documentation 2023-07-05 09:43:32 +10:00
Nyall Dawson
151ab7e886 Support tiled mesh layers in app layer creation functions 2023-07-05 09:43:32 +10:00
Loïc Bartoletti
c298bda614 Update python/plugins/processing/tools/dataobjects.py
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-07-05 06:06:10 +10:00
Loïc Bartoletti
e5ea4d2291 resolveDefaultEncoding: return UTF-8 as default in case of undefined locale or error 2023-07-05 06:06:10 +10:00
Loïc Bartoletti
09ac50fd36 move logic to QgsProcessingUtils and create a convenient method resolveDefaultEncoding() 2023-07-05 06:06:10 +10:00
Loïc Bartoletti
9bd8c1298c Processing: determine and set default encoding from locale
A shapefile can have a .cpg file to determine its encoding.
However, in processing, this file is not created when the
encoding is set to the magic "System" value.

This PR aims to propose to automatically determine the system
encoding using QT's codecForLocale.

So, even when using the magic "System" value, the cpg file
will be created with the true system encoding name.

Fixes #50603
2023-07-05 06:06:10 +10:00
ASAI Hitoshi
04952b447e Add antialias setting to raster tile processing plugin 2023-07-03 10:46:09 +10:00
Harrissou Sant-anna
15c09cb16e Tweaking user profile selector dialog and settings
- Simplify labels
- Group items with relabeling
- Provide clear name to selector dialog
2023-07-03 07:50:34 +10:00
Andrea Giudiceandrea
5377930242 GRASS: add ext module for v.reclass
In order to check that either 'rules' or 'column' parameter is set
2023-07-03 07:36:30 +10:00
Andrea Giudiceandrea
534d9f329d Fix v.reclass description file
Make the 'column' parameter optional
2023-06-30 06:44:56 +10:00
Nyall Dawson
4b673bf860 Improve documentation 2023-06-29 20:43:08 +10:00
Nyall Dawson
933db142c5 Add method to test whether 3 points are collinear 2023-06-29 20:43:08 +10:00
Nyall Dawson
b14d42d147 Add method to return the fraction along a line for a point 2023-06-29 20:43:08 +10:00
Nyall Dawson
4557632c46 Move enum 2023-06-28 17:47:17 +10:00
Nyall Dawson
1e1535d63d Handle tiled mesh layers in more code paths 2023-06-28 17:47:17 +10:00
Nyall Dawson
5cf8f2ceb5 Shell for QgsTiledMeshLayer/QgsTiledMeshDataProvider 2023-06-28 17:47:17 +10:00
Nyall Dawson
8adb33cbcf Add TiledMesh to Qgis::MapLayerType enum and partially handle 2023-06-28 17:47:17 +10:00
Nyall Dawson
61a3f44e98 Provider registry tiled mesh file handling support 2023-06-28 17:39:09 +10:00
Nyall Dawson
6e02d953fd Fix interaction of locked scale ranges with zoom distance range tool
in elevation profile canvas

Fixes #53303
2023-06-28 17:16:39 +10:00
Nyall Dawson
a3e06229ec Deprecate layer type specific signals from QgsAbstractDataSourceWidget
and move toward generic signal for all layer types
2023-06-28 12:08:23 +10:00
Mathieu Pellerin
1f1d1f981c [vector tile] Add a pair of function to QgsVectorTileLayer to toggle labels rendering just like QgsVectorLayer 2023-06-27 20:43:33 +07:00
Nyall Dawson
c3b20257dc Address review comments 2023-06-27 14:49:20 +10:00
Nyall Dawson
391ab37539 Another 3.32 -> 3.34 update 2023-06-27 14:49:20 +10:00
Nyall Dawson
d849feabfb Change to version 3.34 2023-06-27 14:49:20 +10:00
Nyall Dawson
0233b38f29 Fix build 2023-06-27 14:49:20 +10:00
Nyall Dawson
ac74fb6b0a Add unit tests, fix sip annotation 2023-06-27 14:49:20 +10:00
Nyall Dawson
75340527d0 Allow setting 2d input controller for map canvas 2023-06-27 14:49:20 +10:00
Nyall Dawson
f86e46ed7a Add optional WITH_QTGAMEPAD cmake switch, and create 2d/3d gamepad
map controller classes which expose QGamepad functionality

Especially handy because the underlying QGamepad classes
are not accessible to Python
2023-06-27 14:49:20 +10:00
Nyall Dawson
eca6b7a409 Add framework for handling non-keyboard/mouse map controllers
This is the base API interface classes for creation of custom
2d or 3d map controllers, and registering them in a common
QgsInputControllerManager singleton class.
2023-06-27 14:49:20 +10:00
Yoann Quenach de Quivillic
fd8b6b0bcd Fix user selector icon size #53548 2023-06-26 08:35:10 +10:00
Martin Dobias
f848b7cd8e Fix global map shading to work high DPI 2023-06-26 08:27:56 +10:00
Chris Mayo
ecdb1e2989 Fix build with WITH_BINDINGS=yes and WITH_QTSERIALPORT=no
auto_generated/sensor/qgsabstractsensor.sip: In function ‘const sipTypeDef* sipSubClass_QgsAbstractSensor(void**)’:
auto_generated/sensor/qgsabstractsensor.sip:35: error: ‘QgsSerialPortSensor’ does not name a type; did you mean ‘sipName_QgsSerialPortSensor’?
2023-06-26 08:24:43 +10:00
Nyall Dawson
c2352af95b Add mechanism to make screen properties available for icon
generation in layer tree model
2023-06-23 15:05:15 +10:00
Nyall Dawson
7d4c4e3ce2 Address review 2023-06-22 18:49:22 +10:00
Nyall Dawson
0f76f986be Add unit tests for QgsScreenProperties 2023-06-22 18:49:22 +10:00
Nyall Dawson
ff7a5c934c Fix pixelated icons in style lists on hi dpi displays
Use QgsScreenProperties in style model to ensure we
correctly generate preview icons matching the device
pixel ratio and DPI of all attached displays
2023-06-22 18:49:22 +10:00
Nyall Dawson
b5e3af7a3a Use QgsScreenProperties instead of direct QScreen pointers 2023-06-22 18:49:22 +10:00
Nyall Dawson
b6338da0b7 Create QgsScreenProperties as a small storage class for QScreen settings 2023-06-22 18:49:22 +10:00