Nyall Dawson
0bc7bf5a79
Move postgres relkind enum to Qgis
...
Avoids having to include qgspostgresprovider header in a bunch
of non-provider related files
2023-04-06 17:18:05 +10:00
Nyall Dawson
3ddf4447fc
Add extra distance units to processing distance widget
...
Refs #52559
2023-04-06 17:17:47 +10:00
Nyall Dawson
f34bd0b393
[postgres] Avoid unnecessary column type retrieval when sql
...
results are unused
This avoids a lot of spurious "SELECT oid, typname FROM pg_type"
queries being evaluated when populating postgres browser items
2023-04-06 17:17:33 +10:00
Nyall Dawson
644478cc95
Add some cppcheck macro definitions to avoid some warnings
2023-04-06 15:23:11 +10:00
Nyall Dawson
b42fee6f25
Run cppcheck on ubuntu latest
2023-04-06 15:23:11 +10:00
Nyall Dawson
9f99f109c6
Exclude qgsgcptransformer.cpp from cppcheck scanning
...
This file causes cppcheck to hang indefinitely. Suppressing warnings
is not sufficient, we need to completely exclude this file from the
scan.
2023-04-06 15:23:11 +10:00
Andrea Giudiceandrea
4c83dbe0d4
Fix setting text field length default parameter in New Memory Layer dialog
2023-04-06 12:00:02 +10:00
Andrea Giudiceandrea
bec4b6ff2c
Fix enabling field length parameter in New Memory Layer dialog
2023-04-06 12:00:02 +10:00
Nyall Dawson
92dde867cd
Test mask update
2023-04-06 11:57:58 +10:00
Nyall Dawson
492beeae6d
Improve docs
2023-04-06 11:57:58 +10:00
Nyall Dawson
28b11592b3
Improve QgsScaleCalculator unit support, use standard unit conversion methods
2023-04-06 11:57:58 +10:00
Nyall Dawson
693f744050
Expand tests
2023-04-06 11:57:58 +10:00
Yoann Quenach de Quivillic
70149ae2ce
Check for nullptr layer ( #52538 )
2023-04-06 11:57:19 +10:00
Nyall Dawson
8da587db37
Show shortcuts in context menu for easy discovery
2023-04-06 08:32:41 +10:00
Nyall Dawson
895a68faee
Expose 'Search Selection in PyQGIS docs' action for all python code editors
2023-04-06 08:32:41 +10:00
Alessandro Pasotti
ca6df18671
Fix unreported crash when an empty scale is in the settings ( #52511 )
2023-04-05 11:37:04 +02:00
Loïc Bartoletti
c3fb3d68c7
Merge pull request #52035 from ptitjano/axis-sort-fix
...
qgs3daxis: Fix label transparency issues by using a sort policy
2023-04-05 09:51:04 +02:00
Nyall Dawson
dcf7a98e0c
Apply suggestions from code review
2023-04-05 11:17:19 +10:00
Nyall Dawson
7e0e421af7
PyQt doesn't provide repr for QColor, but it's highly desirable!
...
So monkey patch one in ourselves
2023-04-05 11:17:19 +10:00
Basil Eric Rabi
973549cd49
add missing headers
...
fixes #52462
2023-04-05 08:06:13 +10:00
Basil Eric Rabi
c7e37cee28
fix rpm build for Fedora 38
...
Also drop workaround for F34 and earlier
2023-04-05 08:06:13 +10:00
Harrissou Sant-anna
7235ee7d83
better wording
...
Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
2023-04-05 06:53:36 +10:00
DelazJ
d9edb37154
Add a group for sensors expressions
2023-04-05 06:53:36 +10:00
DelazJ
e3a86b1acd
Delete unused 'Conditions' group
2023-04-05 06:53:36 +10:00
Mathieu Pellerin
e6d9eb1fe6
[gui][editor widgets] Fix height of video frame going to zero after one successful playback
2023-04-05 05:32:25 +10:00
Denis Rouzaud
09f64790dd
fix save connection dialog ( #52523 )
2023-04-04 14:41:33 +02:00
Nyall Dawson
389f18d76a
Fix row number
2023-04-04 18:57:23 +10:00
Nyall Dawson
4b92c6788d
Reorganise code
2023-04-04 18:57:23 +10:00
Nyall Dawson
9fa59d2e14
Add UI action for creating text along line annotation items
...
And a properties panel
2023-04-04 18:57:23 +10:00
Nyall Dawson
8ee5ba8d08
Fix rendering of upside down text along paths
2023-04-04 18:57:23 +10:00
Nyall Dawson
8f5476e6d7
Avoid loss of text in code editors when certain modifiers are pressed
...
These are triggered when a InputMethod event is sent to the widget.
There's upstream discussion at https://sourceforge.net/p/scintilla/bugs/1913/
and the fix was added to QScintilla version 2.13.3
As the loss of text is an extreme risk, just disable input method
handling in these widgets on affected versions entirely.
Fixes #52459
2023-04-04 14:12:26 +10:00
Nyall Dawson
ad7e2a3d37
Don't report sublayers for non-wms uris
2023-04-04 11:09:36 +10:00
Nyall Dawson
6cafd48e2c
Fix loading traditional wms services
2023-04-04 11:09:36 +10:00
Nyall Dawson
46a10874cf
Update test
2023-04-04 11:09:36 +10:00
Nyall Dawson
056ff20591
Add cheat to ensure that tiff items are always shown as single layer
...
items in browser rather than containers
This isn't strictly true, but this is a cheat to ensure that
the behaviour isn't changed by a semi-related fix
2023-04-04 11:09:36 +10:00
Nyall Dawson
01f8ac83f8
Raster vrt items are containers, so update zip layer test to reflect this
2023-04-04 11:09:36 +10:00
Nyall Dawson
96d203f259
Cleanup includes
2023-04-04 11:09:36 +10:00
Nyall Dawson
54e8097b7c
Remove no longer required special handling for mbtile files
2023-04-04 11:09:36 +10:00
Nyall Dawson
3c98201b61
Move methods for handling raster mbtile files into QgsWmsProviderMetadata
...
Implement all the reuiqred methods for delegating this handling
to the provider
2023-04-04 11:09:36 +10:00
Nyall Dawson
4810e0c9bd
Implement querySublayers for mbtiles vector tile provider
2023-04-04 11:09:36 +10:00
Andrea Giudiceandrea
2fb4f894c7
[Geometry Checker] Fix availableResolutionMethods()
2023-04-04 06:25:37 +10:00
Harrissou Sant-anna
5f8c4ae5f5
Add example of flip_coordinates with linestring
2023-04-04 05:12:34 +10:00
Even Rouault
65402bbfc4
Merge pull request #52366 from rouault/fix_52228
...
[OAPIF provider] OGC API features 2 / CRS related fixes (fixes #52228 )
2023-04-03 11:52:34 +02:00
Nyall Dawson
a2b3a0c642
Fix layout legend layer title not immediately updating
...
Fixes #52261
2023-04-03 18:17:03 +10:00
Nyall Dawson
011637bd9b
Filter out annoying qt 'QGestureManager::deliverEvent' warnings from UI
...
These aren't our fault, so are just noise
2023-04-03 17:49:56 +10:00
Mathieu Pellerin
799b2905d2
[gui][sensors] Remove the need to apply sensor settings
2023-04-03 11:29:28 +07:00
Nyall Dawson
6a7e9292f6
QString fixup
2023-04-03 09:36:21 +10:00
Nyall Dawson
8c63f89a50
Apply suggestions from code review
...
Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
2023-04-02 20:04:02 +10:00
Nyall Dawson
692d7a76b1
[feature] Expose option to load vector tile sources from files
...
in Data Source Manager
The Vector Tile tab now includes choices for selecting from a
"Service" (the existing, connection based approach for adding
vector tiles from online sources) or "File" (the new option
which allows directly adding VTPK or MBTiles vector tile files)
2023-04-02 20:04:02 +10:00
Nyall Dawson
e4a84d63a4
Implement uri priority methods for vector tile mbtiles provider metadata
2023-04-02 20:04:02 +10:00