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
aba4b3cfda
Tweak to r6898. It seems that some GEOS versions use 'int' and others 'unsigned int'
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 12:38:14 +00:00
wonder
56024ce18c
Fixed crash when identifying multipart features.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6906 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:33:11 +00:00
wonder
caff0a2d6d
Workaround for exporting layers which more geometry types (e.g. polygons and multipolygons).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:27:11 +00:00
wonder
5a894b1177
Be less verbose (too much output when measuring with QgsDistanceArea).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6904 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:15:37 +00:00
wonder
b09c2494d2
Changed debug messages from std::cout to QgsDebugMsg
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:13:52 +00:00
wonder
f05db2a7e5
Added missing header files for installation.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6902 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 10:11:54 +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
mhugent
3d2c245830
Tried to fix problems with allAttributeList() in postgres provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6900 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-20 06:05:56 +00:00
timlinux
b2c945b333
No code changes formatting cleanup only
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-19 10:27:48 +00:00
timlinux
c5263172ca
Fix pedantic compile warnings due to signed int , unsigned in comparisons
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6898 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-19 10:24:19 +00:00
wonder
5789eecd83
- 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/qgis@6896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-18 21:08:55 +00:00
wonder
d2d4b230c4
An attempt to fix compilation problems with new GRASS CVS.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 20:21:54 +00:00
wonder
4ec416580c
Delimited text provider:
...
- code cleanups
- distinguish between int/double/text field types (#684 )
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 19:51:58 +00:00
wonder
d65a78a7f6
Slightly better error handling in constructor of postgres provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 11:14:42 +00:00
wonder
19343b9016
Added setConnection() and setDataSource() utility functions to QgsDataSourceURI
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 11:12:15 +00:00
wonder
63bd8b5c7e
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/qgis@6890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-17 10:11:02 +00:00
mhugent
6edc963b88
Higher precision when writing worldfile / pointfile
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6888 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-16 06:42:14 +00:00
wonder
ac57362b82
Fixed a crash in GPX provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6887 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-15 16:37:05 +00:00
mhugent
246ed7716c
Georeferencer plugin: enable creation of nonrectangular pixels in linear transformation
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6884 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-14 08:47:10 +00:00
wonder
674e1f919f
Hide LIBRARY_OUTPUT_PATH and LIB_PATH
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-12 12:20:05 +00:00
mhugent
05274e2ac6
Fix for editing problems
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6882 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-12 07:55:29 +00:00
mhugent
cd4f57ed73
Save as shapefile: use save dialog and remember the last directory
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6881 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-11 14:31:01 +00:00
wonder
ca5e2eaa43
Allow fetching features from OGR without geometries.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-11 12:01:13 +00:00
wonder
5f75c232ba
Merged provider0_9-branch (r6844:6878) back to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-11 11:46:35 +00:00
wonder
0a93d830ab
HTML escaping for python console.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6874 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-03 17:05:53 +00:00
wonder
d4bac97452
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/qgis@6866 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 18:24:51 +00:00
wonder
961da9110a
Removed old, unused symbol classes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6865 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:55:26 +00:00
wonder
478f0a43ed
Added python bindings for QgsSymbol and all renderer classes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6864 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:41:47 +00:00
wonder
b234fab2f6
Changed symbols() from std::list to QList for all renderers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:14:34 +00:00
mhugent
e34d6a499d
Only one list of typenames for data providers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6843 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-29 04:40:15 +00:00
telwertowski
5b4484db0e
Include qgsconfig.h to get definition of HAVE_POSTGRESQL
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6842 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 19:48:52 +00:00
mhugent
3ba168dec9
Reverted changes in QgsHttpTransaction, which have been applied unintendedly in last commit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6840 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 07:08:10 +00:00
mhugent
adef0a6450
Added turkish translation. Thanks a lot to Osman Yilmaz\!
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6839 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 06:02:35 +00:00
homann
b07319d061
Added patch #685 from lubaby (+ some more) to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6838 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-27 17:51:57 +00:00
homann
e5acdf4728
Applied patch #683 to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-25 17:12:51 +00:00
wonder
133afc0d12
Fixed compilation with debugging turned on.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-25 09:52:21 +00:00
wonder
ce3eea0dcf
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/qgis@6833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 22:40:10 +00:00
mhugent
c98095c669
Fix for ticket #678 : Attribute table add field, fieldtype select box is empty
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 15:32:25 +00:00
gsherman
5fb2b1754a
Added module name to the module tab in the GRASS toolbox (Ticket #596 )
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6830 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 04:16:40 +00:00
gsherman
2632309391
Escape <> in python console output so python object display
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6829 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 04:01:45 +00:00
homann
4589ddba2b
sqlite3_open() MUST have db name in Utf-8. Fixes #676 .
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-23 19:31:04 +00:00
mhugent
dfafc419ec
Quantile function for graduated symbol dialog
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6826 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-23 14:49:28 +00:00
mhugent
b890bc5fa4
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/qgis@6825 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-21 15:42:03 +00:00
mhugent
a13227ea34
Added hint to project properties that snapping distance is in mapping units
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-21 15:08:45 +00:00
mhugent
02e4fd168f
Really delete deleted features in ogr provider (using REPACK)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6821 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-19 11:34:04 +00:00
timlinux
c15c054159
Formatting changes only
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6820 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-19 04:47:33 +00:00
homann
017726f530
Fix path to windres.exe
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6815 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-18 09:03:31 +00:00
g_j_m
b97db39342
Fix for ticket #651 (zoom full doesn't work on a single point)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6799 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-13 07:37:16 +00:00
gsherman
fc357ca65c
Deleted ancient doxygen.conf. To generate api docs, now use: doxygen Doxyfile
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6797 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-12 05:22:02 +00:00