44494 Commits

Author SHA1 Message Date
Mathieu Pellerin
7e0c149b0c
Merge pull request #5818 from nirvn/filewidget_fest
Use QgsFileWidget in several dialogs
2017-12-07 16:32:28 +07:00
nirvn
de0ac14ae1 [ui] use qgsfilewidget in the save raster as dialog 2017-12-07 16:24:28 +07:00
nirvn
09e830bf08 [ui] use qgsfilewidget in the save vector as dialog 2017-12-07 16:22:58 +07:00
nirvn
38c96fe373 [ui] use qgsfilewidget in the create geopackage layer dialog 2017-12-07 16:22:58 +07:00
Alessandro Pasotti
251b2aefdf Adjust colorramp height on HiDPI screens 2017-12-07 10:15:43 +01:00
nirvn
c2acb5feec [ui] use qgsfilewidget in the create shapefile layer dialog 2017-12-07 16:00:32 +07:00
nirvn
cddca2f850 [file widget] add a save file mode to allow file creation 2017-12-07 11:26:59 +07:00
Harrissou Sant-anna
bac80aa93a [need-docs] Reorganize the new memory layer (#5804) 2017-12-07 09:41:43 +07:00
Harrissou Sant-anna
571bf54d2a [needs-docs] Refactor the New Shapefile dialog to mimic the GeoPackage sequence (#5803) 2017-12-07 09:39:12 +07:00
Nyall Dawson
a12673c51b
Merge pull request #5794 from nyalldawson/layout_next2
[layouts] Copy/paste, templates, etc
2017-12-07 10:37:07 +11:00
Matthias Kuhn
ba4346b5c5 Make deprecated QtScript library optional 2017-12-07 00:26:08 +01:00
Nyall Dawson
8e77701288 Fix warning 2017-12-07 09:08:28 +10:00
Nyall Dawson
89420fccd6 Sipify 2017-12-07 08:51:52 +10:00
Nyall Dawson
17656f23c6 Pasting items from layout context menu pastes them at menu origin
instead of final cursor position
2017-12-07 08:50:01 +10:00
Nyall Dawson
ac6c131212 Fix crash when reopening existing layouts 2017-12-07 08:50:01 +10:00
Nyall Dawson
b6dab6ff48 [needs-docs] Add "delete layout" action to layout designer menu
Fixes #10436
2017-12-07 08:50:01 +10:00
Nyall Dawson
88682b2c7d [needs-docs] Add rename layout action to layout designer dialog
Fixes #10435
2017-12-07 08:50:01 +10:00
Nyall Dawson
61c57bc20e Save and restore layouts with project 2017-12-07 08:50:01 +10:00
Nyall Dawson
e5e37fcafa [needs-docs] Use a QgsFileWidget for template file selector
Rename "Add" button to "Create"
2017-12-07 08:50:01 +10:00
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