gsherman
7e2d6a8caa
Applied patch from ticket #887
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7825 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-12-31 03:14:58 +00:00
wonder
5054cac6ab
PyQGIS: support for Mac universal builds - fixes #876
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7807 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-12-19 18:21:35 +00:00
gsherman
8f6cacba8e
Include plugins subder in CMakeLists.txt
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7731 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-12-07 04:22:24 +00:00
wonder
2c9ab9c55f
Fixes in PyQGIS related to transfer of ownership in renderers.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7675 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-27 23:05:24 +00:00
jef
4652d5acf5
Improve parsing in QgsDataSourceURI (adapted from PQconnectdb) and gather
...
connection info parsing and creation there. Fixes #817 .
Please test!
git-svn-id: http://svn.osgeo.org/qgis/trunk@7672 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-27 21:35:10 +00:00
gsherman
b7de177045
Set column widths in the plugin display.
...
Added row highlighting to plugin list.
Added wait cursor when fetching the plugin list and during install.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7447 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-18 02:30:39 +00:00
gsherman
acdc107f1a
Initial import of Matthew Perry's Python plugin installer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-17 19:03:03 +00:00
jef
a56b7e80aa
link all SIP objects with GDAL
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7440 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-17 12:34:56 +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
timlinux
aca333feb4
Applied Jürgens patch with improvements for MSVC build and initial attempts at GRASS under MSVC
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7322 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-05 01:23:41 +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
ca9347d780
setDataProvider() mustn't be public as it's not intended for use outside of QgsVectorLayer.
...
This fixes ticket #775 .
git-svn-id: http://svn.osgeo.org/qgis/trunk@7263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-11 23:42:47 +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
timlinux
8c6c2d035d
Make linking to qtsql conditional on OS
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7172 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-30 02:13:49 +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
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
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
mhugent
c9da10c13f
This commit changes the interface of qgsvectorlayer back to the state before r7063 and keeps the fix to allow deletion of postgis columns
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-07 06:58:10 +00:00
mhugent
29a524f3aa
Adapted qgsvectorlayer.sip
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7064 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-07 06:12:46 +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
05131b14ea
Fixed QgsGeometry::fromPolygon:
...
- fixed creation of outer ring, added creation of holes
- fixed Python binding for QgsPolygon type
git-svn-id: http://svn.osgeo.org/qgis/trunk@6974 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-06-02 01:24:38 +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
825e248b8a
Fixed a bug with incorrectly wrapped QgsRenderer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6969 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-31 00:19:27 +00:00
mhugent
44d8225e7d
Added the possibility for renderers to have different transparency levels for different classes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6967 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-30 10:02:12 +00:00
mhugent
a74f531107
Entry for addIsland in sip file
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6964 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-26 07:53:10 +00:00
mhugent
1151cee995
Entry for QgsVectorLayer::AddRing in the .sip file
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6957 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-22 15:17:31 +00:00
wonder
b93ef15ddf
Fixed compatibility with (some versions of) Python 2.5.
...
Also should stay compatible with older python versions.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6941 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-10 15:01:58 +00:00
wonder
213e4d44ed
Added saving layer's selection as a shapefile. Can be invoked from legend.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6940 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-10 11:26:25 +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
5a4d23ff80
- more sane function prototypes for searching for closest vertex/segment
...
- fixed some problems in python bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@6896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-18 21:08:55 +00:00
wonder
0dc4a3b23a
Added setConnection() and setDataSource() utility functions to QgsDataSourceURI
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 11:12:15 +00:00
wonder
1ac580270f
Merged provider0_9-branch (r6844:6878) back to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-11 11:46:35 +00:00
wonder
ea5e059844
Renamed QgsMarkerCatalogue::pixmapMarker() to imageMarker() as now it returns QImage.
...
Added Python wrappers for QgsSymbologyUtils and QgsMarkerCatalogue.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6866 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 18:24:51 +00:00
wonder
0afae5d56a
Added python bindings for QgsSymbol and all renderer classes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6864 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:41:47 +00:00
wonder
00a43bc7dc
QgsFeatureAttribute class has been removed and QVariant is used instead (supports arbitrary data types).
...
All providers and python bindings have been updated accordingly.
Currently supported variant types by providers are String, Int and Double.
Other API changes:
- QgsField
- type info as QString is now typeName() and setTypeName()
- added variant type (QVariant::Type) info: type(), setType()
- QgsFeature
- removed fields() - use QgsVectorDataProvider::fields()
- removed boundingBox() - use QgsGeometry::boundingBox()
- QgsVectorLayer - removed fields(), fieldCount(), getDefaultValue() - use directly QgsVectorDataProvider
- QgsVectorDataProvider - getDefaultValue() - field now addressed by id, returns variant
- QgsLabel - setLabelField() - field now addressed by id
git-svn-id: http://svn.osgeo.org/qgis/trunk@6833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 22:40:10 +00:00
wonder
a8aa7af722
Fix for #641 - this was due non-existing function in QgsColorTable
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6780 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-09 09:31:12 +00:00
wonder
90c30ed250
Python bindings:
...
- recreate on changed .sip file
- wrapped QgsColorTable
git-svn-id: http://svn.osgeo.org/qgis/trunk@6776 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-08 11:51:16 +00:00
wonder
e863ecc67f
Changed usage of std::vector to QList in QgsDistance area.
...
Added the modified functions to Python bindings.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6760 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 11:43:48 +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
82eb679150
Python: wrapped two functions in QgsLabel
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6748 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-02 22:38:09 +00:00
wonder
cb859a7854
Added hack to include Qt3Support when building bindings on Mac.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6745 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-02 19:33:20 +00:00
wonder
661fd9bf23
Changed line endings from DOS-style to UNIX-style so SIP won't end up with syntax errors on unix
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6740 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-02 09:56:44 +00:00
wonder
9592a85583
Bindings: wrapped QgsDistanceArea
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6732 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-28 11:49:14 +00:00
wonder
f6eca1ed14
Don't link bindings to Qt3Support lib - was doing problems on windows.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6664 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-22 14:56:58 +00:00
timlinux
aad13d18a0
Updates for SIP support from Martin
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6640 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-20 14:06:05 +00:00