Alessandro Pasotti
dd60fcd4fc
[bugfix] Add failing test for OGR setSubsetString
...
Fails to revert to rw after a subset string is set and cleared
2018-01-05 11:06:40 +01:00
Nyall Dawson
015e754418
Show a label in layout designer for report sections
2018-01-05 17:43:23 +10:00
Nyall Dawson
421ef88de0
Merge pull request #5966 from nyalldawson/layout_next
...
[layouts] Atlas and reporting framework
2018-01-05 15:29:28 +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
e3daac407b
Rename some test methods
2018-01-05 13:19:26 +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
Denis Rouzaud
42976df82e
do not override QDateTimeEdit::dateTimeChanged
...
see de03186745 (diff-f135574df9edcdda660e1bc4320a053e)
2018-01-04 21:40:55 -04:00
Denis Rouzaud
2528639320
doxymentattion
2018-01-04 21:40:45 -04:00
Nyall Dawson
63cc1246df
Merge pull request #5986 from nyalldawson/geometry_equals
...
Refine geometry equals checks
2018-01-05 11:26:58 +10:00
Nyall Dawson
ce161e0e7d
Fix failing unit test
2018-01-05 11:15:04 +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
5d64f3cd22
Fix missing feature contexts for report section header/footers
...
and expand unit tests
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
39ae0eef7d
Add method to seek atlas directly to a QgsFeature
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
f7759b20e1
Fix crash on close project with layout designer open
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
3332118ec7
Add test mask
2018-01-05 11:15:04 +10:00
Nyall Dawson
ea4f61f024
Dox and spelling
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
6db24327f2
Fix project retrieval for QgsReport
2018-01-05 11:15:04 +10:00
Nyall Dawson
f4a99b65bb
Add a row method to QgsAbstractReportSection
2018-01-05 11:15:04 +10:00
Nyall Dawson
b862db06f0
Fix clashing inherited methods
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
56332b33c4
Fix multiple empty layouts created when reloading project
...
In related news... I find it frustrating that there's no
way in Qt to restrict elementsByTagName to direct descendants
only, and that all other available API calls for searching
only direct descendants are much more fiddly...
2018-01-05 11:15:04 +10:00
Nyall Dawson
dcf364ffcd
Protect layout view against null layouts
2018-01-05 11:15:04 +10:00
Nyall Dawson
aef0432fdc
Implement sort order customisation for field groups
2018-01-05 11:15:04 +10:00