22376 Commits

Author SHA1 Message Date
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
Nyall Dawson
0641766902 Fix incorrect sizing & pixelation of symbol previews on hidpi
displays
2023-06-22 18:49:22 +10:00
Nyall Dawson
1298018bc4 Fix incorrect sizing of symbol layer previews on hidpi display,
pixelated icons
2023-06-22 18:49:22 +10:00
Mathieu Pellerin
c23d7eca97 [vector tiles] Fix rendering of styles with a min. zoom level that is higher
than the tile maximum zoom level (fixes #53481)
2023-06-22 17:10:28 +10:00
Alessandro Pasotti
8b8d5d9031
Merge pull request #53438 from elpaso/bugfix-gh48020-server-opacities-parameter-does-not-apply-to-labels
Server: fix label opacity when OPACITIES is set
2023-06-21 16:32:16 +02:00
Nyall Dawson
730081dceb Handle view device pixel ratio when generating preview icons
for text format and label settings
2023-06-21 13:46:50 +10:00
Nyall Dawson
86f06d065b Add framework for style model to handle generation of icons
with different device pixel ratios
2023-06-21 13:46:50 +10:00
Nyall Dawson
a4843be25b Move qgsVsiPrefix to QgsGdalUtils::vsiPrefixForPath 2023-06-20 14:41:59 +10:00
Yoann Quenach de Quivillic
145078aacc Fix map and elevation profile data defined background color 2023-06-20 07:03:57 +10:00
Loïc Bartoletti
871a3c25a5
Merge pull request #53063 from benoitdm-oslandia/fix/minor_3d_fixes
Fix/minor 3d fixes
2023-06-15 06:55:23 +02:00
Nyall Dawson
8838f894ef Fix accidental api break 2023-06-15 08:28:44 +10:00
Nyall Dawson
0601164102 Add missing documentation to QgsRasterFileWriter 2023-06-15 08:28:44 +10:00
Nyall Dawson
26493802dc Move some QgsRasterFileWriter enums to qgis 2023-06-15 08:28:44 +10:00
bdm-oslandia
ecd7212e6c fix(3D): replace geometry renderer identification (main/selected) by property
3D geometry renderer identification in QgsChunkedEntity was made according to the object name and can be prone to error. Now we used a property (prop name is defined in a const) with values from enum.
2023-06-14 10:31:02 +02:00
Julien Cabieces
b4613b9839
Fixes #53204 : use setting from registry in processing config (#53458) 2023-06-14 10:25:36 +02:00
Alessandro Pasotti
9a81957d39 sipify 2023-06-14 10:07:34 +02:00
Alessandro Pasotti
b1b8fb8e15 Address PR comments 2023-06-14 09:55:48 +02:00
Nyall Dawson
30acad6819 Cleanup iface signal connections when unloading processing
plugin

Fixes #53455
2023-06-14 17:33:47 +10:00
Nyall Dawson
fcfe98c8ed Some super-safety in overridden stdout/stderr to ensure we don't
try to write to a deleted qwidget
2023-06-14 07:48:13 +10:00
Nyall Dawson
def4acc14a Gracefully restore the system stdout/stderr when the python console
is about to be destroyed
2023-06-14 07:48:13 +10:00
Alessandro Pasotti
a7c803e6c0 Implement multiplyOpacity for QgsTextFormat
This is used to change the labeling opacity in the server.
2023-06-13 12:55:40 +02:00
Nyall Dawson
80f97c5e72
Implement responsive cancelation also for fields retrieval 2023-06-13 10:55:38 +10:00
Andrea Giudiceandrea
e450b2d9c5 [grass] r.series: add missing tvalue option 2023-06-13 07:30:04 +10:00
Julien Cabieces
cdd3a3a5bb Fixes #53412 : transfer back rasterblock back to python caller 2023-06-13 04:56:13 +10:00
Nyall Dawson
4ebfa34eeb Correctly cleanup project archive files before attempting
to clear/replace archive

Otherwise the temporary archive directory cannot be removed,
resulting in many "QTemporaryDir: Unable to remove" warnings
and leftover temporary directories

Refs #53034
2023-06-09 11:19:33 +10:00
Hannes
6a14504c10 Further clarify CRS' hasAxisInverted
Thanks to @pathmapper & @nyalldawson
2023-06-09 07:06:58 +10:00
Nyall Dawson
7a784cdfd6 Flag OneDrive remote folders as remote, slow to open paths on Windows
Refs #51710
2023-06-08 14:06:01 +10:00
Alexander Bruy
7543fabc91 add "resample" to the list of tags for GDAL's warp algorithm (fix #49208) 2023-06-08 08:39:25 +10:00
Alexander Bruy
a84011ecd7 do not raise error in processing algoirthm if map tool previously used
by the canvas was destroyed (fix #53294)
2023-06-08 08:37:17 +10:00
Alexander Bruy
8923c43311 set default value for CRS parameter in Define Shapefile projection
algorithm (fix #53309)

If default value is not set and prameter is not optional its widget end
up in conflicting state: invalid CRS is set but widget requires a valid
one. As a result even if user selects a valid crs, widget fails to
validate selection.
2023-06-08 08:31:30 +10:00