69 Commits

Author SHA1 Message Date
wonder
f99fc62b03 pyqgis: another piece of code with missing binding :-/
git-svn-id: http://svn.osgeo.org/qgis/trunk@10327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-20 15:51:33 +00:00
wonder
71b1fc7d77 Applied patch from Andrej Krutak - added removeDockWidget() to interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-16 14:22:07 +00:00
mhugent
8f02ced2d6 Remove the private members from the composer sip files as they cannot be used from Python anyway
git-svn-id: http://svn.osgeo.org/qgis/trunk@10275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-13 20:46:02 +00:00
mhugent
233cf07bb6 Added /TransferThis/ keywords in the constructor of the composer item classes as suggested by Martin, fixed the possibility of moving the paper item
git-svn-id: http://svn.osgeo.org/qgis/trunk@10248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-28 14:35:45 +00:00
mhugent
f7fd50ffa4 Python bindings for composer classes
git-svn-id: http://svn.osgeo.org/qgis/trunk@10244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-27 13:57:26 +00:00
jef
bb61177a46 revert accidental commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@10239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 20:58:19 +00:00
mhugent
0baa9349ea saver string list handling
git-svn-id: http://svn.osgeo.org/qgis/trunk@10236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 19:15:23 +00:00
wonder
d73452e241 Added QgsMapTool::keyReleaseEvent()
Added missing binding for QgsMapTool::keyPressEvent()
 ... will ever people add the bindings for newly added functions? :-/



git-svn-id: http://svn.osgeo.org/qgis/trunk@10118 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-06 15:42:35 +00:00
jef
7cd83173d5 fix #1490
git-svn-id: http://svn.osgeo.org/qgis/trunk@9977 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-16 21:08:35 +00:00
wonder
c223b010f9 PyQGIS: missing QgsMapTool bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@9706 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-25 21:37:38 +00:00
wonder
94567164a3 Renamed ambiguous functions QgsMapCanvas::zoom to zoomIn, zoomOut and zoomByFactor.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9691 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-24 10:15:34 +00:00
wonder
6a85e1a09c PyQGIS: added a missing function in QgsMessageViewer
git-svn-id: http://svn.osgeo.org/qgis/trunk@9675 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-20 22:19:42 +00:00
wonder
e9f6cecda8 PyQGIS: fixed QgsSnapper / QgsMapCanvasSnapper bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@9671 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-19 20:03:30 +00:00
wonder
43bf222968 - QgsSnapper: use one list of QgsSnapper::SnapLayer structs rather than three separate lists
- PyQGIS: finished QgsSnapper binding, added QgsMapCanvasSnapper


