Nyall Dawson
a346736df2
Handle tool changes mid press-release operation
...
Because it's possible for users to change the tool while a
press release operation is mid-way, e.g. by pressing a tool
shortcut key.
2017-07-11 11:06:36 +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
a6ccd63bc8
Start implementing an add item tool
2017-07-11 11:06:35 +10:00
Nyall Dawson
99f34300b9
Add shell classes for layout view tools
...
Copy the same model as QgsMapCanvas uses, with separate
classes for individual interaction tools instead of keeping
all the logic in the QGraphicsView subclass (as is done
with composer)
2017-07-11 11:06:35 +10:00