Juergen E. Fischer
fe6b4ad46d
update vector layer sip bindings
2013-03-20 13:35:56 +01:00
Martin Dobias
5d42734cf2
Removed old vector layer API (select(), nextFeature(), featureAtId())
2013-03-16 19:42:45 +01:00
Juergen E. Fischer
ba2082ef86
[FEATURE] allow filter expressions in value relations (and fix display of related values and value maps in attribute table)
2013-02-10 23:08:40 +01:00
Juergen E. Fischer
4a774294f3
remove usage of deprecated methods within QgsVectorLayer itself
2013-02-02 17:05:33 +01:00
Juergen E. Fischer
4cbec1811c
fix warnings, add copyright headers, cosmetics
2013-01-28 01:39:58 +01:00
Martin Dobias
8da06cb97d
QgsVectorLayer: deprecate old API: select(), nextFeature(), featureAtId()
2013-01-26 19:42:46 +01:00
Martin Dobias
5f304b34a1
Merge remote-tracking branch 'origin/master' into new_vector_api
...
Conflicts:
python/core/qgsvectordataprovider.sip
src/app/legend/qgslegendlayer.cpp
src/app/qgisapp.cpp
src/app/qgsmergeattributesdialog.cpp
src/core/qgsvectordataprovider.cpp
src/core/qgsvectordataprovider.h
src/core/qgsvectorlayer.cpp
src/gui/qgssearchquerybuilder.cpp
src/providers/postgres/qgspostgresprovider.cpp
src/providers/wfs/CMakeLists.txt
2013-01-23 23:46:56 +01:00
Matthias Kuhn
5c38775be4
Always emit signal when attribute values change
...
Fix #9268
* Remove QgsVectorLayer::blockSignals() calls from QgsFieldCalculator
* Deprecate emitSignal parameter from QgsVectorLayer::changeAttributeValue( fid, field, value, emitSignal )
* Code cleanup to update calls to the new emitSignal-less method
2014-01-07 12:54:18 +01:00
Juergen E. Fischer
190c0511bc
fix most cppcheck warnings and implement suggestions
...
also update and sync some sip interfaces
2014-01-05 16:11:36 +01:00
nyalldawson
6aed6fee08
[tests] Fix python compositionchecker to derive from render checker, fix most python composer tests ( fix #9117 )
2013-12-29 09:52:16 +11:00
Alexander Bruy
5e45a22d06
remove deprecated methods from API
2012-12-23 10:40:23 +02:00
Martin Dobias
9317ffd89a
Merge remote-tracking branch 'origin/master' into new_vector_api
...
Also disabled mapserver until compilation is fixed.
Fixed tests.
Conflicts:
src/app/legend/qgslegendlayer.cpp
src/app/qgsattributedialog.cpp
src/app/qgsattributedialog.h
src/app/qgslabelpropertydialog.cpp
src/app/qgsmaptoollabel.cpp
src/app/qgsvectorlayerproperties.cpp
src/core/CMakeLists.txt
src/core/composer/qgsatlascomposition.cpp
src/core/qgsexpression.cpp
src/core/qgspallabeling.cpp
src/core/qgsvectorlayer.cpp
src/core/qgsvectorlayer.h
src/core/qgsvectorlayerimport.cpp
src/mapserver/qgsprojectparser.cpp
src/mapserver/qgswfsserver.cpp
src/mapserver/qgswfsserver.h
src/mapserver/qgswmsserver.cpp
src/providers/postgres/qgspostgresprovider.cpp
src/providers/spatialite/qgsspatialiteprovider.h
tests/src/core/testqgsexpression.cpp
tests/src/python/test_qgsmemoryprovider.py
2012-12-18 01:35:06 +01:00
Martin Dobias
81b0930498
QgsVectorLayer: large internal refactoring
...
Most important changes:
- introduced feature iterator for QgsVectorLayer
- vector editing moved to QgsVectorEditBuffer
- complete rework of undo/redo commands for vector layers
- geometry cache separated from editing (QgsVectorLayerCache)
- non-essential editing functionality moved to QgsVectorLayerEditUtils
2012-12-17 21:22:42 +01:00
Matthias Kuhn
d218d0a69f
Add python bindings for setEditorLayout
2012-11-08 08:56:01 +01:00
Juergen E. Fischer
dbab4a2425
update QgsVectorLayer bindings ( fixes #6550 )
2012-10-21 13:21:35 +02:00
Martin Dobias
51122d263a
Store attributes and fields in vectors instead of maps
2012-10-20 22:19:55 +02:00
Juergen E. Fischer
71c5d4cff9
sip fixes
2012-09-26 17:56:27 +02:00
Juergen E. Fischer
ded943d77d
update bindings
2012-09-25 14:28:06 +02:00
Juergen E. Fischer
f3cb57b1eb
SIP bindings update:
...
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Juergen E. Fischer
f006b234e7
fix build error and a few warnings
2012-08-29 00:45:18 +02:00
Juergen E. Fischer
65b978fb57
[FEATURE] add optional filter value to value relation edit widget
...
and sync QgsVectorLayer sip bindings with C++ interface
2012-08-28 22:34:15 +02:00
Juergen E. Fischer
32978fb4e9
fix sip bindings to QgsVectorLayer signals attributeValueChanged/geometryChanged
2012-07-16 16:45:53 +02:00
Denis Rouzaud
67b3acf678
[FEATURE] add multiple selection option in value relations
2012-06-28 20:36:23 +02:00
Juergen E. Fischer
9f4996fc21
more nodetool speedups & refactoring ( fixes #4523 )
...
[API] introduce signal QgsVectorLayer::geometryChanged() signal and use that
to reduce the need to reload the modified geometry.
2012-01-13 23:31:51 +01:00
Juergen E. Fischer
100d702bd0
[FEATURE] add uuid generator widget
2011-12-30 16:23:23 +01:00
Juergen E. Fischer
f39a19c12b
[API] add QgsVectorLayer::updateFeature()
2011-10-07 16:15:51 +00:00
Juergen E. Fischer
985ffbdc5b
[FEATURE] allow ordering of value relations by value and
...
include value relations in sip bindings
2011-07-22 17:52:09 +02:00
Juergen E. Fischer
5a3a87fde2
[FEATURE] support 64bit feature ids
2011-06-16 20:30:07 +02:00
Juergen E. Fischer
b8642a93fa
apply #3770 : allow adding parts to line and point features and some refactoring
2011-05-06 00:48:29 +02:00
wonder
f7d7706a1e
Default value for limit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-25 21:05:08 +00:00
mhugent
3717e57e82
Fix graduated classifications for joined fields
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15389 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-08 16:32:01 +00:00
wonder
9ff2f5793b
Added missing python bindings for table joins
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-03 22:45:21 +00:00
mhugent
2c0e214df0
Add uniqueValues() method for vector layer. Fixes #3528
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15310 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-02 14:45:49 +00:00
jef
ce8e3d5f05
add 'deprecated' annotation to SIP bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-19 13:24:24 +00:00
mhugent
d373bb68af
Safer handling of layers with unknown geometry
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15180 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-17 09:15:25 +00:00
jef
132088f6d2
fix API QgsMapLayer::getLayerID() to id()), some warnings and use doxygen deprecation tag.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15168 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-13 20:24:55 +00:00
wonder
1d66171ff3
PyQGIS fixes: added few typedefs (IIRC they were not supported by some old SIP versions) and added missing signals in QgsVectorLayer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14978 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-27 21:27:01 +00:00
brushtyler
519f120602
applied patch to make a vector layer read-only, to fix #3157
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14451 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-29 22:12:42 +00:00
mhugent
2222397334
[FEATURE]: added reload method to map layers and provider interface. Like this, caching providers (currently WMS and WFS) can synchronize with changes in the datasource
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-20 11:27:12 +00:00
wonder
c9d34fd8c7
PyQGIS: added missing annotation
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13417 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-03 21:02:05 +00:00
mhugent
f930a163df
Remember last annotation form for a layer and store it in project
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-09 07:42:30 +00:00
wonder
2034de2bc9
PyQGIS: few additions for more pythonic api
...
- QgsVectorLayer and QgsVectorDataProvider support iterating
- QgsFeature allows direct access to attributes (get/set/del)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-04 21:08:33 +00:00
wonder
b3f2966396
Show editing vertex markers with symbology-ng. Fixes #2171 .
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 15:39:05 +00:00
jef
cbf1a50bd6
fix common typos
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00
jef
40c10fa255
missed the python part
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12347 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 00:36:57 +00:00
jef
865fce9cf3
add support for a python feature form initialization function
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12215 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-21 19:55:25 +00:00
jef
a4758ff01f
add support for multiline edit widget
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12165 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-17 18:47:47 +00:00
wonder
55c3c7bcc7
Updated version of QGIS when the new function were added to 1.4
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 11:53:50 +00:00
wonder
961742e243
Symbology-NG branch merged to trunk. This includes also work on labeling done during my GSoC'09.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 10:36:24 +00:00
jef
03224425e5
[FEATHRE] attribute action improvements
...
- add python bindings for attribute actions
- support actions as context menu in feature form (ui)
- add action types:
* generic: commands that should work on all platforms
* windows, mac, unix: commands that should work and are only shown on one platform respectively
(eg. vim on unix, notepad on windows and textmate on Mac)
* python: python strings to be executed instead of a command
(eg. qgis.utils.plugins['apluginname'].amethod('[%someattribute%]'))
[BUGFIXES]
- ogr support for relative filenames fixed
- relative filename support also for feature form uis
git-svn-id: http://svn.osgeo.org/qgis/trunk@12113 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-15 00:15:55 +00:00