15 Commits

Author SHA1 Message Date
wonder
7fd5ba816a Added infrastructure for vector editing undo/redo functionality.
Note - when implementing edit tools for vector layer:
All editation should be done between beginEditCommand() and endEditCommand()
calls so that the operation are stored. 

Note - when doing changes inside QgsVectorLayer code:
When doing any changes inside QgsVectorLayer they should be done using edit*() functions
and _not_ directly e.g. mChangedGeometries[fid] = (...) otherwise the change won't be
stored in the undo stack and it would lead to invalid behaviour of undo.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10920 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-14 14:17:18 +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
wonder
e15424a23e PyQGIS fix: QgsMapLayer has QObject as subclass
(it wasn't possible to connect to its signals)


git-svn-id: http://svn.osgeo.org/qgis/trunk@9637 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-14 23:42:08 +00:00
timlinux
b40ceb2d62 API cleanups for QgsRect that got overlooked...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-09 00:14:12 +00:00
timlinux
7c318ead1a API cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 11:00:31 +00:00
mhugent
a5dfbbb89f Reverted some of the sip changes to allow compilation
git-svn-id: http://svn.osgeo.org/qgis/trunk@9519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-22 13:34:08 +00:00
mhugent
2dae372a89 Added symbology functions of QgsMapLayer to sip file
git-svn-id: http://svn.osgeo.org/qgis/trunk@9512 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-21 19:27:41 +00:00
timlinux
06144402cb Use enum properly for qgsmaplayer type and refactored 'LAYERS' to LayerType
git-svn-id: http://svn.osgeo.org/qgis/trunk@9483 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-16 20:44:22 +00:00
jef
81132173ff apply patch for #1162 for timlinux
git-svn-id: http://svn.osgeo.org/qgis/trunk@9437 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 13:00:45 +00:00
jef
31327f51fd Merged rest of composer branch (9087-9115)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 09:19:49 +00:00
timlinux
a4bd78c9f8 Refactor spatial reference system to coordinate reference system (finalise fix of ticket #15). Also updated some more core api docs / module assignments.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9108 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-21 21:11:56 +00:00
timlinux
c4437144a9 Use readXml, writeXml instead of readXML_,writeXML_
git-svn-id: http://svn.osgeo.org/qgis/trunk@9026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-07 22:18:47 +00:00
mhugent
68cdb3abf4 Merge of rendercontext branch into trunk
git-svn-id: http://svn.osgeo.org/qgis/trunk@8440 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-15 08:13:05 +00:00
wonder
6f45e29616 Removed unused and misleading function QgsMapLayer::calculateExtent()
git-svn-id: http://svn.osgeo.org/qgis/trunk@7127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-06 14:03:02 +00:00
wonder
46a2d125a2 Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00