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
Nyall Dawson
3f0a0cb063
Ensure that moving/resizing items respects reference point
2017-07-18 12:42:06 +10:00
Nyall Dawson
d0c844ed67
Implement item size and positioning using layout units
2017-07-18 12:42:06 +10:00
Nyall Dawson
ada01d8671
Fix build warnings
2017-07-03 15:00:00 +10:00
Nyall Dawson
7972092311
Update docs, sip
2017-07-03 14:21:40 +10:00
Nyall Dawson
4f21afac0f
Shell layout designer dialog
2017-07-03 12:14:56 +10:00
Nyall Dawson
18b2b5240b
Add some base classes for layouts
2017-06-30 17:01:52 +10:00