Nyall Dawson
f5126b0abd
New class QgsLayoutGuideCollection for storing sets of layout snap guides
...
The class is a QAbstractListModel subclass, making it easy
for creation of different views showing the guides in a layout.
Additionally, a QSortFilterProxyModel (QgsLayoutGuideProxyModel)
has been created to filter QgsLayoutGuideCollection to guides
with matching page numbers and orientations.
2017-08-07 19:34:28 +10:00
Nyall Dawson
db36440cfc
Start on classes for snapping guide items
2017-08-07 19:34:28 +10:00
Nyall Dawson
3dbc1a0c2a
Refine z order for some new items
2017-08-07 19:34:28 +10:00
Nyall Dawson
0d0a3c2cdc
Code refactor - split grid appearance settings into their own class
2017-08-07 19:34:28 +10:00
Nyall Dawson
361dd312bc
Start on layout snapper
2017-08-07 19:34:28 +10:00
Nyall Dawson
b42c055e97
Restore drawing of page grids
2017-08-07 19:34:28 +10:00
Nyall Dawson
39bf23a5d5
Start on reflow support for page collections (needs tests)
2017-07-25 12:54:57 +10:00
Nyall Dawson
ea32391280
Add methods for handling page size to QgsLayoutItemPage
2017-07-25 12:54:57 +10:00
Nyall Dawson
9df4a67d6d
Add a page collection to layouts, and start porting composer page items
2017-07-25 12:54:57 +10:00
Nyall Dawson
c282024748
Partially port some layout utils for render context creation
2017-07-18 12:42:06 +10:00
Nyall Dawson
dd370373be
Port a bunch of low-level methods to layouts
...
Relating to expression contexts and variables
2017-07-18 12:42:06 +10:00
Nyall Dawson
a6156d9221
Layouts have a name
2017-07-18 12:42:05 +10:00
Nyall Dawson
ab79b1560c
[layout] Add measurement unit handling to QgsLayout
...
Allows layouts to convert from various units to their
own native units
Also added a QgsLayoutContext to QgsLayout.
2017-07-18 12:42:05 +10:00
Nyall Dawson
4ebea75e6a
Subclass QMouseEvent to QgsLayoutViewMouseEvent
...
For easy access to mouse event coordinates in layout coordinate
space (and future use with snapped item coordinates)
2017-07-11 11:06:35 +10:00
Nyall Dawson
18b2b5240b
Add some base classes for layouts
2017-06-30 17:01:52 +10:00