Nyall Dawson
bf21ce4661
Start fixing some remaining old style connects
2018-11-06 08:45:37 +10:00
Nyall Dawson
d1427945aa
Address some clazy warnings
2018-11-06 08:45:37 +10:00
Nyall Dawson
3d5badf395
Fix some missing context arguments in connects with lambda
...
These cause infinite lifetime connections which result in crashes
2018-11-06 08:45:37 +10:00
Nyall Dawson
dc72f06e53
Bump minimum Qt version to 5.9
2018-11-06 08:45:37 +10:00
Luigi Pirelli
993dc81812
Merge pull request #8241 from NaturalGIS/fix_grass7_r_stats_quantile
...
fix GRASS7 r_stats_quantile
2018-11-05 22:25:37 +01:00
Matthias Kuhn
cd28b45984
Merge pull request #8391 from karomap/master
...
Fixes #18872 Fix symbol selector dialog overflows the screen on small resolution
2018-11-05 19:20:37 +01:00
Alessandro Pasotti
e70b71b154
Lower opencl message to warning so users don't panic
2018-11-05 17:26:02 +01:00
Matthias Kuhn
e9deafcf37
Merge pull request #8409 from DelazJ/renameFiles
...
Rename some rendererV2 ui files
2018-11-05 14:24:10 +01:00
Nyall Dawson
19ef2f904b
Add missing /Factory/ annotation
2018-11-05 22:02:32 +10:00
Nyall Dawson
82baff87d4
Add a __repr__ method to QgsMimeDataUtils::Uri
2018-11-05 22:02:32 +10:00
Martin Dobias
e7900a38cb
Merge pull request #8411 from wonder-sk/slap-mssql-around-with-a-trout
...
Fix a bunch of MS SQL provider issues
2018-11-05 12:41:30 +01:00
Martin Dobias
68be6df376
Make sure topo editing button is updated on new/loaded project
2018-11-05 12:31:51 +01:00
Martin Dobias
93e737e4bf
[vertex tool] Fix topo editing when moving vertices/edges ( fixes #20158 )
...
- when some "extra" vertices are selected when moving a vertex, their coincident
vertices will be also moved (#20158 )
- when moving an edge, coincident vertices to its endpoints will be also moved
- new tests to cover the above scenarios
- made the code hopefully easier to read
2018-11-05 12:31:51 +01:00
Martin Dobias
89a80c1b55
Read/write relative paths to gpkg rasters in project (when enabled)
...
Routines in raster layer were not aware of "GDAL:filename:table" syntax
used for raster layers from GeoPackages so project files were storing
absolute paths even when relative paths should have been used.
2018-11-05 12:31:01 +01:00
Alessandro Pasotti
64bd7a7ced
Added ~QgsDataSourceSelectDialog destructor
2018-11-05 10:45:40 +01:00
Alessandro Pasotti
f02345bd8b
Remove unnecessary project from test data
2018-11-05 10:27:02 +01:00
Alessandro Pasotti
eb02004b60
Store original style as QDomDocument instead of an XML string
2018-11-05 10:27:02 +01:00
Nyall Dawson
bc8574ce5c
Small cleanups for QgsDataSourceSelectDialog
2018-11-05 10:27:02 +01:00
Alessandro Pasotti
a4182c1e04
Remove unnecessary project from test data
2018-11-05 10:26:39 +01:00
Alessandro Pasotti
7a259c6ea5
Better handling of invalid relations ...
...
- do not add them to the manager dialog
- do not add relations to not existent layers (but keep relations to invalid layers)
2018-11-05 10:26:39 +01:00
Alessandro Pasotti
2d1a521fe4
Check for raster validity in raster style widget
2018-11-05 10:26:39 +01:00
Alessandro Pasotti
bc424d09c1
Store original style as QDomDocument instead of an XML string
2018-11-05 10:26:39 +01:00
Alessandro Pasotti
d46d765d58
Restore handle bad layers dialog original behavior
2018-11-05 10:26:39 +01:00
Alessandro Pasotti
8493636f18
Data source select dialog now accepts a model
2018-11-05 10:26:39 +01:00
Alessandro Pasotti
086be3832c
Rendering test for bad layers and setDataSource
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
64c23dec34
Spelling
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
17433181aa
Fix raster style restore when setDataSource
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
fbea9f5d50
Renamed buttons for bad layers dialog
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
70d9b6ca43
Fix check condition for layer style restore
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
4481127b9a
Fix raster set data source (with test)
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
29cbb23ab3
Take context by copy in lambda
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
661aad7ef9
Add … to change data source action
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
8d84a6fcbd
Remove unused connection
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
ab7b45704c
Copy! References in lambdas are dangerous
...
Note to self: repeat 3 times:
Copy! References in lambdas are dangerous
Copy! References in lambdas are dangerous
Copy! References in lambdas are dangerous
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
fd40042514
Move change data source action to app
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
8d9d52d128
Add test data for relations
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
0cf8a33dab
Fix crash due to index on wrong model
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
0cd21c91f1
Keep invalid relations and update them when the data source changes
...
Added a check for layer.isValid in relation.isValid, keep
relations in the manager even if they are not valid and
connect dataSourceChanged with updateRelationStatus
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
2bd90da9c1
Added a validOnly flag to mapLayers to filter for valid layers only
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
455b660e6b
Fix crash in raster readXml when data provide cannot be created
...
Actually it was a consequence of a broken test, but there
is no need to crash.
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
bd71df0054
Add the bad layers test to cmake and fix it for renamed methods
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
adc3b741e8
Only filter by layer type: ignore provider key
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
d995eeb0d7
Filter layers by type in the data source select dialog
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
3e9d5c7326
Restore original layer style (tested with vectors only)
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
3fe7848c16
Noted in the method documentation that dataProvider() may return null
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
f856b4c8e3
Renamed originalXmlProperties methods and variables
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
9cfb4369f9
Tests for bad layers raster support
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
2af5fd1950
Bad layers indicator raster support
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
66b9b5fd55
Changed debug message text for bad layers
2018-11-05 10:24:35 +01:00
Alessandro Pasotti
acb6f42d60
Variable rename (get rid of "my" prefix)
2018-11-05 10:24:35 +01:00