29 Commits

Author SHA1 Message Date
jef
b8c2a743ac add QgsRubberBand::getPoint to python interface (following up r8209)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-13 13:11:53 +00:00
wonder
9da6874399 Wrapped QgsEncodingFileDialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8204 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-11 21:51:18 +00:00
timlinux
60f8e46b12 Added ability to set paper size to python api
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8110 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-06 03:15:12 +00:00
wonder
9b8de1b27f - QgisInterface's functions addRasterLayer/addVectorLayer return pointer to layer instead of just bool
- renamed QgisApp::addLayer to more appropriate QgisApp::addVectorLayer
- cleanups in loading of raster/vector layers in QgisApp


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-27 04:11:27 +00:00
wonder
699f7d4cc8 more fixes to bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-24 14:34:05 +00:00
timlinux
e1056e75cb Added missing sip file for quickprint
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7988 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 01:01:02 +00:00
timlinux
4c20f9cc4c Python bindings for quickprint and change print method to printMap
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7987 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 01:00:18 +00:00
wonder
5e2eb4a7d9 Some small updates to bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 23:20:31 +00:00
wonder
efe44667c5 removed QgisPlugin from the bindings (not used anyway)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7895 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 22:40:21 +00:00
wonder
5b5203c90c Moved all conversions between c++ templates and python objects to one file.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 22:27:28 +00:00
mhugent
b8b154c249 updated python bindings for rubber band
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7888 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 17:32:29 +00:00
mhugent
b7e083458e Merge of advanced editing branch is now done
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 16:54:55 +00:00
mhugent
44e41707ee first part of advanced editing branch merge
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 14:40:21 +00:00
mhugent
5f2d993ade Patch that provides incremental screen update
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7846 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-05 15:54:03 +00:00
jef
e3a29b2aaa fix a warning in SIP
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7374 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-11 14:51:19 +00:00
mhugent
09a075b4cb Applied patch for legend refresh from plugins provided by Juergen
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-24 07:23:24 +00:00
wonder
e94e9f62e1 Applied patch from Jurgen Fischer with some modifications.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-30 23:45:36 +00:00
wonder
aba6e0cdc9 Fixes to compile the bindings also with SIP 4.7.
In this SIP version, additional classes used when converting
to a subclass don't get #included automatically so let's
#include them globally with %ModuleHeaderCode


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-06 23:33:00 +00:00
mhugent
227ce8147e reverted patch from r7112 since we are in feature freeze
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7114 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-30 07:58:57 +00:00
mhugent
3811c94196 applied patch from Juergen to refresh layer legend from plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-30 07:42:12 +00:00
wonder
5d7545c622 Added QgsMapToolEmitPoint which emits a signal when a point on map canvas is clicked.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6989 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-06-09 10:54:46 +00:00
wonder
6d09a3c6df Fixed map overview handling
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-31 00:33:26 +00:00
wonder
409fef558b One more place where where ownership must be transferred and it wasn't - resulting in segfaults on app's exit.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-24 09:14:05 +00:00
wonder
85eab3f9a8 Solved bugs with double deletion of map canvas items in Python bindings.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-23 14:58:15 +00:00
wonder
301cd6c988 Solved problems with destruction of map tools - canvas mustn't be deleted before map tool,
however in Python the destruction had to be done explicitly to acheive right order.
New solution is that QgsMapTool is derived from QObject and on construction, QgsMapCanvas
is set as its parent. This way canvas is always deleted after deletion of map tools.

Also, because of this, I've divided QgsMeasure to QgsMeasureTool and QgsMeasureDialog
(problem with 2 parents with QObject as a base).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6908 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-23 14:57:08 +00:00
wonder
e7d6fbaf4c QgsVertexMarker: added possibility to change color and pen width
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6901 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:11:08 +00:00
wonder
32519431dd QgsMapCanvasItem is not to be derived from QObject - no need for that.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 11:13:57 +00:00
wonder
8d3dd5fef4 Changed deque<QString> to QStringList in QgsMapRender, updated canvas and bindings appropriately.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 10:53:53 +00:00
wonder
bbd36b107f Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00