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
mhugent
c34739270b
updated python bindings for rubber band
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7888 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 17:32:29 +00:00
mhugent
61ecb55810
Merge of advanced editing branch is now done
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 16:54:55 +00:00
mhugent
9eba4b0c31
first part of advanced editing branch merge
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 14:40:21 +00:00
mhugent
28c5599c7e
Patch that provides incremental screen update
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7846 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-05 15:54:03 +00:00
jef
271314d4dd
fix a warning in SIP
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7374 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-11 14:51:19 +00:00
mhugent
bced26a4aa
Applied patch for legend refresh from plugins provided by Juergen
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-24 07:23:24 +00:00
wonder
c5b914a0b6
Applied patch from Jurgen Fischer with some modifications.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-30 23:45:36 +00:00
wonder
497280c4d2
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@7129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-06 23:33:00 +00:00
mhugent
054732118c
reverted patch from r7112 since we are in feature freeze
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7114 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-30 07:58:57 +00:00
mhugent
2a827fb691
applied patch from Juergen to refresh layer legend from plugin
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-30 07:42:12 +00:00
wonder
9289a37f56
Added QgsMapToolEmitPoint which emits a signal when a point on map canvas is clicked.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6989 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-06-09 10:54:46 +00:00
wonder
bcaf553633
Fixed map overview handling
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-31 00:33:26 +00:00
wonder
9ee0b4a1f8
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@6910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-24 09:14:05 +00:00
wonder
c825b86f0e
Solved bugs with double deletion of map canvas items in Python bindings.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-23 14:58:15 +00:00
wonder
7e367f30b8
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@6908 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-23 14:57:08 +00:00
wonder
f8ba39dc6a
QgsVertexMarker: added possibility to change color and pen width
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6901 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:11:08 +00:00
wonder
e7127f8766
QgsMapCanvasItem is not to be derived from QObject - no need for that.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 11:13:57 +00:00
wonder
9533cb296c
Changed deque<QString> to QStringList in QgsMapRender, updated canvas and bindings appropriately.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 10:53:53 +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