44320 Commits

Author SHA1 Message Date
Nyall Dawson
a30dd8a153 Port composer manager dialog to layouts
Not exposed via GUI yet, but can be shown by entering

iface.showLayoutManager()

in the Python console
2017-12-07 08:50:01 +10:00
Nyall Dawson
66b4b45177 Try to fix issues with sip casting collisions between layout and
compositions
2017-12-07 08:50:01 +10:00
Nyall Dawson
d69290ea50 Indentation 2017-12-07 08:50:01 +10:00
Nyall Dawson
dbd5215e62 #ifdef out dummy test item 2017-12-07 08:50:01 +10:00
Nyall Dawson
696b21ad94 Fix layout designer window title 2017-12-07 08:50:01 +10:00
Nyall Dawson
9c4a98f029 Port a few file related actions to layouts 2017-12-07 08:50:01 +10:00
Nyall Dawson
a9896eac05 Port a bunch of QgsLayoutManager methods to use QgsLayouts 2017-12-07 08:50:01 +10:00
Nyall Dawson
3a0b751698 Port duplicate layout functionality 2017-12-07 08:49:54 +10:00
Nyall Dawson
a64a675830 [FEATURE][layouts] Support drag and drop of QPT templates onto layout windows
To add contents of template onto layout
2017-12-07 08:49:54 +10:00
Nyall Dawson
eea36c0212 Add custom drop handlers for layout windows 2017-12-07 08:49:54 +10:00
Nyall Dawson
b0dea08bbe Fix pages are incorrectly loaded from templates when adding items 2017-12-07 08:49:53 +10:00
Nyall Dawson
885f0a5602 Handle linking items when adding from templates 2017-12-07 08:49:53 +10:00
Nyall Dawson
a4dea9935f Restore ability to save layouts to templates and add items from template 2017-12-07 08:49:41 +10:00
Nyall Dawson
59b6bf62ab Add a method to clear an existing layout 2017-12-07 08:49:41 +10:00
Nyall Dawson
8feac30f07 Add method to clear page collections for layouts 2017-12-07 08:49:41 +10:00
Nyall Dawson
6a78d489c0 Restore paste in place functionality 2017-12-07 08:49:41 +10:00
Nyall Dawson
b7e338bd2d Add test for pasting items at set position 2017-12-07 08:49:41 +10:00
Nyall Dawson
d36884f199 Fix pasting items to the top or left of first page 2017-12-07 08:49:41 +10:00
Nyall Dawson
ef9e013a5a Fix crashes when rapidly deleting/undeleting objects
Also fix some leaks
2017-12-07 08:49:41 +10:00
Nyall Dawson
acb956a5e7 Deduplicate code relating to shifting item positions in layout units 2017-12-07 08:49:41 +10:00
Nyall Dawson
d2fcf11336 [layouts] Add context menu entries for "copy" and "delete" item to
items list panel right click menu

Refs #11581
2017-12-07 08:49:33 +10:00
Nyall Dawson
c3e840115b Remove outdated TODO 2017-12-07 08:49:33 +10:00
Nyall Dawson
feec186fbf [layout] Add context menu entries for cutting/copying, and pasting items
Fixes #1830
2017-12-07 08:49:33 +10:00
Nyall Dawson
b03ce047db Start restoring copy/paste functionality 2017-12-07 08:49:33 +10:00
Nyall Dawson
f60da58256 Add some unit tests 2017-12-07 08:49:33 +10:00
Nyall Dawson
b74a0efa34 Work on layout and layout item serialization and restoration 2017-12-07 08:49:33 +10:00
Nyall Dawson
ca75e8c0a5 Remove obsolete python alg, add unit tests 2017-12-07 06:28:54 +11:00
Nyall Dawson
3c4fb26d10 Add option to control CRS for merge algorithm (fixes #9652)
The default behaviour of auto selecting the first layer's CRS
can be unpredictable, especially in models
2017-12-07 06:28:54 +11:00
Nyall Dawson
cb96e1baab [processing] Fix merge vectors algorithm fails when encountering
layers with different dimensions or single/multi part types

and port algorithm to c++
2017-12-07 06:28:54 +11:00
Matthias Kuhn
cb94bcf565
Merge pull request #5814 from m-kuhn/fixMultiLayerOfflineEditing
[offline] Apply attribute changes on multiple layers
2017-12-06 18:47:44 +01:00
Matthias Kuhn
3bbda6cf68 [offline] Apply attribute changes on multiple layers
Fix #17647
2017-12-06 18:22:26 +01:00
Juergen E. Fischer
ab859c9bdf use 'close' on last tab of message log viewer to clear it 2017-12-06 15:09:58 +01:00
Denis Rouzaud
906259b2f7 [doxygen] remove useless @brief 2017-12-06 08:31:12 -04:00
Denis Rouzaud
f29306d4af [doxygen] replace @param by \param 2017-12-06 08:31:12 -04:00
Denis Rouzaud
b72c569cf3 [doxygen] replace @see by \see 2017-12-06 08:31:12 -04:00
Blottiere Paul
14e6df450a
Merge pull request #5780 from pblottiere/bugfix_reshape2
[bugfix]  Do not add binding line in both side in reshape map tool
2017-12-06 12:08:32 +00:00
Denis Rouzaud
ed5076201a [doxygen] \see must be placed after params 2017-12-06 07:19:50 -04:00
Denis Rouzaud
e48cf98edb run sipify 2017-12-06 07:19:50 -04:00
Denis Rouzaud
53a86932d4 [sipify] creates links in seealso 2017-12-06 07:19:50 -04:00
Martin Dobias
7064704868 [3d] Have 3D View tab in vector layer properties (fixes #17595)
(only when 3D support is enabled)
2017-12-06 09:31:17 +01:00
Blottiere Paul
b7fe407f55 Update tests 2017-12-06 07:56:11 +00:00
Alessandro Pasotti
8ecae4f51c [bugfix] Bookmarks fix zoom to with coordinate transform
Forward port of an unreported bug introduced
by me when I changed the display value to
EPSG:xxxx
2017-12-06 08:50:35 +01:00
Blottiere Paul
cc660b186b Add some tests 2017-12-06 07:25:12 +00:00
Blottiere Paul
c9038f48ad Update sip binding 2017-12-06 07:25:12 +00:00
Blottiere Paul
096f6895da [bugfix] Do no add binding line in both side in reshape map tool 2017-12-06 07:25:12 +00:00
Blottiere Paul
aa68a9faec
Merge pull request #5774 from pblottiere/bugfix_ref_rel_null
[bugfix] Fixes crash in QgsRelationReferenceWidget
2017-12-05 16:59:22 +00:00
Blottiere Paul
7c2732d1ad Fixes crash in QgsRelationReferenceWidget 2017-12-05 14:59:14 +00:00
Borys Jurgiel
1cd8b9481c Fix a tooltip 2017-12-05 15:04:28 +01:00
Frank Dekervel
51ec70abc0 Fix missing signal/slot connection resulting in non-woring autocompleter for value relation fields (fixes #16676).
This oneliner introduces the missing signal/slot connection, and fixes the bug.
2017-12-05 13:41:39 +01:00
Nyall Dawson
7584bf1310 Consistent capitalisation 2017-12-05 20:32:20 +10:00