Nyall Dawson
f3124f0d82
Fix storing/reading multiframe items (TODO fix undo/redo support)
2018-01-08 05:51:29 +10:00
Nyall Dawson
c496b3bcca
Forward declare some classes
2017-12-17 14:14:31 +10:00
Nyall Dawson
ef9e013a5a
Fix crashes when rapidly deleting/undeleting objects
...
Also fix some leaks
2017-12-07 08:49:41 +10:00
Nyall Dawson
acb956a5e7
Deduplicate code relating to shifting item positions in layout units
2017-12-07 08:49:41 +10:00
Nyall Dawson
b74a0efa34
Work on layout and layout item serialization and restoration
2017-12-07 08:49:33 +10:00
Nyall Dawson
f04d438572
Some undo/redo fixes for multiframe items
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
7674bd746b
Cleanup item xml read/write, save shape properties
2017-11-07 11:32:38 +10:00
Nyall Dawson
26dcf792b0
Fix tests
2017-11-07 11:32:38 +10:00
Nyall Dawson
8ca6d3e717
Refactor layout item gui registry to allow metadata for duplicate item types
...
This allows registration of item creation actions which create
items with an existing item type, but custom creation functions.
E.g. allowing actions for creation of ellipse/triangles/etc
from a single layout item type.
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
75898d8e09
Port 'exclude from exports' functionality from composer
2017-11-07 11:32:38 +10:00
Nyall Dawson
06650808b5
Fix resize of grouped items with non-top left reference points
2017-11-07 11:32:37 +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
b2414d8d8d
Start porting item properties widget
2017-11-07 11:32:37 +10:00
Nyall Dawson
24a9c522e3
Move qgsAsConst to qgis::as_const
...
So it's more inline with the std::as_const implementation which
it fills in for, and allows us to 'polyfill' other c++>11
features into the qgis:: namespace.
2017-10-13 19:47:37 +10:00
Nyall Dawson
a376a3997d
Better consistency for undo command text in layouts
2017-10-10 10:31:27 +10:00
Nyall Dawson
fdc0f75066
Fix redoing group visibility creates multiple new undo commands
2017-10-10 09:37:29 +10:00
Nyall Dawson
02acbb4184
Fix undo/redo for groups
2017-10-09 19:23:46 +10:00
Nyall Dawson
e17b32c6e2
Fix moving/resizing grouped items
2017-10-09 19:23:46 +10:00
Nyall Dawson
606ad21a51
Port group actions from composer
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