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
4cfcc0d1a9
Tweak to r6898. It seems that some GEOS versions use 'int' and others 'unsigned int'
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 12:38:14 +00:00
wonder
8053f77ae8
Fixed crash when identifying multipart features.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6906 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:33:11 +00:00
wonder
73473872d3
Workaround for exporting layers which more geometry types (e.g. polygons and multipolygons).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:27:11 +00:00
wonder
499cbcaa09
Be less verbose (too much output when measuring with QgsDistanceArea).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6904 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:15:37 +00:00
wonder
a45a9d9b94
Changed debug messages from std::cout to QgsDebugMsg
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:13:52 +00:00
wonder
fd69e1410c
Added missing header files for installation.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6902 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:11:54 +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
mhugent
8ba6859a2b
Tried to fix problems with allAttributeList() in postgres provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6900 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 06:05:56 +00:00
timlinux
294ad9f7bc
No code changes formatting cleanup only
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-19 10:27:48 +00:00
timlinux
53b15d7085
Fix pedantic compile warnings due to signed int , unsigned in comparisons
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6898 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-19 10:24:19 +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
6096bf4144
An attempt to fix compilation problems with new GRASS CVS.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 20:21:54 +00:00
wonder
e08418b08b
Delimited text provider:
...
- code cleanups
- distinguish between int/double/text field types (#684 )
git-svn-id: http://svn.osgeo.org/qgis/trunk@6893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 19:51:58 +00:00
wonder
a4cf54ada9
Slightly better error handling in constructor of postgres provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 11:14:42 +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
6114f068f6
Fix for creation of SQL query in postgres provider.
...
Was doing problems when exporting to shapefile (see #706 )
git-svn-id: http://svn.osgeo.org/qgis/trunk@6890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 10:11:02 +00:00
mhugent
cc862d430b
Higher precision when writing worldfile / pointfile
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6888 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-16 06:42:14 +00:00
wonder
d8a1e5050c
Fixed a crash in GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6887 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-15 16:37:05 +00:00
mhugent
2f337ed2db
Georeferencer plugin: enable creation of nonrectangular pixels in linear transformation
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6884 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-14 08:47:10 +00:00
wonder
47d2a31c36
Hide LIBRARY_OUTPUT_PATH and LIB_PATH
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-12 12:20:05 +00:00
mhugent
fe77a6ac12
Fix for editing problems
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6882 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-12 07:55:29 +00:00
mhugent
c94d100beb
Save as shapefile: use save dialog and remember the last directory
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6881 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-11 14:31:01 +00:00
wonder
54a2f3487b
Allow fetching features from OGR without geometries.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-11 12:01:13 +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
52978f8837
HTML escaping for python console.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6874 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-03 17:05:53 +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
4000bb590e
Removed old, unused symbol classes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6865 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:55:26 +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
b9fba82f13
Changed symbols() from std::list to QList for all renderers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:14:34 +00:00
mhugent
5f75690261
Only one list of typenames for data providers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6843 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-29 04:40:15 +00:00
telwertowski
f9fe126df9
Include qgsconfig.h to get definition of HAVE_POSTGRESQL
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6842 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 19:48:52 +00:00
mhugent
f2e78d9849
Reverted changes in QgsHttpTransaction, which have been applied unintendedly in last commit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6840 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 07:08:10 +00:00
mhugent
165c4f3ffb
Added turkish translation. Thanks a lot to Osman Yilmaz\!
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6839 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 06:02:35 +00:00
homann
c4b4c3b744
Added patch #685 from lubaby (+ some more) to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6838 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-27 17:51:57 +00:00
homann
db2b35b905
Applied patch #683 to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-25 17:12:51 +00:00
wonder
aa3b63892f
Fixed compilation with debugging turned on.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-25 09:52:21 +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
mhugent
39f11cf0b1
Fix for ticket #678 : Attribute table add field, fieldtype select box is empty
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 15:32:25 +00:00
gsherman
fa348976df
Added module name to the module tab in the GRASS toolbox (Ticket #596 )
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6830 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 04:16:40 +00:00
gsherman
ef92d63882
Escape <> in python console output so python object display
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6829 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 04:01:45 +00:00
homann
c09e954c72
sqlite3_open() MUST have db name in Utf-8. Fixes #676 .
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-23 19:31:04 +00:00
mhugent
74edc8c857
Quantile function for graduated symbol dialog
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6826 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-23 14:49:28 +00:00
mhugent
d83cef4b17
Disable add attribute and delete attribute buttons in attribute table until start editing is pressed and the data provider supports these operation
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6825 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-21 15:42:03 +00:00
mhugent
4faae3d57d
Added hint to project properties that snapping distance is in mapping units
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-21 15:08:45 +00:00
mhugent
a9c3b4051b
Really delete deleted features in ogr provider (using REPACK)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6821 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-19 11:34:04 +00:00
timlinux
a7abf02872
Formatting changes only
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6820 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-19 04:47:33 +00:00
homann
6872653dd2
Fix path to windres.exe
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6815 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-18 09:03:31 +00:00
g_j_m
23eca9c32a
Fix for ticket #651 (zoom full doesn't work on a single point)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6799 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-13 07:37:16 +00:00
gsherman
a00beb4bb1
Deleted ancient doxygen.conf. To generate api docs, now use: doxygen Doxyfile
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@6797 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-12 05:22:02 +00:00