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
Alessandro Pasotti
700a411285
QgsNewDatabaseTableNameWidget implementation (WIP)
2020-03-10 08:12:36 +01: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
Nyall Dawson
0b3f7a58c1
Hookup toggle to hide comments from model designer
2020-03-06 18:22:49 +10:00
Nyall Dawson
08b47a496b
Fix missing icon, less Python
2020-03-06 18:22:49 +10:00
Nyall Dawson
b84bf68dab
Bit less Python
2020-03-06 18:22:49 +10:00
Nyall Dawson
8845b535c5
More c++ ports
2020-03-06 18:22:49 +10:00
Nyall Dawson
df7dd5ba90
More model dialog Python -> c++ ports
2020-03-06 18:22:49 +10:00
Nyall Dawson
a0e6a374eb
Port some more model designer Python code to c++
2020-03-06 18:22:49 +10:00
Nyall Dawson
eefd04cbc1
Start creation of a c++ base class for modeler dialog
2020-03-06 18:22:49 +10:00
Nyall Dawson
93355082a2
Add a menu bar to model designer
2020-03-06 18:22:49 +10:00
Nyall Dawson
2a1bf56493
[FEATURE][processing] Remember parameter values between model designer runs
...
When designing a model, users typically will need to run the model
many times as they tweak its structure.
This change causes the parameters used when running the model from
the designer to be remembered and saved into the model, so that
each time you run the model from the designer you don't have to
re-set all the input parameter values to the desired test ones.
Makes iterative model design SO much easier!
Sponsored by Alta Ehf
2020-03-06 18:22:49 +10:00
Alessandro Pasotti
b3864dbf3a
Merge pull request #34890 from elpaso/bugfix-gh34862-db-manager-stinks-again
...
DB manager: connections refresh
2020-03-06 08:37:15 +01:00
Nyall Dawson
9bbfe81540
When the canvas temporal range is changed, we need to invalidate any
...
cached images we have of temporal enabled layers
Otherwise these will not be re-rendered using the update temporal range
when the canvas is redrawn (and we want to avoid a full map redraw during
animations, which is expensive, so we want to be able to reuse as many
cached images as possible!)
2020-03-06 11:56:13 +10:00
Nyall Dawson
9959a22e54
Don't inherit QgsTemporalProperty for QgsDataProviderTemporalCapabilities
...
The QgsTemporalProperty interface has members which are geared more to
user-setable temporal properties (e.g. "isActive()"/"setIsActive()". Instead, use
more explicit "hasTemporalCapabilities()" API in
QgsDataProviderTemporalCapabilities to make it immediately clear
what this flag means for data provider temporal capabilities
2020-03-06 11:56:13 +10:00
Nyall Dawson
fa6d62f9dd
Minor header cleanups and documentation improvements
2020-03-06 11:56:13 +10:00
Nyall Dawson
266d920d99
Dox++
2020-03-06 11:56:13 +10:00
Matthias Kuhn
6548d6c17c
Merge pull request #34750 from gacarrillor/remove_duplicate_nodes_in_collections
...
Remove duplicate nodes from each part in a collection
2020-03-05 20:45:11 +01:00
Nyall Dawson
23aa83c23e
Add unit tests, minor fixes
2020-03-06 03:49:16 +10:00
Nyall Dawson
64868ce8f2
Bit more Python to c++ porting
2020-03-06 03:49:16 +10:00