177 Commits

Author SHA1 Message Date
Nyall Dawson
2b04c813ba Fix some Coverity null pointer dereference warnings 2018-04-03 16:35:32 +10:00
Nyall Dawson
ff2ee0bc6f Use QgsTemporaryCursorOverride in layout designer 2018-04-02 10:23:54 +10:00
Nyall Dawson
a600b51bad [FEATURE][layouts] Export project metadata as SVG RDF metadata
Adds an option to include project metadata into SVG exports
generated from layouts, using the SVG RDF standard.

Developed for Arpa Piemonte (Dipartimento Tematico Geologia e Dissesto)
within ERIKUS project
2018-03-22 16:13:30 +11:00
Nyall Dawson
a30403dcbe Rename QgsProject::projectDirty to isDirtyChanged
Also show unsaved status in title bar even when project has
not been first saved
2018-03-06 11:57:51 +10:00
Nyall Dawson
d73c7758a1 Also update layout designer title bar to reflect unsaved changes
indicator
2018-03-06 12:06:27 +11:00
Nyall Dawson
08b75ec0f5 [layouts][needs-docs] Replace layout and report icons
The previous layout icon (a blank page) was too difficult to
distinguish from actions relating to pages themselves.

Also fix incorrect tooltips in report designer
2018-02-23 16:20:51 +11:00
Nyall Dawson
5f66494446 [needs-docs] Remove " Panel" suffixes from panel titles
This extra text adds a lot of visual clutter to the interface,
and makes tabbed dock's tab bars take up a lot of room.

Instead only show the "panel" suffix in the menus.
2018-02-23 12:03:28 +11:00
nirvn
699567173f [layouts] hide atlas/report items in the window right-click menu 2018-02-19 17:34:51 +07:00
nirvn
8fd35c3a31 [layouts] add missing items in the toolbars sub-menu 2018-02-19 17:34:51 +07:00
nirvn
2f70dd0a42 [layouts] sort panels and toolbars sub-menus 2018-02-19 17:34:51 +07:00
nirvn
007009f9b8 [layouts] improve right-click popup menu
- as with the main window, show bold titles
- sort toolbars and panels alphabetically
2018-02-19 17:34:51 +07:00
Webmaster
c5b6f576ec [needs-docs][layout] rename command history to undo history 2018-02-18 19:00:04 +07:00
Webmaster
24cbbcfa04 [layout] use nicer default state and geometry 2018-02-18 19:00:04 +07:00
Juergen E. Fischer
c3573b1636 more translation string fixes and updates 2018-02-17 11:33:36 +01:00
Harrissou Sant-anna
576030b0fe
Revert arg simplification attempt 2018-02-13 07:38:38 +01:00
Harrissou Sant-anna
e6a57437e5 Fix message boxes titles 2018-02-13 06:35:04 +01:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Nyall Dawson
574020f974 Fix clazy unused lambda capture warnings 2018-02-02 19:52:01 +11:00
Salvatore Larosa
006ac70dee fix build on macos 2018-01-29 07:36:05 +01:00
Nyall Dawson
8db10ef71c Attempt to fix #17784, shortcuts in layouts are applied
in child widgets on OSX
2018-01-29 16:35:47 +11:00
Nyall Dawson
cc9f7af0bf [layouts] Don't force open item properties when undoing/redoing 2018-01-29 11:12:33 +10:00
Nyall Dawson
4096896d3b Tweak some report designer strings 2018-01-23 14:21:00 +10:00
Nyall Dawson
5804745326 Port more tests to layouts, drop more QgsCompositions use 2018-01-18 09:21:45 +10:00
nirvn
f274456fce use native separators for message bar hyperlinks 2018-01-17 12:44:17 +07:00
Nyall Dawson
343c070adf Fix layout designer does not respect layout settings 2018-01-17 04:58:41 +10:00
nirvn
fa120b5309 move the iconsize setting into the qgis group, part 2 2018-01-16 13:22:29 +07:00
Mathieu Pellerin
d6b2749e3b
[layouts] fix layout designer restore window state / geometry 2018-01-10 17:17:37 +07: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
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
015e754418 Show a label in layout designer for report sections 2018-01-05 17:43:23 +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
37f5a3d5d1 Make some actions apply to reports when a report designer is open 2018-01-05 13:08:00 +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
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
17292c12e9 Fix progress bar with report export 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
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