61030 Commits

Author SHA1 Message Date
Nyall Dawson
4169c7bd68 Improved appearance of resized components 2020-03-12 13:14:33 +10:00
Nyall Dawson
3b61938e24 [FEATURE][processing] Allow interactive resizing of model components
Allows for components to be freely resized via the standard mouse controls
2020-03-12 13:14:33 +10:00
Nyall Dawson
d97f02420e Batch multi item move undo commands 2020-03-12 13:14:33 +10:00
Nyall Dawson
50119859d1 Avoid crash when closing model designer 2020-03-12 13:14:33 +10:00
Nyall Dawson
115f5e4664 Nicer feedback updates while dragging model items 2020-03-12 13:14:33 +10:00
Nyall Dawson
d6df6f7456 Remove older item move code 2020-03-12 13:14:33 +10:00
Nyall Dawson
9044acd149 Start work on model designer mouse handles 2020-03-12 13:14:33 +10:00
Nyall Dawson
28aea7ee0d Move more of layout mouse handles code to base class 2020-03-12 13:14:33 +10:00
Nyall Dawson
821e6f2cde Start refactoring layout mouse handles to move functionality to
a generic base class
2020-03-12 13:14:33 +10:00
Nyall Dawson
b7b4ef232a Fix multi item moves, avoid unnecessary scene rebuilds 2020-03-12 13:14:33 +10:00
Nyall Dawson
5149f0b6c7 Rebase fixes 2020-03-12 13:14:33 +10:00
Nyall Dawson
3918f011f5 Set scene for select tool 2020-03-12 13:14:33 +10:00
Nyall Dawson
e3f1c576a9 Snapping api work 2020-03-12 13:14:33 +10:00
Nyall Dawson
a386ca0db9 Allow multi-item move by cursor keys 2020-03-12 13:14:33 +10:00
Nyall Dawson
b22e669bbd Multi item selection work 2020-03-12 13:14:33 +10:00
Nyall Dawson
bb82c12791 [processing] Start re-working model designer to use view tools
Based heavily on the layout designer approach, which is working well..
2020-03-12 13:14:33 +10:00
Paul Blottiere
174e00a91f
Merge pull request #34925 from pblottiere/ogcapif_fix
Fix landing page test for OGC API Features certification
2020-03-11 22:54:45 +01:00
Even Rouault
ab1755c6a2
Merge pull request #34795 from jgrocha/fix-db-manager-extent-to-string
Fix TypeError when displaying Postgis layers extent
2020-03-11 19:45:02 +01:00
Denis Rouzaud
0ee1d12e6d
Revert "Update backport.yml (#34883)" (#35004)
This reverts commit 0c3f233c46336b8031ccf75379691b07c8837bb8.
2020-03-11 19:25:22 +01:00
Even Rouault
136ad8c879
Merge pull request #34469 from troopa81/fix_taskmgr_raceconditions
Fix Task manager race conditions issues
2020-03-11 18:50:24 +01:00
Raul Bezerra Barbosa
7fe174266d fixes #34774 - python 2to3 related bug 2020-03-11 18:09:38 +01:00
Even Rouault
399dc62359
Merge pull request #33918 from alexbruy/organize-columns
add "Organize Columns" button to the attribute table toolbar (fix #23397)
2020-03-11 17:50:19 +01:00
rldhont
912ffdec3e
Merge pull request #34989 from rldhont/tests-geojson-stringtofields-multi-features
[Tests] GeoJSON stringToFields with a feature collection
2020-03-11 17:30:30 +01:00
Blottiere Paul
0cf9a81b36 More fixes in output json for unit tests 2020-03-11 16:07:26 +01:00
Blottiere Paul
2a6e007408 Fix test for json landing page 2020-03-11 13:37:31 +01:00
Blottiere Paul
438cedfc5f Update json result 2020-03-11 11:00:16 +01:00
rldhont
9ae479a392 [Tests] GeoJSON stringToFields with a feature collection
The methode `QgsJsonUtils::stringToFields` is a wrapper to `QgsOgrUtils::stringToFields`

The `QgsOgrUtils::stringToFields` is described as
> Attempts to retrieve the fields from a string representing a collection of features using OGR.

The GeoJSON feature collection string was not covered by tests.
2020-03-11 11:00:06 +01:00
Blottiere Paul
c56889ab0a Update html anding page for tests 2020-03-11 10:58:40 +01:00
vcloarec
c2f2900384 fix QAbstractTextureImage shared 2020-03-11 07:51:02 +01:00
vcloarec
f26f1960db remove bad files 2020-03-11 07:51:02 +01:00
vcloarec
dd6af4cda3 workaround for testExtrudedPolygons
Test fails sometime, apply same workaround than others
2020-03-11 07:51:02 +01:00
vcloarec
d1c13a9512 adapt test and fix arrows positioning 2020-03-11 07:51:02 +01:00
vcloarec
ba37a9c571 fix typo and switch with dataOnEdges 2020-03-11 07:51:02 +01:00
vcloarec
42bc0656b7 arrows for 3D mesh layer dataset rendering 2020-03-11 07:51:02 +01:00
Nyall Dawson
d16ee2285e Hide from sip 2020-03-11 08:39:54 +10:00
Nyall Dawson
4dd598fbb5 Also warn for unsaved changes when opening a model through the model designer 2020-03-11 08:39:54 +10:00
Nyall Dawson
e9c594d388 Make Model Designer window title follow app conventions
Show unsaved changes via * prefix, show model name in title

Also less Python, more c++
2020-03-11 08:39:54 +10:00
Nyall Dawson
c4df4dc8f7 The model "last used parameter values" setting should live outside
the undo stack

We don't want to roll these back if users are undo/redoing changes
2020-03-11 08:39:54 +10:00
Nyall Dawson
e7b5c26696 [FEATURE][processing] Add undo/redo support to model designer
Makes QGIS more forgiving for users!

Sponsored by NRCan
2020-03-11 08:39:54 +10:00
Nyall Dawson
6a597e9fad Fix Multi-Edit dialog is never deleted when launched from the main
window

This results in a leak, plus a gradual slow down in QGIS performance
over time if many multi-edit operations have been performed in a session
(because there's a lot of resultant widgets hanging around and listening
to selection changes + iterating through the selected features as a result)
2020-03-11 03:42:43 +10:00
nirvn
82748a5b2f [temporal] Don't connect the temporal indicator for layers missing temporal properties 2020-03-11 03:42:21 +10:00
Denis Rouzaud
db73faae08
small code readability improvement 2020-03-10 13:15:50 +01:00
Denis Rouzaud
a180149a4f
fix missing GEOS include (#34959) 2020-03-10 11:17:26 +01:00
Nyall Dawson
1ea60faebd Fix test 2020-03-10 19:10:52 +10:00
Nyall Dawson
95ec307399 Fix see also links 2020-03-10 19:10:52 +10:00
Nyall Dawson
f587430d23 Remove ad-hoc python provider connection parameters and replace
with proper provider connection parameters
2020-03-10 19:10:52 +10:00
Nyall Dawson
6997c18287 Add widget wrapper for provider connection parameter 2020-03-10 19:10:52 +10:00
Nyall Dawson
4f66115b9c [feature][processing] Add dedicated parameter type for database connections
Allows selection from the registered database connections for a specific
database provider type (the provider must implement the connections API)
2020-03-10 19:10:52 +10:00
Nyall Dawson
6969db1966 Add API to show empty entries in QgsProviderConnectionComboBox 2020-03-10 19:10:52 +10:00
vcloarec
3b40c3a163 avoid reloading triangular mesh when transforms are invalid 2020-03-10 09:07:45 +01:00