42448 Commits

Author SHA1 Message Date
Harrissou Sant-anna
0521b3f70e Clean QgsOptions class from on_m...clicked() calls 2017-10-07 08:24:05 +02: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
Stelios Vitalis
59ea61a466 Refactoring on tesselator and other remarks applied 2017-10-06 18:29:28 +02:00
Alessandro Pasotti
057ddc2cee [auth] Added mutex to protect cache for pkipkcs12 auth 2017-10-06 18:11:43 +02:00
Alessandro Pasotti
537ebcc779 [auth] Added mutex to protect cache for pkipaths auth 2017-10-06 18:11:22 +02:00
Alessandro Pasotti
71d90261f2 [auth] Added mutex to protect cache for identcert auth 2017-10-06 18:11:01 +02:00
Alessandro Pasotti
d76b04a975 [auth] Added mutex to protect cache for basic auth 2017-10-06 18:10:38 +02:00
Alessandro Pasotti
a4a33dff75 [auth] Check for empty credentials instead of null 2017-10-06 16:33:53 +02:00
Alessandro Pasotti
a7f132bc87 Prevent duplicated tabs in message log panel
by removing & when looping through existing tab names
2017-10-06 16:32:36 +02:00
Denis Rouzaud
5dce8edb95 fix and bring back scroll area into custom widgets 2017-10-06 13:59:32 +02:00
Stelios Vitalis
b787d53c99 Fix indentation and apply remarks 2017-10-06 13:15:10 +02:00
Nyall Dawson
3c87fe162a Consistent tense for undo commands 2017-10-06 18:49:29 +10:00
Nyall Dawson
48c0fb3ec5 Add undo commands when reordering items through items dock 2017-10-06 18:48:10 +10:00
Nyall Dawson
0c858d27d6 Port display name handling from composer 2017-10-06 18:43:10 +10:00
Nyall Dawson
ee0e9ff5a1 Fix undo/redo crash with temporary test item 2017-10-06 18:32:17 +10:00
Nyall Dawson
83f035e63c Indentation 2017-10-06 17:48:25 +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
9c8b96be39 Call base class undo commands 2017-10-06 17:48:25 +10:00
Nyall Dawson
66b4bdf01d Fix invalid merge of non equal item commands 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
b04c10115b Fix items are removed from scene twice 2017-10-06 17:48:25 +10:00
Nyall Dawson
5796b899fc Fix build when model test is enabled 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
3e933dcda8 Add undo/redo commands when toggling lock through items panel 2017-10-06 17:48:25 +10:00
Nyall Dawson
afd9d23a21 Fix size of columns in items dock on hidpi screens 2017-10-06 17:48:25 +10:00
Nyall Dawson
1d622e5a2a Add new icon for resize to square (thanks @nirvn) 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
4167724035 Even more explicit naming 2017-10-06 17:48:25 +10:00
Nyall Dawson
f3bfcc3182 Save/restore frame properties, add unit tests for undo/redo 2017-10-06 17:48:25 +10:00
Nyall Dawson
616aec1566 Save/restore a few more layout item properties 2017-10-06 17:48:25 +10:00
Nyall Dawson
80e0e07202 Correctly create undo commands for item addition and removal 2017-10-06 17:48:25 +10:00
Nyall Dawson
cac08f93eb Nicer menu naming 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
73077c4ef3 Use new icons 2017-10-06 17:48:25 +10:00
nirvn
3cd5f72f6f [layout] add distribute and resize action icons 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
c5fcc9da69 Unit tests for alignment 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
c6da276783 Add more unit tests 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
833cb60f1f Port toggle panel action to layouts 2017-10-06 17:48:25 +10:00
Nyall Dawson
02831024a6 Restore items dock 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