18 Commits

Author SHA1 Message Date
Matthias Kuhn
31cecdbc51 Fix attributetable and vectorlayercache
* In the attributetable there was a mess with references and pointers, originating from 66fadee8ef.
* QgsVectorLayerCache did sometimes cache features which did not contain all information which needs to be cached and therefore corrupting the cache and leading to incomplete cache hits.
* Add a unit test for the cache problem
* Fix QgsCacheIndexFeatureId
* QgsAbstractCacheIndex::getCacheIterator now produces a QgsFeatureIterator (instead of a list of Feature Ids). This allows to combine a mixed response, partly satisfied by the cache and partly by an additional query to the backend.
2013-04-19 10:59:11 +02:00
Matthias Kuhn
66fadee8ef [FIX #7609] Fetch and cache data for sorting column in one query 2013-04-18 15:18:02 +02:00
Matthias Kuhn
7c69ec1a28 Add updateFields() signal, so adding of joined fields is communicated
attributeAdded and attributeDeleted signals are only emitted for "real" fields
and not for "virtual fields" as in joined fields. Therefore this signal should
be used instead to keep track of these
2013-04-15 09:54:19 +02:00
Matthias Kuhn
47c10db1fe [FIX #5525] Attribute table performance for large tables
The selection handling performance has been improved a lot
Introduces also more detailed signalling of selection change from QgsVectorLayer
2013-04-13 17:43:11 +03:00
Matthias Kuhn
f28f13cd24 Fix #7459: Sorting of attribute table takes type into account 2013-03-27 16:41:16 +01:00
Matthias Kuhn
33fa1d5443 Major redesign of attribute table, codename: dual view 2013-03-27 10:54:36 +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
Radim Blazek
779e16603e make attribute table and identify consistent with map canvas 2012-10-26 18:29:53 +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
2626df9320 fix doxygen warnings 2012-08-14 00:04:02 +02:00
Juergen E. Fischer
3ba2fe9d04 fix #4822 2012-01-16 21:22:52 +01:00
Juergen E. Fischer
d43c89ae6a fix #4636:
- add a column containing the feature id, if no columns are there (otherwise
  there are no valid model indices)
- vector layer: emit featureDeleted and featureAdded signals, when added
  features change their temporary to a permanent id (e.g. makes the now defunct
  rows in the attribute table disappear, instead of showing ERROR)
- memory provider: update the feature id in added features
2012-01-12 02:21:17 +01:00
Giuseppe Sucameli
1fe82b316b [FEATURE] use expressions engine to evaluate feature actions
work done for Regione Toscana-SIGTA
2012-01-11 16:07:15 +01:00
Juergen E. Fischer
39e4c163c9 [FEATURE] make loading attributes interruptable
- also show progress
- fix tracking of canvas extent (OTFR wasn't considered)
2012-01-09 00:43:51 +01:00
Juergen E. Fischer
b8e5a34a92 [FEATURE] allow to disable SelectAtId capability for PostgreSQL provider to
force usage of the attribute table memory model.  Apparently the memory model
was completely disfunctional before.  Fixes included, but it probably needs
more testing.
2011-11-30 01:01:22 +01:00
Juergen E. Fischer
9048107253 [FEATURE] add row cache for attribute table 2011-11-24 14:24:11 +01:00
Juergen E. Fischer
5a3a87fde2 [FEATURE] support 64bit feature ids 2011-06-16 20:30:07 +02:00
Martin Dobias
153ad164fe All customization and QGIS browser work in one commit. 2011-05-13 22:00:46 +02:00