Alessandro Pasotti
5ae2bae909
Merge pull request #8426 from SrNetoChan/new_bad_layer_logo
...
New bad layers icon for layers panel
2018-11-06 13:16:47 +01:00
Alexandre Neto
9916c5fbb7
New bad layers icon for layers panel
2018-11-06 11:57:26 +00:00
Alessandro Pasotti
36f115833e
Merge pull request #8425 from elpaso/handle-bad-layers3
...
Add symbology tests (rule based and categorized) to Handle bad layers
2018-11-06 11:17:34 +01:00
Alessandro Pasotti
7db1d4e8b4
Added test project with the bad layers (not used by tests)
...
but still useful for manual tests
2018-11-06 10:28:49 +01:00
Alessandro Pasotti
ba3ccca2dd
Add rule-based and categorized styles to the bad layers test
2018-11-06 10:27:07 +01:00
Martin Dobias
45059297e4
[3d] Fix 3D line symbol in 3D views in print layouts ( fixes #20118 )
...
Turned out we were getting an old version of OpenGL that does not
support the "primitive restart" functionality and so wherever
a linestring should be broken it was connected through (0,0,0)
to the next linestring.
2018-11-06 09:27:35 +01:00
Alessandro Pasotti
c8b26771cf
Merge pull request #8359 from elpaso/handle-bad-layers2
...
[needs-docs][feature] Deferred handling of bad layers
2018-11-06 08:43:18 +01:00
Nyall Dawson
c54c559723
Ensure browser preview canvases don't get treated like map canvas
...
docks
They have their own special logic, and shouldn't respond to
any project based settings or triggers
Fixes #20362
2018-11-06 12:23:00 +10:00
Nyall Dawson
0ea86bf0a5
More old style connect removal
2018-11-06 08:45:37 +10:00
Nyall Dawson
7b24bd3f0b
More old style connect removal
2018-11-06 08:45:37 +10:00
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