Nyall Dawson
a1128a52a4
Hide guides from layout exports
2017-12-18 16:45:10 +10:00
Denis Rouzaud
c604d2dda6
run sipify
2017-12-15 22:13:44 -04:00
Denis Rouzaud
f2b3ed0a9b
run sipify
2017-12-15 11:12:19 -04:00
Denis Rouzaud
e48cf98edb
run sipify
2017-12-06 07:19:50 -04:00
Nyall Dawson
de9653044a
Remove redundant custom enum (use Qt version instead)
2017-10-06 17:48:25 +10:00
Nyall Dawson
1589b4e648
Implement some saving/restoring layout items to XML
2017-09-05 09:39:22 +10:00
Nyall Dawson
3fd2e0921d
Fix ownership issue with layout guides
2017-08-07 22:31:44 +10:00
Nyall Dawson
9267f8676c
Readd menu option to show/hide guides
2017-08-07 19:34:28 +10:00
Nyall Dawson
98ff702491
[FEATURE] Add a button in guide manager to apply current page's guides
...
to all other pages
This allows resetting all other pages to use the guide configuration
for the current page. Since guides are now single page only (required
to handle mixed page size/orientation layouts), this is a shortcut
to allow guide configuration to be setup on a single page and then
easily transferred to all other pages in the layout.
2017-08-07 19:34:28 +10:00
Nyall Dawson
df3bcddab7
Hook up clearing guides
2017-08-07 19:34:28 +10:00
Nyall Dawson
da4382309e
Allow deletion of guides by dragging outside of pages
2017-08-07 19:34:28 +10:00
Nyall Dawson
e06b0af91b
Support dragging existing guides in rulers
2017-08-07 19:34:28 +10:00
Nyall Dawson
c6c9c6fabf
Show guide positions in rulers
2017-08-07 19:34:28 +10:00
Nyall Dawson
9458f1f934
Support deletion of guides through manager
2017-08-07 19:34:28 +10:00
Nyall Dawson
e718f92bd5
Better headers in guide view
2017-08-07 19:34:28 +10:00
Nyall Dawson
048a5b79b6
Nicer table view for guide editing
2017-08-07 19:34:28 +10:00
Nyall Dawson
ef6727518d
[FEATURE] Add a dock widget showing snap guides for current page
...
Allows creation of snap lines at specific locations, and
adjusting position of existing guides to exact coordinates
2017-08-07 19:34:28 +10:00
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
fa5eb4e5ad
Refine QgsLayoutGuide API
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