12029 Commits

Author SHA1 Message Date
Nyall Dawson
343c070adf Fix layout designer does not respect layout settings 2018-01-17 04:58:41 +10:00
Denis Rouzaud
9bf943a777 [QgsFilterLineEdit] use QLineEdit::addAction instead of hacking paintEvent
this gets much more simple
2018-01-16 10:22:20 -04:00
Denis Rouzaud
d1a922b565
let's build python API for server....
is it just me or it was never built?
2018-01-16 08:35:51 -04:00
Nyall Dawson
17478ea51a [processing][needs-docs] Hide variable distance buffer from toolbox
This algorithm has become a model-only algorithm, since it's
functionality is now present in the native c++ buffer algorithm
(which can now buffer by field or expression).

Ideally we'd remove this algorithm entirely, but data defined
parameters are not yet supported by the modeler gui, so we need
to keep it around for use in models for now.
2018-01-16 21:21:38 +10:00
Nyall Dawson
ecd113de24 Fix modeler dialog doesn't respect hide from modeler flag 2018-01-16 21:21:38 +10:00
Nyall Dawson
95db682acf [processing][needs-docs] Drop Fixed Distance Buffer algorithm
Since it's functionality is a subset of the native c++ "buffer"
algorithm, it's no longer required.
2018-01-16 21:21:38 +10:00
nirvn
9db2d64d52 [processing] fix gdal's ogrinfo algorithm 2018-01-16 18:16:35 +07:00
Mathieu Pellerin
add40c1e22
[processing] use combined vector and raster filters for map layer file picker 2018-01-16 18:01:21 +07:00
Nyall Dawson
5da28ed9f0 [needs-docs][processing] Add tooltips to input types in modeler
...to help clarify for users what the different input types mean.

Fixes #17671, which is a result of unclear distinction between
the uses of vector features vs vector layer inputs.

Tagged as needs-docs, as it may help with documentation for 3.0
2018-01-16 20:35:26 +10:00
Nyall Dawson
5a7da09060 [needs-docs] Rename some processing input types in modeler for clarity
Refs #17671
2018-01-16 20:35:26 +10:00
Nyall Dawson
f969b03fd2 Sort input types in processing modeler dialog 2018-01-16 20:35:26 +10:00
Nyall Dawson
de6519024e Sipify 2018-01-16 19:45:40 +10:00
Nyall Dawson
87c1986c4b Improved memory managment of algorithm dialogs
Ensure that dialogs are always correctly deleted when appropriate.

Also, if an algorithm is running in a background task and hits
an error, we automatically re-show the algorithm dialog and the
associated log for debugging.

