Ismail Sunni
1be2f3ee66
Add methods to remove variables from global/project scope
2017-10-09 12:03:37 +10:00
Nyall Dawson
42676dc93c
Move some getters which are incorrectly marked as slots,
...
remove some unnecessary 'const's from signals
Thanks to clazy const-signal-or-slot check
2017-10-09 11:53:06 +10:00
Nyall Dawson
3d8440cc0b
Merge pull request #5326 from nyalldawson/frick_off_autoconnects
...
Flip autoconnected slots to explicit connections
2017-10-09 10:24:04 +10:00
Nyall Dawson
9aa6142bab
Merge pull request #5291 from nyalldawson/layout_next
...
[layouts] Port most interaction actions from composer
2017-10-09 10:12:17 +10:00
Nyall Dawson
7cfd284fb1
Remove all previously autoconnected slots from public API
...
These are implementation details only, and should not be
part of the stable API.
We need the flexibility to change these at any stage without
being bound by any API contract.
2017-10-09 09:04:18 +10:00
Nyall Dawson
fea2726c1c
Flip autoconnected slots to explicit connections, pt 1
2017-10-09 07:30:52 +10:00
Marco Bernasocchi
1c63522819
Added QgsFields::names method to get a list of all the names of fields
2017-10-06 22:52:26 +02:00
Nyall Dawson
0c858d27d6
Port display name handling from composer
2017-10-06 18:43:10 +10:00
Nyall Dawson
c8eaeb8f93
Port hide pages action from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
aa7beaad6a
Port keyboard nudge of items from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
88a7f02c77
Port preview modes from composer
2017-10-06 17:48:25 +10:00
Nyall Dawson
bb2e1efdb8
Create undo/redo commands when changing item visibility
2017-10-06 17:48:25 +10:00
Nyall Dawson
fd0cba3914
Hide most of QgsLayoutModel from stable API and remove from bindings
...
We only expose the QAbstractItemModel interface as stable API - the
rest is non-stable and subject to change.
2017-10-06 17:48:25 +10:00
Nyall Dawson
a66f2cb684
Nicer API for adding/removing items
...
Automatically create the corresponding undo commands, so that
plugins and scripts which add/delete items will be added to
the undo stack without any work required.
2017-10-06 17:48:25 +10:00
Nyall Dawson
c022bc825e
[FEATURE][layouts] Add 'resize to square' action
...
Resizes all selected items so that they are square
2017-10-06 17:48:25 +10:00
Nyall Dawson
e686e2e565
Fix doxygen warning
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
fdba8f199a
Add tests for changing item z order
2017-10-06 17:48:25 +10:00
Nyall Dawson
e74a632002
Unfinished restore of stacking actions
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
dbb31253e9
Resurrect locking/unlocking item actions
2017-10-06 17:48:25 +10:00
Nyall Dawson
683a8694e4
Correctly report selected status to items model
2017-10-06 17:48:25 +10:00
Nyall Dawson
62a5679230
Port item model from composer to layouts
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
de9653044a
Remove redundant custom enum (use Qt version instead)
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
Nyall Dawson
d65a18c5c0
Fix item snapping while resizing
2017-10-06 17:48:24 +10:00
Nyall Dawson
051ed1e156
Prevent snapping to selected items when resizing
2017-10-06 17:48:24 +10:00
Nyall Dawson
d8ffab1523
[FEATURE][layouts] Snapping to item bounds when creating new items
...
Previously snapping to item bounds would only occur when resizing
or moving items, now it also applies to item creation
2017-10-06 17:48:24 +10:00
Nyall Dawson
d950f17e75
Add item bounds based snapping to QgsLayoutSnapper
2017-10-06 17:48:24 +10:00
Nyall Dawson
e0089fb84c
Move mouse handles to select tool
2017-10-06 17:48:24 +10:00
Nyall Dawson
bfa9c1d661
Port methods for retrieving item at a point to layouts
2017-10-06 17:48:24 +10:00
Nyall Dawson
d7bd44d9e7
Work on interactive moving of items
2017-10-06 17:48:24 +10:00
Nyall Dawson
2d6cbd6bba
Restore ability to show/hide selection bounds
2017-10-06 17:48:24 +10:00
Nyall Dawson
207bcad626
Start porting mouse handles to layout
2017-10-06 17:48:24 +10:00
Nyall Dawson
b9ecb4f941
Add method to push messages to layout designer status bar
2017-10-06 17:48:24 +10:00
Nyall Dawson
7d072beee7
Add signals for size and rotation changes
2017-10-06 17:48:24 +10:00
Nyall Dawson
b5777adbdd
Port some composer utils
2017-10-06 17:48:24 +10:00
Nyall Dawson
bb129516f8
Port selection handling code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
51efa19f75
Port item frame related code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
0b188295bc
Port item selection and lock related code from composer
2017-10-06 17:48:24 +10:00
Nyall Dawson
4e61ea892a
Port frame and background handling to layout items
...
And add support for frame widths with units
2017-10-06 17:48:24 +10:00
Nyall Dawson
78c0c28468
Fix doxygen warnings
2017-10-06 07:55:52 +10:00
Nyall Dawson
49b426d951
Make doxygen_space script convert multiline //! comments
...
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Alessandro Pasotti
dcc672520c
Merge pull request #5281 from boundlessgeo/auth_use_settings_widget
...
[auth][needs-docs] Provider connection dialogs use the new auth settings widget
2017-10-05 17:33:56 +02:00
Alessandro Pasotti
7528207333
[auth] Sipify
2017-10-05 08:50:06 +02:00