Nyall Dawson
2a75ad8e96
More work on layout multiframe undo/redo
2017-11-24 10:24:36 +10:00
Nyall Dawson
c4c0c83ca5
Restore api for handling layout item page numbers
2017-11-24 10:24:35 +10:00
Nyall Dawson
27c3eb92c2
More command compression for legend items
2017-11-07 11:32:39 +10:00
Nyall Dawson
d3430e4d42
Port legend item
2017-11-07 11:32:39 +10:00
Nyall Dawson
585a8b70ba
Restore ui for configuring labels
2017-11-07 11:32:39 +10:00
Nyall Dawson
e539022358
Restore serialization of picture items
2017-11-07 11:32:39 +10:00
Nyall Dawson
1bfed13484
Port picture item
2017-11-07 11:32:39 +10:00
Nyall Dawson
b7e352613e
Use symbol buttons for grid symbols
2017-11-07 11:32:39 +10:00
Nyall Dawson
ab4606db25
Start work on porting grid ui
2017-11-07 11:32:38 +10:00
Nyall Dawson
aa2b73d425
Use symbol button for overview frame symbol
2017-11-07 11:32:38 +10:00
Nyall Dawson
5d5c858dc8
Start restoring grids/overviews
2017-11-07 11:32:38 +10:00
Nyall Dawson
7f0142c86a
Working move item content tool
2017-11-07 11:32:38 +10:00
Nyall Dawson
7924aa1990
Fix regeneration of cached maps when zoom level changes
2017-11-07 11:32:38 +10:00
Nyall Dawson
753f6f5050
Start hooking up map widget gui
2017-11-07 11:32:38 +10:00
Nyall Dawson
23d0617bac
Start porting map item
2017-11-07 11:32:38 +10:00
Nyall Dawson
938b239277
Port more node tool actions
2017-11-07 11:32:38 +10:00
Nyall Dawson
783636dfa7
Port polygon and polyline items to layouts
2017-11-07 11:32:38 +10:00
Nyall Dawson
2ec31d84d3
Add configuration widget for shapes
2017-11-07 11:32:38 +10:00
Nyall Dawson
7674bd746b
Cleanup item xml read/write, save shape properties
2017-11-07 11:32:38 +10:00
Nyall Dawson
edecc37c9f
Start work on exporter for layouts
2017-11-07 11:32:38 +10:00
Nyall Dawson
9630a39190
[layouts] Nicer detection of rendering in a view
...
In compositions, a flag must be explicitly set to indicate
whether the render occuring is for "previews" (i.e.
rendering in a graphics view) or outputs (i.e. rendering
to a image/pdf/other destination device)
This isn't nice api.
So we avoid this by checking the paint device type when
an item is being rendered.
2017-11-07 11:32:38 +10:00
Nyall Dawson
625eef80eb
Fix resizing with mouse handles acts strangely when items have frames
2017-11-07 11:32:38 +10:00
Nyall Dawson
8629225a41
Work on functional rotation for items
2017-11-07 11:32:38 +10:00
Nyall Dawson
3678f01e54
Port item opacity handling from composer
2017-11-07 11:32:38 +10:00
Nyall Dawson
75898d8e09
Port 'exclude from exports' functionality from composer
2017-11-07 11:32:38 +10:00
Nyall Dawson
4e8878dcb3
Port item blend mode support to layouts
2017-11-07 11:32:38 +10:00
Nyall Dawson
ab4e6c11ed
Fix resizing items with non-top-left reference point using mouse handles
2017-11-07 11:32:37 +10:00
Nyall Dawson
1c735d59ee
Handle position and size with units and ratio lock in item properties
2017-11-07 11:32:37 +10:00
Nyall Dawson
b2414d8d8d
Start porting item properties widget
2017-11-07 11:32:37 +10:00
Nyall Dawson
e17b32c6e2
Fix moving/resizing grouped items
2017-10-09 19:23:46 +10:00
Nyall Dawson
5aa9a1556f
Start porting group handling from composer
2017-10-09 19:23:46 +10:00
Denis Rouzaud
6e14854f90
[sipify] remove redundant private sections
2017-10-09 09:51:40 +02:00
Nyall Dawson
0c858d27d6
Port display name handling from composer
2017-10-06 18:43:10 +10:00
Nyall Dawson
aa7beaad6a
Port keyboard nudge of items from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
bb2e1efdb8
Create undo/redo commands when changing item visibility
2017-10-06 17:48:25 +10:00
Nyall Dawson
683a8694e4
Correctly report selected status to items model
2017-10-06 17:48:25 +10:00
Nyall Dawson
62a5679230
Port item model from composer to layouts
2017-10-06 17:48:25 +10:00
Nyall Dawson
7d072beee7
Add signals for size and rotation changes
2017-10-06 17:48:24 +10:00
Nyall Dawson
51efa19f75
Port item frame related code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
0b188295bc
Port item selection and lock related code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
4e61ea892a
Port frame and background handling to layout items
...
And add support for frame widths with units
2017-10-06 17:48:24 +10:00
Nyall Dawson
62dcd0dad5
Start work on undo/redo support for layouts
2017-09-05 09:39:22 +10:00
Nyall Dawson
d0dfec72cb
Add actions to switch grid display/snapping on/off
2017-08-07 19:34:28 +10:00
Nyall Dawson
79a4694177
Add support for adding/removing pages to a collection
2017-07-25 12:54:57 +10:00
Nyall Dawson
3cf06db467
Port item id and uuid code
2017-07-25 12:54:57 +10:00
Nyall Dawson
a515e953b8
Add support for reading/writing item properties to XML
2017-07-25 12:54:57 +10:00
Nyall Dawson
436710a177
Ensure that item painter is correctly scaled so that painter units are pixels
2017-07-18 12:42:06 +10:00
Nyall Dawson
56bb65709d
Change QgsLayoutItem::draw to use a renderContext instead of
...
direct QPainter argument
This will make use of other rendering code within layout items
much easier - since symbology/text renderer/diagrams/etc all
require QgsRenderContexts for use, it makes sense for
layout item rendering to also use this approach.
This also avoids lots of duplicate code which was scattered
throughout different composer item types to manually handle
creation of QgsRenderContexts when required.
2017-07-18 12:42:06 +10:00
Nyall Dawson
00405fd6b5
Start porting item rotation
2017-07-18 12:42:06 +10:00
Nyall Dawson
6fd06983a6
Port data defined item position and size
2017-07-18 12:42:06 +10:00