Nyall Dawson
db906273b5
Drop all composer classes from Python bindings
2018-01-08 13:35:15 +10:00
Nyall Dawson
015e754418
Show a label in layout designer for report sections
2018-01-05 17:43:23 +10:00
Nyall Dawson
d2c880af50
Use 'report' text instead of 'atlas' when inside a report designer
2018-01-05 11:15:04 +10:00
Nyall Dawson
6f2c63f3e5
Add a common base class for print layouts and reports, and adapt
...
QgsLayoutManager to suit
2018-01-05 11:15:04 +10:00
Nyall Dawson
70e7185cb5
Force a refresh after disabling view updates
2018-01-05 11:15:03 +10:00
Nyall Dawson
e72e20b8e0
Restore attribute table atlas handling
2018-01-05 11:15:03 +10:00
Denis Rouzaud
90e5196996
run sipify
2017-12-19 14:55:46 -04:00
Nyall Dawson
831732f3a3
Sipify
2017-12-17 14:18:36 +10:00
Nyall Dawson
261492ddca
Add a messagebar to layout designer
2017-12-17 14:14:31 +10:00
Nyall Dawson
113664fe2e
Port method for pausing layout view updates
2017-12-17 14:14:31 +10:00
Denis Rouzaud
c604d2dda6
run sipify
2017-12-15 22:13:44 -04:00
Nyall Dawson
8802482778
Remove redundant overridden default destructor implementations
2017-12-16 08:50:55 +10:00
Nyall Dawson
4da1ce8404
Drop redundant virtual keywords on overrides
...
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.
Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00
Denis Rouzaud
f2b3ed0a9b
run sipify
2017-12-15 11:12:19 -04:00
Nyall Dawson
89420fccd6
Sipify
2017-12-07 08:51:52 +10:00
Nyall Dawson
17656f23c6
Pasting items from layout context menu pastes them at menu origin
...
instead of final cursor position
2017-12-07 08:50:01 +10:00
Nyall Dawson
ac6c131212
Fix crash when reopening existing layouts
2017-12-07 08:50:01 +10:00
Nyall Dawson
a64a675830
[FEATURE][layouts] Support drag and drop of QPT templates onto layout windows
...
To add contents of template onto layout
2017-12-07 08:49:54 +10:00
Nyall Dawson
eea36c0212
Add custom drop handlers for layout windows
2017-12-07 08:49:54 +10:00
Nyall Dawson
d2fcf11336
[layouts] Add context menu entries for "copy" and "delete" item to
...
items list panel right click menu
Refs #11581
2017-12-07 08:49:33 +10:00
Nyall Dawson
feec186fbf
[layout] Add context menu entries for cutting/copying, and pasting items
...
Fixes #1830
2017-12-07 08:49:33 +10:00
Nyall Dawson
b03ce047db
Start restoring copy/paste functionality
2017-12-07 08:49:33 +10:00
Denis Rouzaud
e48cf98edb
run sipify
2017-12-06 07:19:50 -04:00
Nyall Dawson
ee45ec9772
Add page number selection to new item dialog
2017-11-24 10:24:35 +10:00
Nyall Dawson
1f769da68d
Work on resurrecting overviews
2017-11-07 11:32:38 +10:00
Nyall Dawson
7f0142c86a
Working move item content tool
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
87ef5c52b0
Allow cancelation of polygon/polyline creation
2017-11-07 11:32:38 +10:00
Nyall Dawson
9a08fad506
Exclude selected nodes item when snapping during node move
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
ab7bb7235a
Start work on node edit tool
2017-11-07 11:32:38 +10:00
Nyall Dawson
44fe2a8d08
Add tools to create node based items
2017-11-07 11:32:38 +10:00
Nyall Dawson
b41fea90e2
Fix layout items appear in random order in gui
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
c0b63a6778
After creating an item with the add item tool, switch immediately to select tool
2017-11-07 11:32:38 +10:00
Nyall Dawson
e836fc49b1
When selecting a different item, but the item is the same
...
type of item, just update the existing panel to show the new
item's properties
This means that flicking between selecting items of the same
type will not create a new properties widget, so scroll
bar positions, focused widgets, etc are all maintained.
Makes using layouts less annoying.
2017-11-07 11:32:37 +10:00
Nyall Dawson
ea453beb73
If the same item is reselected in a layout, don't create a new
...
properties widget for it
Because if we do annoying things happen, like loss of focused
widget and scroll bar position
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
d3836e502a
Move population of layout gui registry from GUI->app
...
Since we don't want all the item type subclass config widgets
to have to reside in gui, we need to populate the registry
from app instead.
2017-11-07 11:32:37 +10:00
Nyall Dawson
606ad21a51
Port group actions 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
88a7f02c77
Port preview modes from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
95a76eeef8
Port delete action - TODO: undo/redo
2017-10-06 17:48:25 +10:00
Nyall Dawson
e3616f08c4
[FEATURE][layout] Add actions to auto resize items in a selection
...
Options are resize to narrowest, widest, shortest and tallest.
2017-10-06 17:48:25 +10:00
Nyall Dawson
5141c05ba7
[FEATURE][layout] Add item distribution actions
...
Adds actions for distributing selections of items by their
left/center/right/top/bottom edges.
Useful for quickly evenly distributing items in the layout
Needs new icons
2017-10-06 17:48:25 +10:00
Nyall Dawson
0939333273
Port item alignment to layouts
2017-10-06 17:48:25 +10:00
Nyall Dawson
822d6f76a3
Move actions which apply to selected items only to QgsLayoutView
...
Selections are a gui concept, so these actions belong to the
gui class instead of cluterring QgsLayout
2017-10-06 17:48:25 +10:00
Nyall Dawson
4cba2b90ef
Port select next above/below actions
2017-10-06 17:48:25 +10:00
Nyall Dawson
b494a71feb
Port selection actions to layout
2017-10-06 17:48:25 +10:00
Nyall Dawson
639ecd1748
Correctly handle item focusing in layout designer
2017-10-06 17:48:25 +10:00