Sandro Santilli
a211c982cf
Allow to undo/redo composer grouping/ungrouping
...
Fixes #11371 (crash on ungrouping after moving the group) and more
undo/redo related issues.
Enable pending test for the crash (now passing) and add many more
undo/redo related ones (including signals testing).
Includes a new QgsGroupUngroupItemsCommand class
and its SIP bindings.
2016-06-17 13:41:56 +02:00
Nyall Dawson
1340afdc01
Fix more clang warnings
2016-01-05 20:13:58 +11:00
Nyall Dawson
18614e11e3
Avoid container detachments by using const methods wherever possible
...
eg QList::at() instead of QList:[], constFind instead of find, ...
2015-12-16 20:15:46 +11:00
Nyall Dawson
ee720796a3
Change size()/count() == 0 and count() > 0 to isEmpty() checks
...
Because:
- easier to read
- follows recommendations by clazy/KDAB
- potentially performance benefits
2015-12-08 22:45:06 +11:00
Denis Rouzaud
9e3183c63f
Revert "sort includes"
...
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73
sort includes
2015-06-10 13:59:08 +02:00
Nyall Dawson
4506b81537
[FEATURE][composer] Implement an item tree panel for composer windows
...
(fix #4358 ). Allows for selection of items, hiding/showing items,
toggling lock status of items and double-clicking to edit item id.
2014-07-30 20:01:05 +10:00
Nyall Dawson
200a3431e9
[composer] Add api method for toggling visibility of composer items
2014-07-28 20:22:23 +10:00
Nyall Dawson
e2d57d9b65
[composer] Clean up code, move some methods to QgsComposerUtils, const correctness, tests, doc improvements
2014-07-16 22:47:18 +10:00
Nyall Dawson
55ed628678
[composer] Improved method for setting/checking whether items are in a group
2014-07-04 20:25:46 +10:00
Nyall Dawson
3b6a303eb4
[composer] Fix resizing of item groups with rotated items
2013-12-30 20:00:56 +11:00
Nyall Dawson
1a88acbb30
[composer] Change to pos() for item position, free up transform for future use
2013-11-21 20:33:57 +11:00
Juergen E. Fischer
ed286eb198
indentation update
2013-07-21 21:53:27 +02:00
Juergen E. Fischer
bcd9f0426f
composer item group: fix destruction
2013-07-20 19:23:35 +02:00
Juergen E. Fischer
745fcbfe70
composer: save/restore item groups ( fixes #7675 )
2013-07-20 17:31:38 +02:00
Juergen E. Fischer
5a3a87fde2
[FEATURE] support 64bit feature ids
2011-06-16 20:30:07 +02:00
mhugent
39df5e6f8e
Added undo/redo buttons in composer, fix undo problems when deleting grouped items
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-03 12:53:22 +00:00
mhugent
2fe5d1d604
Initial implementation of composer undo / redo
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14786 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-29 15:30:19 +00:00
jef
270fe71f75
new fix for #1162 restoring lost qml features
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9747 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-07 03:10:00 +00:00
jef
4b46398bc4
astyle re-indentation & iostream=>QgsDebugMsg migration cleanup
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 21:37:31 +00:00
mhugent
58f32408d1
Merged print composer branch, with the exception of revisions 9087 - 9115
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9122 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 07:05:45 +00:00