Nyall Dawson
7674e1657b
[processing] Include version information at start of log
...
Start the log text with QGIS/Qt/GEOS/GDAL version information strings.
This is helpful for debugging and accountability.
2019-04-02 06:16:45 +10:00
Juergen E. Fischer
88513284d4
fix removal of temporary directories ( fixes #21292 )
2019-04-01 14:18:30 +02:00
Nyall Dawson
9820e6b222
Revert "fix removal of temporary directories"
...
This reverts commit b141349c90be91f191f612b7e2a349adde3c6349, which
causes crashes in almost every unit test.
2019-04-01 09:30:50 +10:00
Andrea Giudiceandrea
70f3bd7f60
deleteShapeFile(): delete also ".cpg", ".sbn", ".sbx", ".idm", ".ind" files
...
Make QgsVectorFileWriter::deleteShapeFile() delete ".cpg" (and ".sbn", ".sbx", ".idm", ".ind") files along with ".shp", ".shx", ".dbf", ".prj", ".qix", ".qpj" ones.
2019-04-01 08:37:36 +10:00
Juergen E. Fischer
b141349c90
fix removal of temporary directories
2019-04-01 00:02:12 +02:00
Alessandro Pasotti
5b5cc50b9e
Merge pull request #9620 from elpaso/bugfix-badlayers-storage
...
Bugfix badlayers storage
2019-03-28 08:14:53 +01:00
Denis Rouzaud
631c7016db
scope enum for QgsProcessing::LayerHint ( #9639 )
2019-03-27 17:23:36 -05:00
Nyall Dawson
858e5d0209
Sipify
2019-03-27 12:53:15 +10:00
Nyall Dawson
545e8bcf2c
Add utility class for proj to Python bindings
2019-03-27 12:53:15 +10:00
Denis Rouzaud
f000956e86
Merge pull request #9437 from 3nids/maplayertype_enum
...
create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
2019-03-26 10:28:34 -05:00
henrik
cf63e00500
Added tests for PointDisplacementRenderer labels.
2019-03-26 18:17:12 +10:00
henrik
6fb06738ec
[FEATURE] [needs-docs] Point Displacement label distance factor
...
Adds label distance factor spinbox to Point Displacement symbology
window. Calculates label distance based on the current symbology
diagonal instead of a general maximum diagonal.
Replaces the hard coded distance "symbolDiagonal/2.0" with
"symbolDiagonal*mLabelDistanceFactor", where mLabelDistanceFactor is set
to the spinbox value.
It's an old feature request (Point displacement labels adjustable
offsets "https://issues.qgis.org/issues/5945 ").
2019-03-26 18:17:12 +10:00
Alessandro Pasotti
09fe865094
Merge pull request #9616 from elpaso/html-widget
...
HTML form widget
2019-03-26 08:04:50 +01:00
Alessandro Pasotti
0aa326b9f9
Enable webview tools and fix some minor dox issues
2019-03-25 18:09:13 +01:00
Alessandro Pasotti
e75308e700
Add test case for the layer store when re-adding a fixed layer
2019-03-25 15:03:46 +01:00
Alessandro Pasotti
eb3e18ddaa
Added note in the documentation about the new behavior
2019-03-25 12:39:44 +01:00
Denis Rouzaud
375a0aa253
create scope based enum for QgsMapLayer::LayerType >> QgsMapLayerType
...
the enum is moved out of the class
this will allow forward declaration more easily since the enum is not nested in the class
2019-03-24 21:40:33 -05:00
Alessandro Pasotti
b165258e6d
[feature][needs-docs] HTML form widget
...
Shameless clone of QML widget, with some webview quirks.
Funded by ARPA Piemonte
2019-03-23 16:41:16 +01:00
Juergen E. Fischer
2af3535216
[needsbackport] apply an alternative fix for #20826
...
Partly reverts c9e761649, which removed the synchronizatiion of
credential requests (eg. in a project that has multiple layers from the
same postgresql database without credentials) and led to multiple
concurrent requests for the same credentials.
Some of which were silently discarded, when events processed in the
dialogs exec() event loop tried to reinvoke the dialog and caused
invalid layers.
Authentications caused by network requests can still cause this.
The credential cache is now guarded by a separate mutex.
2019-03-23 16:08:25 +01:00
Harrissou Sant-anna
f998ec9bb4
Remove duplicate word
2019-03-22 12:44:27 +10:00
Nyall Dawson
427ea515a5
Deprecate some more methods
2019-03-22 12:16:22 +10:00
Nyall Dawson
16a64ed84d
Deprecate some methods, dox++
2019-03-22 12:16:22 +10:00
Nyall Dawson
fa202795b0
Dox++
2019-03-22 12:16:22 +10:00
Blottiere Paul
e9067834eb
Merge pull request #9362 from pblottiere/legend_json
...
Add json format for legend
2019-03-21 09:17:42 +01:00
Nyall Dawson
1dc447e1f2
Dox++
2019-03-21 12:44:16 +10:00
Blottiere Paul
90b46f6a38
Add context in doc
2019-03-20 09:56:30 +00:00
Blottiere Paul
4efd410840
Update sip
2019-03-20 09:33:17 +00:00
Blottiere Paul
0cdd80d723
Update doc
2019-03-20 09:00:26 +00:00
Blottiere Paul
89a1b1a1ac
Rename methods
2019-03-20 08:55:50 +00:00
Sandro Mani
0996c93d09
[Bugfix] Ensure order by attribute indices are valid
2019-03-19 16:22:18 +01:00
Blottiere Paul
7adb1145c6
Update SIP binding
2019-03-19 14:38:04 +00:00
Nyall Dawson
bdbb622bac
Fix crash when using QgsLayoutItemComboBox when null values
...
are displayed
Turns out there is NO reliable way to create a proxy model
which adds new rows to a model, so just bite the bullet and
do it in the underlying model (yuck)
2019-03-18 17:32:31 +10:00
Nyall Dawson
719a225bca
[processing] Port point widget wrapper to new API
...
And switch to a snapping canvas tool when selecting points from canvas
2019-03-17 16:19:40 +10:00
Peter Petrik
37faa0d883
Add option to format time in mesh layer ( #9452 )
...
[feature] [mesh] #20731 add option to format time in mesh layer
There is new settings dialog that can be opened by button next to time slider. User can set reference time and time format (e.g. 2019-03-21 22:01:11).
2019-03-15 08:42:28 +01:00
Hugo Mercier
a7d060bb96
Merge pull request #9494 from mhugo/force_provider_constraints
...
Allow the strength of provider constraints to be soft
2019-03-14 08:42:12 +01:00
Hugo Mercier
1eaa5bbf96
Allow the strength of provider constraints to be set to soft
2019-03-13 15:30:29 +01:00
Nyall Dawson
32fbf0a92b
[processing][FEATURE] New parameter type for map scales
...
This adds a new parameter type specifically for map scales,
QgsProcessingParameterScale. The values are evaluated using
self.parameterAsDouble, which returns the map scale
denominator (matching the standard in other parts of the
QGIS API).
Scale parameters are displayed to users using the standard
QgsScaleWidget, which includes the combo box of predefined
scales and a shortcut button to match the current map scale.
2019-03-13 16:52:29 +10:00
Matthias Kuhn
857fe53773
[FEATURE] Merge pull request #9460 from m-kuhn/labeling_geometry_generator
...
➿ Geometry generators for labeling ➿
2019-03-12 14:15:51 +01:00
Harrissou Sant-anna
4b9f4da929
Use Qt style "returns .." tense instead of "return .."
2019-03-12 14:42:36 +10:00
Nyall Dawson
f9fb4085b2
Tweaks to layout item combo box
2019-03-12 08:16:52 +10:00
Nyall Dawson
0003e91f27
Add methods to resolve parameters to layouts/layout items
2019-03-12 08:16:52 +10:00
Nyall Dawson
ba82954ac5
[processing] Add new parameter type for layout item objects
2019-03-12 08:16:52 +10:00
Nyall Dawson
dd49720863
[processing] Add new parameter type for print layout names
2019-03-12 08:16:52 +10:00
Nyall Dawson
cba22770dc
Move layout manager model from app to core and add unit tests
2019-03-12 08:16:52 +10:00
Nyall Dawson
0b270f98fb
Merge pull request #9454 from nastasi-oq/distribute-equispaced2
...
[layout] add new vertical and horizontal equispaced distributions
2019-03-12 06:29:33 +10:00
Matthias Kuhn
05ff817a97
Update docs
2019-03-11 12:48:14 +01:00
Matthias Kuhn
a133bcae45
Fix sip bindings and ignore missing docs
2019-03-10 18:37:41 +01:00
Matthias Kuhn
2ab58c94db
Rule based labeling RAII
2019-03-10 17:27:50 +01:00
Matthias Kuhn
da0e4741c1
Pal should also use 64 bit fids
2019-03-10 17:27:50 +01:00
Matthias Kuhn
67e1c333ee
Save geometry generator enabled/disabled state independently
2019-03-10 13:36:52 +01:00