42263 Commits

Author SHA1 Message Date
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
e8634210f8 Make more slots private 2017-10-09 09:12:56 +10:00
Nyall Dawson
365b8a1ebb Fix missing connection 2017-10-09 09:10:35 +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
1429f2c778 Remove autoconnected slots, pt 2 2017-10-09 08:48:23 +10:00
Nyall Dawson
fea2726c1c Flip autoconnected slots to explicit connections, pt 1 2017-10-09 07:30:52 +10:00
Matthias Kuhn
5d0f8cd871 Merge pull request #5323 from DelazJ/networkspacing
Align items and reduce spacing in Options -> Network dialog
2017-10-08 12:45:17 +02:00
Matthias Kuhn
b9dd23805b Merge pull request #5325 from DelazJ/qgsoptions
Clean QgsOptions class from on_m...clicked() calls
2017-10-08 12:41:35 +02:00
Harrissou Sant-anna
5600236a28 Fix again 2017-10-08 00:02:33 +02:00
Harrissou Sant-anna
a8eec08390 Fix spelling 2017-10-08 00:00:55 +02:00
Harrissou Sant-anna
edda367598 Align items and reduce spacing in Options -> Network dialog 2017-10-07 22:53:53 +02:00
Matthias Kuhn
b4f3055d02 [spatialite] Avoid the term "Error", saving style to DB is optional 2017-10-07 15:23:56 +02:00
Matthias Kuhn
8915936296 Close file after write 2017-10-07 15:23:56 +02:00
Matthias Kuhn
379b5ed7de Remove executable flag from test files 2017-10-07 15:23:56 +02:00
Matthias Kuhn
20150734bc [travis] Add more color to output 2017-10-07 14:21:13 +02:00
Matthias Kuhn
6dde427dfc [travis] Fold ccache statistics 2017-10-07 14:21:13 +02:00
Matthias Kuhn
ade21ea3c6 [travis] Make section titles bold 2017-10-07 14:21:13 +02:00
Matthias Kuhn
c0d4c040f4 [travis] Improve fold title for build section 2017-10-07 14:21:13 +02:00
Matthias Kuhn
4608394fed [travis] Fold cmake output 2017-10-07 14:21:13 +02:00
Matthias Kuhn
83f9e81e95 [travis] Less noise for DB initialisation 2017-10-07 14:21:13 +02:00
Matthias Kuhn
1945c97da5 [travis] Be quiet 2017-10-07 14:21:13 +02:00
Matthias Kuhn
7a4d890f6d Fix build warning 2017-10-07 13:10:22 +02:00
Juergen E. Fischer
1c7dbc7463 fix build 2017-10-07 09:05:52 +02:00
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
Denis Rouzaud
5dce8edb95 fix and bring back scroll area into custom widgets 2017-10-06 13:59:32 +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