44879 Commits

Author SHA1 Message Date
Mathieu Pellerin
1e3526ea4f
[layouts] fix overview map combobox filter 2017-12-22 14:41:57 +07:00
Alessandro Pasotti
22098a4905
Merge pull request #5935 from elpaso/bugfix-17728-source-select-buttons
Use standard buttons for unified add layer dialog
2017-12-22 08:12:27 +01:00
Alessandro Pasotti
02152ac8f3
Merge pull request #5936 from elpaso/bugfix-17724-virtuallayer-crash
[bugfix] Fix crash in virtual layers dlg when adding
2017-12-22 08:12:04 +01:00
Mathieu Pellerin
224dcd0f0b
[layouts] improve lock item(s) / unlock all toolbar icons (#5929) 2017-12-22 07:59:38 +07:00
Nyall Dawson
e02ff050ad Fix some issues with to_interval expression function
- incorrect regex for handling values with decimal point
- fix overflow with large intervals
2017-12-22 04:41:04 +11:00
Alessandro Pasotti
385d0ef94b [bugfix] Fix crash in virtual layers dlg when adding
Fixes #17724 Crash on clicking ADD in Virtual Layer
dialogue without defining a layer

A proper implementation should handle the Add button
state when a virtual layer definition is available.
2017-12-21 18:19:07 +01:00
Trashmonk
d908518c49 Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
82df4de88a Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
4fbea38439 Added transparency to areas with no vector data.
Originally the background colour defaulted to white with no transparency for areas without vector data. I have added an alpha channel to the geotiff and set it zero (full transparency) for areas with no vector data. This could be optional, in case the user wants a solid background.
2017-12-21 17:55:02 +01:00
Alessandro Pasotti
9fe87297e7
Merge pull request #5934 from elpaso/bookmarks-tiny-fixes
[bookmarks] Case insensitive sorting
2017-12-21 17:23:49 +01:00
Alessandro Pasotti
8fb147f802 Use standard buttons for unified add layer dialog
Fixes #17728 by setting the standard buttons in the
button box instead of manually adding them by code.

This way the buttons should honor the platform-specific
position and look&feel.
2017-12-21 17:21:50 +01:00
Alessandro Pasotti
15ffcb4345 [bookmarks] Case insensitive sorting
Fixes #17005
2017-12-21 16:45:29 +01:00
Matthias Kuhn
5daf33a578
Merge pull request #5931 from signedav/fieldtypeprop
Make QgsField::type a Q_PROPERTY
2017-12-21 12:19:47 +01:00
Martin Dobias
2f19d62997 [3d] Respect no-data values from DEMs in terrain generator (fixes #17558) 2017-12-21 11:22:56 +01:00
David
dc51dbf88e Q_PROPERTY of QVariant::Type to use exernally 2017-12-21 10:27:40 +01:00
Mathieu Pellerin
1ddcac501c
[3d] missing piece of the jigsaw: save 3d canvas as image (#5927) 2017-12-21 16:16:20 +07:00
Mathieu Pellerin
909a0fc21c
Merge pull request #5921 from nirvn/layout_item_icon 2017-12-21 11:08:50 +07:00
nirvn
3dc5211715 [layouts] use gray icons for the items panel 2017-12-21 10:33:24 +07:00
nirvn
0a40a81151 [layouts] add icons for items and use those in the items panel 2017-12-21 10:33:24 +07:00
Nyall Dawson
b25681cc43 [needs-docs][processing] Double clicking a history entry shows
the algorithm dialog instead of immediately executing same alg

This allows users to edit the parameters before re-running,
which is a more common user-operation (e.g. changing the
input layer, changing a parameter value "oops, that buffer
was a bit too big....").

If someone wants to exactly re-run the algorithm without changes
it's only one extra click anyway...
2017-12-21 11:01:56 +10:00
Nyall Dawson
5f7aa45aab [needs-docs][processing] Add methods to show algorithm dialog
Adds processing.createAlgorithmDialog and
processing.execAlgorithmDialog. These methods can be used
to create and execute algorithm dialogs for a specified algorithm,
optionally pre-populated with a given set of (non-default) parameter
values.
2017-12-21 11:01:49 +10:00
Nyall Dawson
54910fc3ce Fix algorithm dialog window geometry save/restore 2017-12-21 10:43:49 +10:00
Nyall Dawson
ce28cf5087 Save algorithm results to dialog 2017-12-21 10:38:38 +10:00
Nyall Dawson
edcd058e32 [processing] Add a setParameters method to AlgorithmDialog
Allows pre-populating the dialog with non-default parameter
values.
2017-12-21 10:22:19 +10:00
Nyall Dawson
595b9812ce [processing] Implement a todo (set layer param's wrapper values) 2017-12-21 10:04:54 +10:00
Nyall Dawson
1f6d1a6eb0 Fix ui build warning 2017-12-21 08:52:24 +10:00
Borys Jurgiel
8c62a7cac2
Merge pull request #5916 from borysiasty/no_colon
[Plugin installer] Remove trailing colon if it's a very end of the message
2017-12-20 20:21:02 +01:00
Alexander Bruy
45859beec4
Merge pull request #5923 from borysiasty/processing_groups
[processing] Fix group id of GDAL algorithms.
2017-12-20 15:06:46 +02:00
Matthias Kuhn
f5a650f978
Followup 9a5435f: Fix sip files 2017-12-20 12:10:33 +01:00
Borys Jurgiel
ecb9611b00 Fix group id of GDAL algorithms. Follows up 53bc147dca00 2017-12-20 12:07:32 +01:00
Etienne Trimaille
bf45d0b618 Crs (#5908)
* fix display of CRS if invalid CRS

* fix #17455 set an empty CRS if the read CRS from XML is wrong

* add warning about empty CRS node when reading XML
2017-12-20 10:46:00 +02:00
Etienne Trimaille
9a5435ff1e remove CRS picker and allow only layer CRS or provider CRS in metadata editor (#5915) 2017-12-20 10:35:49 +02:00
Nyall Dawson
3c7f745424
Merge pull request #5919 from nyalldawson/iter_datum
Use transform context in feature requests with destination crs set
2017-12-20 19:02:11 +11:00
Nyall Dawson
4643712a1e Fix missing transform contexts for QgsDistanceArea
QgsDistanceArea.setSourceCrs() now requires a QgsTransformContext
argument.
2017-12-20 17:37:46 +10:00
Mathieu Pellerin
bf8570920f
Use qgsfilewidget for the delimited text prodivder source select (#5920) 2017-12-20 12:43:30 +07:00
Nyall Dawson
6528f1c307 Require a transform context when setting the destination crs for
a feature request

Forces correct datum handling for these requests, and removes
a few more uses of the deprecated/datum unaware transforms.
2017-12-20 12:32:20 +10:00
Nyall Dawson
b24a1bf10d Add transform context to processing context 2017-12-20 12:21:14 +10:00
Denis Rouzaud
8a5d53325c [doxygen] add test to ensure code snippet use \code command 2017-12-19 21:19:45 -04:00
Denis Rouzaud
5dc9b5869a fix empty lines with spaces 2017-12-19 21:17:29 -04:00
Denis Rouzaud
bdfd345034 fix code descriptor 2017-12-19 21:17:29 -04:00
Denis Rouzaud
45315bbfd6 add cpp to code type 2017-12-19 21:17:29 -04:00
Denis Rouzaud
7b0ad1b6d5 fix code snippet and do not display cpp code in sip files 2017-12-19 21:17:29 -04:00
Denis Rouzaud
64c99e054c run sipify for code snippets 2017-12-19 21:17:29 -04:00
Denis Rouzaud
d042304cc3 [sipify] habndle python code snippets 2017-12-19 21:17:29 -04:00
Denis Rouzaud
90e5196996 run sipify 2017-12-19 14:55:46 -04:00
Denis Rouzaud
36a05a3a0d do not create link for current class 2017-12-19 14:55:46 -04:00
Denis Rouzaud
db8a7c613b [sipify] also create links in docstrings 2017-12-19 14:55:46 -04:00
Sandro Santilli
336995dc30
Allow age expression to represent time intervals above 130 years (#5914)
Uses a 64bit integer instead of 32bit one for seconds,
meaning about 584 billions of years rather than 136...

Closes #17681

Includes test
2017-12-19 19:11:13 +01:00
Borys Jurgiel
97018cf2e6 [Plugin installer] Remove trailing colon if it's a very end of the message. 2017-12-19 18:24:17 +01:00
Mathieu Pellerin
cefae89a8e
[layouts] avoid adding too much bleeding pixels for page items (#5910) 2017-12-19 20:26:54 +07:00