45273 Commits

Author SHA1 Message Date
Nyall Dawson
163c278491 Avoid creating undo commands when converting compositions 2018-01-17 14:00:05 +10:00
Etienne Trimaille
4a2da5006b fix missing QLabel python import 2018-01-17 04:59:06 +10:00
Nyall Dawson
64a8bda8cc Rename QgsApplication::composerTemplatePaths to layoutTemplatePaths 2018-01-17 04:58:41 +10:00
Nyall Dawson
343c070adf Fix layout designer does not respect layout settings 2018-01-17 04:58:41 +10:00
Denis Rouzaud
279785302d fix QAction constr call 2018-01-16 10:22:20 -04: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
5bdd6daf0b Add tags to buffer algorithm 2018-01-16 21:21:38 +10: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
4b9c808169 Fix possible infinite recursion in layer tree model 2018-01-16 21:00:08 +10:00
Mathieu Pellerin
6239365844
[ui] use a combobox for bool values in advanced settings tree (#6078) 2018-01-16 17:49:14 +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
3027370526 Fix build 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
bc9d739e5f Show display name, not id, for background algorithm tasks 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
a3a999e416 Drop fields in correct position in drag and drop designer
Instead of always dropping fields at the end of the container,
insert them at the dropped location. Otherwise the drop indicator
line is misleading.
2018-01-16 17:44:50 +10:00
nirvn
fa120b5309 move the iconsize setting into the qgis group, part 2 2018-01-16 13:22:29 +07:00
Nyall Dawson
fe2292c59a Fix default value 'apply on update' setting not correctly restored
Fixes #17712
2018-01-16 16:09:41 +10:00
Nyall Dawson
749468a971 Hey, this isn't pal or openoffice... comments in English please! 2018-01-16 16:09:41 +10:00
Nyall Dawson
f3f1b8eaa3 Save/restore form "editable" and "label on top" settings
Fixes #17860
2018-01-16 16:09:41 +10:00
Nyall Dawson
7998745306 Remove unused variable 2018-01-16 16:09:41 +10:00
Nyall Dawson
063c1a4941 Fix invalid connection in offline editing plugin 2018-01-16 14:29:51 +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
d426a8db84 Fix layers cannot be individually deselected in offline editing plugin
Fixes #16163
2018-01-16 14:08:59 +10:00
Nyall Dawson
30fe9917ce Sipify 2018-01-16 13:57:14 +10:00
Nyall Dawson
6c57654d2c Indentation 2018-01-16 13:57:14 +10:00
Nyall Dawson
38062ec649 Add test for indexed memory provider thread safety
Refs #17705
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
nirvn
c2e0775287 place the iconsize setting inside the qgis group 2018-01-16 10:43:18 +07: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
Harrissou Sant-anna
34147af6ed Use a clearer variable name for settings 2018-01-16 10:29:36 +10:00
Harrissou Sant-anna
c875840f60 Add qgsfilewidget to dxf export dialog 2018-01-16 10:29:36 +10:00
Harrissou Sant-anna
10ee75b21b Auto restore dialog geometry + fix help include 2018-01-16 10:29:36 +10:00
Harrissou Sant-anna
fe319afcfa [ui] Update spacing in the scale widget
for consistency with other widgets
2018-01-16 10:29:36 +10:00
Harrissou Sant-anna
80a8efde32 Move map theme combobox near list of layers
Because the map theme option may impact checked layers in the list, better have them close.
2018-01-16 10:29:36 +10: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