45118 Commits

Author SHA1 Message Date
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
David
7d4290d924 duplicate child feature in relationwidget
beside add and delete child in the relationwidget of an attributeform, there is the new functionality duplicate feature. this duplicates the selected child feature and (if the child has a relation with the strength composition too) the grad child features.
2017-12-20 14:20:36 +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
David
95b8535ac1 New feature duplicate in MapLayerAction with redigitize and removed obsolete python action
Duplicate feature and with redigitizing - splitting of digitizefeature and addfeature - so we can use digitizefeature indebendantly
The partwise obsolete duplicate feature action in python is removed from canvas and feature scope (still in layer scope)
2017-12-20 11:18:53 +01:00
David
a7b5ffc555 changed requests 2017-12-20 11:18:53 +01:00
David
0b05030797 improved signal/slot and flexible layer handling
two signals now digitizingCompleted and digitizingFinished using deleteLater() for no conflicts
the addFeature is using the currentLayer. when the duplicatedigitized-action has a given layer it uses the given. otherwise the current. the given will be set as current and on decativation of the digitizing it's set back.
2017-12-20 11:18:53 +01:00
David
1295efc4a3 add the new icons for duplication
for duplicate feature and duplicate feature digitize there are new icons. they are added to the project now.
2017-12-20 11:18:53 +01:00
David
67abdd31ed add new svgs for duplicate and duplicate digitized feature 2017-12-20 11:17:12 +01:00
David
9799cd8394 working upload - new signals in digitizefeature
digitizingFinished -> digitizing made - feature can be duplicated now
digitizingFinalized -> and everything else done - MapTool can be deactivated
digitizingAborted -> it's deactivated (because of cancel or everything done does not matter) - object can be deleted
2017-12-20 11:17:12 +01:00
David
7b199ed4a9 initialize map tool in function 2017-12-20 11:17:12 +01:00
David
3b3d3048e3 redigitize on feature duplication
there are two actions duplication and duplication redigitize. in redigitize you can set a new geometry for the duplication.
2017-12-20 11:17:12 +01:00
David
e1b6daa474 action mapping for duplicate feature 2017-12-20 11:05:04 +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
Mathieu Pellerin
70d61fd6f6
[3d] attach transform context in QgsTerrainTextureGenerator (#5911) 2017-12-19 17:33:29 +07:00
Sandro Santilli
5308b265db Fix typo in documentation (missing quote) 2017-12-19 10:39:31 +01:00
Nyall Dawson
a44a598fa3 [layouts] Fix crash on svg warning dialog close 2017-12-19 14:57:23 +10:00
Nyall Dawson
ef1bdd30f1
Merge pull request #5909 from nyalldawson/layout_next
Layout SVG exports
2017-12-19 15:29:50 +11:00
Nyall Dawson
4054a2bb9a Fix ui weirdness when editing guide positions via widget 2017-12-19 13:39:58 +10:00
Nyall Dawson
e9c0d29ff1 Fix repositioning guides on pages > 1 2017-12-19 13:26:32 +10:00
Nyall Dawson
b594ecd7c5 Fix missing page shadows 2017-12-19 13:03:10 +10:00
Nyall Dawson
54acc80d14 Indentation 2017-12-19 13:00:49 +10:00
Denis Rouzaud
41baaad0b8 fix after rebase 2017-12-18 22:24:49 -04:00
Denis Rouzaud
3978626310 allow to have single dest/source transform in dialog 2017-12-18 22:24:49 -04:00
Denis Rouzaud
52f6701d16 give more room to proj selection widget 2017-12-18 22:24:49 -04:00
Denis Rouzaud
d4a20c0a68 use table widget instead of tree for better column display 2017-12-18 22:24:49 -04:00
Denis Rouzaud
b1eb838fe6 fix datum transform dialog shown when option is disabled 2017-12-18 22:24:49 -04:00