git-svn-id: http://svn.osgeo.org/qgis/trunk@9657 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-17 17:20:21 +00:00
mhugent
b49bc46bf8 Allow a 0 pointer for the vector layer in QgsRubberBand::setToGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@9623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-11 14:47:48 +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
ddb96eae76 Final cleanups for gui API
git-svn-id: http://svn.osgeo.org/qgis/trunk@9576 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-07 18:41:36 +00:00
timlinux
e1b3c93e6a API cleanups to qgis project and maprenderer classes
git-svn-id: http://svn.osgeo.org/qgis/trunk@9536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 21:47:48 +00:00
timlinux
5aeb250006 api cleanups for distance area
git-svn-id: http://svn.osgeo.org/qgis/trunk@9504 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-20 20:41:06 +00:00
timlinux
b6ec0534fb Further api updates in core
git-svn-id: http://svn.osgeo.org/qgis/trunk@9478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-16 06:31:25 +00:00
jef
8094f1d4c6 hackfest commit from timlinux:
- more API cleanups
- single click (instead of drag) to select a feature (fixes #1154)
- fixes for topological editing


git-svn-id: http://svn.osgeo.org/qgis/trunk@9471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-10 20:02:22 +00:00
jef
e7bba64bf1 fix sip compile error
git-svn-id: http://svn.osgeo.org/qgis/trunk@9443 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 18:12:16 +00:00
timlinux
2659556af1 zoomToActiveLayer instead of zoomActiveLayer. Also applied patch from Magnus Homann to correct issue where save as shapefile does not allow using CRS of project projection.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9334 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-15 20:51:01 +00:00
telwertowski
0a6dbb7112 Add accessors for all menus, toolbars and actions to plugin interface so that plugins can insert actions at any position in any menu or toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-05 05:46:56 +00:00
timlinux
8f60bc5095 More api cleanups mainly affecting gui
git-svn-id: http://svn.osgeo.org/qgis/trunk@9233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 18:28:22 +00:00
timlinux
21a5d7248b use isVisible() rather than visible() to test for layer visibility
git-svn-id: http://svn.osgeo.org/qgis/trunk@9232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 18:06:54 +00:00
timlinux
7117ef8ec7 Implemented more gui api cleanups and suggestions from Albert Areny to clean the api. Note this commit breaks most python plugins out there. Please refer to the plugin interface header to see what is required to (trivially) repair your plugins.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9231 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-31 16:56:09 +00:00
timlinux
c6fb52f15d Further api consistency cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@9134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:15:03 +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
aa896df17a Various changes relating to projection selector: Renamed QgsLayerProjectionSelector to QgsGenericProjectionSelector so that it can be used in other contexts too. Added setSelectedEpsg call to projection selector. Added setMessage() call to generic projection selector. Updated python bindings accordingly.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9011 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-07 00:16:37 +00:00
timlinux
f27a50b1b6 Use mapRenderer() instead of mapRender() for the QgsMapCanvas map renderer accessor.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9002 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-06 12:42:23 +00:00
timlinux
fb674886b7 renamed misnamed QgsMapRender (verb) to QgsMapRenderer (noun) as part of cleanups for 1.0.0 release. Updated all related dependencies. Also removed some spurious debug messages
git-svn-id: http://svn.osgeo.org/qgis/trunk@8997 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 21:11:58 +00:00
timlinux
e1368a77a9 Fix for ticket #15 (Use term CRS instead of Projection throughout. Note this is a cosmetic fix only - internally class and var names still use the incorrect 'projection' nomenclature
git-svn-id: http://svn.osgeo.org/qgis/trunk@8954 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-31 20:07:07 +00:00
jef
1be63335ca fix sip error
git-svn-id: http://svn.osgeo.org/qgis/trunk@8781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-15 08:21:08 +00:00
timlinux
3c13ecf648 Replaced QgisAppInterface::getToolBox() with QgisAppInterface::addDockWidget and updated dependent code & python bindings. Note you may need to do a clean build after this commit for python bindings to build ok. The toolbox was removed in 0.11.0 and so the old getToolBox call was broken - this provides a replacement for that functionality.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-14 20:19:52 +00:00
jef
5e58eb576b update sip binding after r8656:
replaces QgsMapCanvas::restoreMapTool(), which shouldn't be public, with a
signal and handles it in QgisApp.



git-svn-id: http://svn.osgeo.org/qgis/trunk@8665 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-21 15:34:01 +00:00
mhugent
65f81d256b possibility to add WMS layers through plugin interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@8593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-05 09:30:48 +00:00
jef
7384134467 add support for maptool doubleclick events
git-svn-id: http://svn.osgeo.org/qgis/trunk@8542 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-29 15:59:57 +00:00
timlinux
52b8b28755 Multiple changes:
- added a call to get the file toolbar so that plugins providing 'add layer' type functionality can place their icons into the file toolbar along with other add layer icons.
 - cleaned up the vector props ui so that action panel fills all available space, and that label settings dont use tabs but a property pane style ui.
 - added an option to qgsoptions to enable / disable legend classification attributes list
 - fix issue with detailed item delegate not being selectable in win
 - updated style sheet so that system colour scheme is used for 'glossy' highlight
 - fixed formatting issues in vector metadata list
 - fixed python build error on mac where geos was not being linked to
 - added grass list view to grass toolbox


git-svn-id: http://svn.osgeo.org/qgis/trunk@8533 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-28 15:26:41 +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
jef
9e7a287e04 add QgsRubberBand::getPoint to python interface (following up r8209)
git-svn-id: http://svn.osgeo.org/qgis/trunk@8216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-13 13:11:53 +00:00
wonder
6961f567d1 Wrapped QgsEncodingFileDialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@8204 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-11 21:51:18 +00:00
timlinux
503d5013a2 Added ability to set paper size to python api
git-svn-id: http://svn.osgeo.org/qgis/trunk@8110 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-06 03:15:12 +00:00
wonder
a85df15615 - 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@8055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-27 04:11:27 +00:00
wonder
f2dab128a1 more fixes to bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@8037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-24 14:34:05 +00:00
timlinux
16b10693e6 Added missing sip file for quickprint
git-svn-id: http://svn.osgeo.org/qgis/trunk@7988 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 01:01:02 +00:00
timlinux
c0cc6ebce9 Python bindings for quickprint and change print method to printMap
git-svn-id: http://svn.osgeo.org/qgis/trunk@7987 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-17 01:00:18 +00:00
wonder
fd05e0c631 Some small updates to bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@7897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 23:20:31 +00:00
wonder
57b59ae9c7 removed QgisPlugin from the bindings (not used anyway)
git-svn-id: http://svn.osgeo.org/qgis/trunk@7895 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 22:40:21 +00:00
wonder
5e7c63fe84 Moved all conversions between c++ templates and python objects to one file.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 22:27:28 +00:00