Nyall Dawson
6f2c63f3e5
Add a common base class for print layouts and reports, and adapt
...
QgsLayoutManager to suit
2018-01-05 11:15:04 +10:00
Nyall Dawson
767075a3d4
Hookup filename generation for reports
2018-01-05 11:15:04 +10:00
Nyall Dawson
5bc543af6a
Refactor layout context
...
Split render context from reporting context
2018-01-05 11:15:04 +10:00
Nyall Dawson
7d8953f1da
Restore atlas multiple pdf exports
2018-01-05 11:15:03 +10:00
Nyall Dawson
427da5c081
Restore atlas single file pdf export
2018-01-05 11:15:03 +10:00
Nyall Dawson
9751c77063
Restore svg atlas export
2018-01-05 11:15:03 +10:00
Nyall Dawson
409d10f43d
Restore atlas raster format handling
2018-01-05 11:15:03 +10:00
Nyall Dawson
5a782f4880
Hookup raster atlas export in gui
2018-01-05 11:15:03 +10:00
Nyall Dawson
3ffdda3e30
Port predefined scale handling to layouts
2018-01-05 11:15:03 +10:00
Nyall Dawson
b602b3d58e
Working label updates on atlas feature change
2018-01-05 11:15:03 +10:00
Nyall Dawson
3318bfbb4d
Restore atlas based autogenerated filenames
2018-01-05 11:15:03 +10:00
Nyall Dawson
171f402ab0
Use messagebar for atlas messages instead of message box
2018-01-05 11:15:03 +10:00
Nyall Dawson
520c2aab19
More work on atlas GUI
2018-01-05 11:15:03 +10:00
Nyall Dawson
25170da03f
Start porting atlas GUI
2018-01-05 11:15:03 +10:00
Webmaster
d1dd732a9e
[layouts] use a success message bar item when exporting
2017-12-22 20:33:17 +07:00
Nyall Dawson
a44a598fa3
[layouts] Fix crash on svg warning dialog close
2017-12-19 14:57:23 +10:00
Nyall Dawson
2007792f77
Restore layered svg export option
2017-12-19 12:06:29 +10:00
Nyall Dawson
b25c48917f
[layouts] Suggest export file names based on layout name ( fix #9476 )
2017-12-19 11:02:25 +10:00
Nyall Dawson
613b1584d1
Start restoring SVG export
2017-12-19 10:38:28 +10:00
Etienne Trimaille
3fc746fbe7
fix unknown mQgis variable on macos
2017-12-18 11:55:48 +01:00
Nyall Dawson
b4829a78d4
Open folder rather than file when clicking message bar after export
2017-12-18 16:05:42 +10:00
Nyall Dawson
831732f3a3
Sipify
2017-12-17 14:18:36 +10:00
Nyall Dawson
9ab813f344
Better memory management
2017-12-17 14:14:48 +10:00
Nyall Dawson
8d1e7170d5
Add missing parents to message boxes
2017-12-17 14:14:48 +10:00
Nyall Dawson
f649f1f8a7
[layouts][needs-docs] Add control for whether pages should be
...
exported, including data defined setting
This replaces the 2.x data-defined "number of pages" setting.
Instead of requiring users to develop an expression to return
the number of pages, instead we allow individual pages to have
a data defined control of whether that page should be included
in the export.
This is more flexible, and works correctly with the mixed page
size model for layouts.
2017-12-17 14:14:48 +10:00
Nyall Dawson
3704c48bc0
Add links to open exported images in message bar
2017-12-17 14:14:48 +10:00
Nyall Dawson
ca37a1ebd7
Fix drawing of map items (grids, overviews) when rendering map item as a raster item
2017-12-17 14:14:31 +10:00
Nyall Dawson
261492ddca
Add a messagebar to layout designer
2017-12-17 14:14:31 +10:00
Nyall Dawson
b992e871ee
[layouts][FEATURE] Don't force the whole layout to be rasterized
...
when exporting to PDF
If an individual layout item needs rasterisation in order to
be exported correctly, it can now be individually rasterised
without forcing every other item to also be rasterised.
This allows exports to PDF keeping as much as possible as vectors,
e.g. a map with layer opacity won't force labels, scalebars, etc
to be rasterised too.
To accompany this, a new "Always export as vectors" checkbox
was added to layout properties. If checked, this will force
the export to keep items as vectors, even when it causes the
output to look different to layouts.
Fixes #7885
2017-12-17 14:14:31 +10:00
Nyall Dawson
91179f1396
Work on PDF export
2017-12-17 14:14:31 +10:00
Nyall Dawson
2f0969e2bd
Expose antialiasing option in image export dialog
...
Allows for creating non-antialiased images from layouts. Note that
some layout item types do not correctly respect this setting, but
at least map items do and the API is in place for them to be
fixed later.
Fixes #9281
2017-12-17 14:14:31 +10:00
Nyall Dawson
0f9aaf4c44
Expose world file option in image settings dialog
2017-12-17 14:14:31 +10:00
Nyall Dawson
953d2c437d
[layouts] Resurrect action for exporting to raster images
...
...this time, without all the useful code locked away in app!
2017-12-17 14:14:31 +10:00
Nyall Dawson
c496b3bcca
Forward declare some classes
2017-12-17 14:14:31 +10:00
Etienne Trimaille
9ace5e3ae4
add missing include for macos
2017-12-07 16:13:52 +01: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
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
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
a4dea9935f
Restore ability to save layouts to templates and add items from template
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
b03ce047db
Start restoring copy/paste functionality
2017-12-07 08:49:33 +10:00
Nyall Dawson
72a1f77079
After a undo/redo action occurs, select the affected items
2017-11-07 11:32:39 +10:00
Nyall Dawson
7f0142c86a
Working move item content tool
2017-11-07 11:32:38 +10:00