16762 Commits

Author SHA1 Message Date
Nyall Dawson
1e67ee42fa [FEATURE][processing] Add action to model designer to delete all selected components 2020-03-12 13:14:33 +10:00
Nyall Dawson
a82bd1decd Implement an ugly workaround due to QGraphicsScene lack of event
propagation
2020-03-12 13:14:33 +10:00
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
9044acd149 Start work on model designer mouse handles 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
e3f1c576a9 Snapping api work 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
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
Raul Bezerra Barbosa
7fe174266d fixes #34774 - python 2to3 related bug 2020-03-11 18:09:38 +01: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
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
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
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
Matthias Kuhn
7edf1f286b
Merge pull request #34954 from gacarrillor/duplicate_nodes_in_holes
Remove duplicate nodes from all inner rings
2020-03-10 08:08:26 +01:00
gacarrillor
8d2f75da0f Test for Remove Duplicate Vertices alg. (Polygons with duplicates in several holes) 2020-03-09 22:22:37 -05:00
Samweli
9845ffa591 added tests for changed signal in temporal properties 2020-03-10 10:11:54 +10:00
Samweli
2aaac598ed updates on temporal source changes 2020-03-10 10:11:54 +10:00
Samweli
2f0eb95868 ui tweaks and tests fix 2020-03-10 10:11:54 +10:00
Harrissou Sant-anna
61d1ac1226 more robust code 2020-03-10 07:52:17 +10:00
Harrissou Sant-anna
ca89d34059 Allow to cancel server connections list modification 2020-03-10 07:52:17 +10:00
Harrissou Sant-anna
eca5261160 Allow to open data loader dialog from metasearch
fixes #34759
2020-03-10 07:52:17 +10:00
Sandro Mani
aca8e030bf
Merge pull request #33833 from kadas-albireo/vectorprops
Move QgsVectorLayerProperties and dependencies to GUI
2020-03-09 13:17:00 +01:00
Nyall Dawson
85e1fbed18 Protected->private 2020-03-09 21:04:51 +10:00
Nyall Dawson
35411af6f6 Add new GUI widget QgsDatabaseTableComboBox for selection of
available tables for a specific data connection

(providers must implement the connections API)
2020-03-09 21:04:51 +10:00
Nyall Dawson
e8e13ecb6f Add new GUI widget QgsDatabaseSchemaComboBox for selection of
available schemas for a specific data connection

(providers must implement the connections API)
2020-03-09 21:04:51 +10:00
Nyall Dawson
2bdb0cc27a Add new GUI widget QgsProviderConnectionComboBox for selection of
registered connections for a specific data provider

(providers must implement the connections API)
2020-03-09 21:04:51 +10:00
Nyall Dawson
26df3028b2 Add icon to provider connections 2020-03-09 21:04:51 +10:00
Nyall Dawson
f7731bc28f Add model for database tables from a connection
Optionally limited to a specific schema, if desired
2020-03-09 21:04:51 +10:00
Nyall Dawson
e0ca4d40f6 Dox 2020-03-09 21:04:51 +10:00
Nyall Dawson
a0a57d5bf7 Add a model for schemas from a database connection 2020-03-09 21:04:51 +10:00
Nyall Dawson
2eb4eaff86 Add some more useful roles to model 2020-03-09 21:04:51 +10:00
Nyall Dawson
1fba225840 Add model for connections from a provider 2020-03-09 21:04:51 +10:00
Nyall Dawson
2217378733 Add signals to QgsProviderMetadata for connection created, changed and deleted 2020-03-09 21:04:51 +10:00
Sandro Mani
7c79610d64 Update sip bindings 2020-03-09 10:29:34 +01:00
Sandro Mani
84bd5797f7 Move QgsVectorLayerProperties and dependencies to GUI 2020-03-09 10:29:34 +01:00
Nyall Dawson
bcf9c828f9 [FEATURE][callouts] Add control over anchor point for callout on label
This gives users control over where a callout should join to the label
text. (Previously, you only had control over where the callout would
join to the corresponding feature geometry).

Choices include:
- Closest point (previous behavior)
- Label Centroid
- Fixed corners: Top left/top right/bottom left/bottom right/etc

Data defined control over the label anchor is also possible
2020-03-09 15:29:51 +10:00
Peter Petrik
0675c0b697
[FEATURE] Mesh 1D Renderer (#34848)
* MDAL 0.5.90 : support for custom Logger and 1D meshes
* [FEATURE] [MESH] Support rendering of 1D meshes, see https://github.com/qgis/QGIS-Enhancement-Proposals/issues/164

1D mesh consist of edges (edge is straight line segment with 2 vertices) and the data that is defined on either
vertices or edges. Such data can be loaded by MDAL and rendered as mesh layer in QGIS.
2020-03-09 05:59:51 +01:00
Alessandro Pasotti
6c86055e57 PG: expose foreign tables 2020-03-07 13:55:29 +10:00
Samweli Mwakisambwe
0facf5450d
QGIS Project temporal settings
Adds the ability to set a temporal range for a project
2020-03-07 07:43:13 +10:00
Nyall Dawson
bc3077e52e [processing] When running an algorithm in place mode, don't auto close
the dialog after changing features

Otherwise it can be a real pain to iteratively change/undo/tweak parameter
value
2020-03-06 18:24:01 +10:00
Nyall Dawson
4e1e68461d Snap Geometries algorithm is capable of running in-place mode 2020-03-06 18:24:01 +10:00
Nyall Dawson
56610002e3 Identation 2020-03-06 18:22:49 +10:00