Fixes #16858
2018-01-16 19:45:40 +10:00
Nyall Dawson
971aec8056 Rename QgsTaskManager::triggered to taskTriggered 2018-01-16 19:45:40 +10:00
Nyall Dawson
b8defc113c When processing tasks are clicked in task manager, reopen the
algorithm dialog
2018-01-16 19:45:40 +10:00
Nyall Dawson
7603487e6a Add method to 'trigger' QgsTasks
Triggering occurs when a task is clicked in the task manager
widget, and this can be used to e.g. open a dialog showing
detailed task progress (or reopen a closed dialog which started
the task)
2018-01-16 19:45:40 +10:00
Nyall Dawson
fe2292c59a Fix default value 'apply on update' setting not correctly restored
Fixes #17712
2018-01-16 16:09:41 +10:00
Etienne Trimaille
2c511d25dc return empty CRS instead of 4326 if the XML is empty 2018-01-16 14:17:42 +10:00
Nyall Dawson
30fe9917ce Sipify 2018-01-16 13:57:14 +10:00
Nyall Dawson
741afdca55 Add provider suite test for thread safety of provider getFeatures()
Hammers providers by iterating through features from multiple threads
2018-01-16 13:57:14 +10:00
Nyall Dawson
05c7132518 Fix initial positioning of floating widgets 2018-01-15 21:43:44 -04:00
Denis Rouzaud
df90feff00 add missing since and complete API brea doc 2018-01-15 21:41:01 -04:00
Denis Rouzaud
20722f4e5f [user input widget] use a floating widget rather than a dock
fix #15177
2018-01-15 21:41:01 -04:00
Alexander Bruy
eb7a187a88 [processing] add missed imports (fix #17843) 2018-01-15 20:13:38 +02:00
Alexander Bruy
7cad24d82f [processing] improve layout of the raster calculator dialog 2018-01-15 19:25:08 +02:00
Alexander Bruy
490aad112f [processing] quote layer names in raster calculator (fix #17847) 2018-01-15 19:25:08 +02:00
Denis Rouzaud
51654afc06 also fix method capitalization 2018-01-15 11:55:23 -04:00
Denis Rouzaud
7a1e4bd8f0 fix NMEA capitalization and doxygen 2018-01-15 11:55:23 -04:00
Matthias Kuhn
168c469b32 Rename QgsGPS prefixed classes to QgsGps 2018-01-15 11:55:23 -04:00
volaya
418d58752f [processing] added missing method to custom field calculator dialog
A much better way of doing this would be to have the dialog extend qgsprocessingalgorithmdialogbase, or to take an approach like the one used in the raster calculator, with wrapper widgets.
This is just a patch, since that option might require a larger amount of work.
2018-01-15 14:56:36 +01:00
Alexander Bruy
dc99b8b2f0 [processing] add missed return statement (fix #17821) 2018-01-15 13:19:43 +02:00
Alexander Bruy
e67aaf9a26 [processing] rename QGISAlgorithmProvider to QgisAlgorithmProvider to be
consistent with our guidelines
2018-01-15 11:59:01 +02:00
Alexander Bruy
0ffd993d02 [processing] update script collection metadata and homogenize quotes 2018-01-15 11:59:01 +02:00
Alexander Bruy
7ecb0536fd [processing] correctly retrieve icon for script collection (fix #17780) 2018-01-15 11:59:01 +02:00
Blottiere Paul
76c0a5ba82 Add a name to transaction command 2018-01-15 07:57:16 +00:00
Steven Mizuno
b9aa768c90 run sipify 2018-01-15 14:32:53 +10:00
Nyall Dawson
09fbdb1bc2 Drop color button/dialog live update option from API and UI
This options is broken in QGIS 3.0, but in any case has been
mostly made redundant by the live styling dock, and the other
non blocking color pickers which are implemented in most areas
of qgis now.
2018-01-15 12:40:44 +10:00
Nyall Dawson
ded9b0978d Rename QgsVectorLayer::pkAttributeList to primaryKeyAttributes() for consistency 2018-01-15 11:27:22 +10:00
Nyall Dawson
21c8956b18 Drop QgsVectorLayer::pendingFeatureCount()
Use QgsVectorLayer::featureCount() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
1da17904b8 Drop QgsVectorLayer::pendingAllAttributesList()
Use QgsVectorLayer::allAttributes() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
068d51c3be Drop QgsVectorLayer::pendingFields()
Use QgsVectorLayer::fields() instead.
2018-01-15 11:27:22 +10:00
Juergen E. Fischer
0c4e8d57be translation string fix 2018-01-13 16:05:24 +01:00
Denis Rouzaud
4568bcdf1f [sipify] prevent creation of param list when not necessary 2018-01-12 21:10:16 -04:00
Denis Rouzaud
6d94ac9c6c run sipify 2018-01-12 21:10:16 -04:00
Denis Rouzaud
8074dc4cbf
[options search] do not show widget when text is found (#6052)
fix #17812
2018-01-12 09:53:57 -04:00
Alexander Bruy
3f55bba535 [processing] don't close algorithm dialog after execution 2018-01-11 11:55:08 +02:00
Matthias Kuhn
f76421db4e
Merge pull request #5900 from m-kuhn/layerPropsStyleInTitle
Show style name in layer properties dialog title
2018-01-11 09:03:47 +01:00
Nyall Dawson
322f2e8c38 Drop composer class from gui library 2018-01-11 08:00:00 +10:00
Alessandro Pasotti
f868bcc691 [layout] Add printLayouts to return all print layouts contained in the manager 2018-01-10 18:03:08 +01:00
Denis Rouzaud
880d853e9f
detect SIP version to add DefaultDocstringSignature directive (#6030)
* detect SIP version to add DefaultDocstringSignature directive

SIP doesn't handle any kind of preprocessing, so there's no better solution than configuring the SIP files from CMake.
SIP 4.19.7+ supports %DefaultDocstringSignature to prepend auto-generated Python signature to existing Docstrings
2018-01-10 10:32:21 -04:00