256 Commits

Author SHA1 Message Date
Nyall Dawson
2b8143a206 Fix a TODO, restore correct variable handling for layouts 2018-01-08 17:55:37 +10:00
Nyall Dawson
3edab4feef Swap composers menu to show layouts instead 2018-01-08 09:45:15 +10:00
Nyall Dawson
f287d40a87 Remove all interface methods and UI for creating new composers 2018-01-08 09:45:15 +10:00
Juergen E. Fischer
3f414e2999 translation string fix 2018-01-07 18:21:23 +01:00
Nyall Dawson
53b67069cc Standardise some layout api method naming/behavior 2018-01-07 16:07:05 +10:00
Nyall Dawson
89884e8a0c Fix default filename for atlas pdf outputs 2018-01-06 10:56:16 +10:00
Nyall Dawson
e9100cd9f2 Show section label for atlas preview too 2018-01-06 10:52:47 +10:00
Nyall Dawson
1ef87a401d Tweak section descriptions 2018-01-06 10:32:12 +10:00
Nyall Dawson
015e754418 Show a label in layout designer for report sections 2018-01-05 17:43:23 +10:00
Nyall Dawson
bf6c95d575 Add icons for report section types, and show pencil 'editing'
icon in report organizer for section currently being edited in
the designer

This should help indicate to users which section is currently being
edited and give more visual hints as to exactly what's happening
in the ui.
2018-01-05 13:52:22 +10:00
Nyall Dawson
d9fe0d4407 Show section name in layout designer title
To make it clearer which section is currently being edited
2018-01-05 13:35:15 +10:00
Nyall Dawson
612969c230 Use correct QgsSettings keys for layouts 2018-01-05 13:26:36 +10:00
Nyall Dawson
a01d8daf8f Fix atlas actions not immediately available for map items
when toggling atlas enabled
2018-01-05 13:17:27 +10:00
Nyall Dawson
37f5a3d5d1 Make some actions apply to reports when a report designer is open 2018-01-05 13:08:00 +10:00
Nyall Dawson
3ac214170f Auto generated names for reports are 'Report #' 2018-01-05 12:51:52 +10:00
Nyall Dawson
b184c5e102 Explicitly disable remove button if no child report section is selected 2018-01-05 12:40:26 +10:00
Nyall Dawson
01ce9bccc4 Fix crash on report designer close 2018-01-05 12:36:38 +10:00
Nyall Dawson
3db9c01021 If no section is selected, add new sections to report itself 2018-01-05 12:36:30 +10:00
Nyall Dawson
c3f07f62df Don't tabify report settings with item properties 2018-01-05 12:24:32 +10:00
Nyall Dawson
4e6a072e49 Make report/atlas settings actions checkable, so they can also hide the panels 2018-01-05 12:20:55 +10:00
Nyall Dawson
a4f854e2c1 Ensure report dock is visible when opening a report designer 2018-01-05 12:12:33 +10:00
Nyall Dawson
eae4eeb8f5 Use correct layout type (report/print layout) in new title dialog 2018-01-05 11:52:57 +10:00
Nyall Dawson
51a7efbe4b Nicer ui widgets for sections, add missing control for
disabling body sections
2018-01-05 11:15:04 +10:00
Nyall Dawson
d2c880af50 Use 'report' text instead of 'atlas' when inside a report designer 2018-01-05 11:15:04 +10:00
Nyall Dawson
4e45639c45 Restore direct print actions 2018-01-05 11:15:04 +10:00
Nyall Dawson
a730eb7a95 Swap 'set atlas feature' action from compositions to layouts
Time to start making a permenant switch...
2018-01-05 11:15:04 +10:00
Nyall Dawson
7450c78606 Add new icon for atlas exports (courtesy of @nirvn) 2018-01-05 11:15:04 +10:00
Nyall Dawson
2281dc0dcb Ensure main canvas is refreshed when atlas preview feature changes 2018-01-05 11:15:04 +10:00
Nyall Dawson
43aff9b2e3 Auto select new report sections after adding them 2018-01-05 11:15:04 +10:00
Nyall Dawson
69a225ade3 Fix missing Report top level item in organizer widget 2018-01-05 11:15:04 +10:00
Nyall Dawson
57cac0100b Expand report sections by default 2018-01-05 11:15:04 +10:00
Nyall Dawson
17292c12e9 Fix progress bar with report export 2018-01-05 11:15:04 +10:00
Nyall Dawson
8eb6aa9281 More UI work on reports 2018-01-05 11:15:04 +10:00
Nyall Dawson
fc9a45105c Add buttons for exporting reports 2018-01-05 11:15:04 +10:00
Nyall Dawson
c9ddc9fda0 Start on ui for configuring reports 2018-01-05 11:15:04 +10:00
Nyall Dawson
3e12ec9dcb Sort layouts in layout manager 2018-01-05 11:15:04 +10:00
Nyall Dawson
19b058103b Add crappy inappropriate icons for layout types 2018-01-05 11:15:04 +10:00
Nyall Dawson
66028bcf05 Cleaner way to hide atlas controls when not using a print layout 2018-01-05 11:15:04 +10:00
Nyall Dawson
f4bb247c74 Disable layout designer actions when no layout is set 2018-01-05 11:15:04 +10:00
Nyall Dawson
78f2174cfe Add button in layout manager dialog to create a new report 2018-01-05 11:15:04 +10:00
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
327d311e21 Fix broken atlas handling of z/m layer types 2018-01-05 11:15:03 +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
69ddc32d0f Restore atlas map handling 2018-01-05 11:15:03 +10:00