110 Commits

Author SHA1 Message Date
Matthias Kuhn
38030fdb93 [attrtable] Be less verbose by default in debug mode 2013-11-14 17:21:46 +01:00
Matthias Kuhn
ad27dfe1c6 [Expression] redirect duplicate QString expression() to QString dump() 2013-10-31 15:29:29 +01:00
Juergen E. Fischer
e522a207dd fix link errors on windows 2013-10-08 21:16:04 +02:00
Matthias Kuhn
6efde57cb0 Fix more headers 2013-10-07 17:55:00 +02:00
Matthias Kuhn
331f71acba [attrtable] Selection model and request filter
* With a selection model, the way the attribute table handles selections
  can be customized. E.g. synchronized to layer selection or used to pick
  features.
* With request filters, the visible features on an attribute table can be
  limited. This will effectively reduce the subset of features the attribute
  table works on. Additional filters by means of a proxy model can of course
  further reduce the visible subset subsequently.
2013-10-07 16:17:42 +02:00
Juergen E. Fischer
814ae4c781 fix data retrieval in attribute table from geometryless spatialite tables 2013-09-30 13:34:34 +02:00
Matthias Kuhn
0c90f32007 QgsFeatureRequest: New filters FilterExpression and FilterFids 2013-09-18 18:57:52 +01:00
Matthias Kuhn
d4e8e1ff16 [dual view] Propagate sort order to feature view (e.g. selected on top) 2013-09-04 09:36:44 +02:00
Matthias Kuhn
c0659b98c9 [dualview] Fix crash when removing features 2013-09-04 09:15:17 +02:00
Matthias Kuhn
d212cb403e [dualview] Remove unrequired connect() 2013-09-02 20:58:54 +02:00
Matthias Kuhn
a10598733e [dualview] Default preview text shows also up for NULL values 2013-09-02 20:19:47 +02:00
Matthias Kuhn
a6b52b7867 [dualview] Fix add/delete crash and fieldcalc behavior of feature form 2013-09-02 20:19:47 +02:00
Matthias Kuhn
ebfc874bfa [dualview] Fix crash when adding columns with feature form open 2013-09-02 18:25:41 +02:00
Matthias Kuhn
7d1bcb6d6e [dualview] Disable fields when ending an edit session 2013-08-27 10:58:09 +02:00
Matthias Kuhn
8aa779500b Update docstring 2013-08-23 11:30:27 +02:00
Matthias Kuhn
6f574b41ae [dualview] Remove attrs from feature dialog when deleted (Fix #8504) 2013-08-23 11:28:26 +02:00
Matthias Kuhn
16f24112f5 [attrtable] Dismiss cached data when column is removed (Fix #8405) 2013-08-08 12:20:54 +02:00
Matthias Kuhn
8e11a53a15 Fix possible crash on exit 2013-08-02 15:10:17 +02:00
Juergen E. Fischer
8b5f22eef5 - fix runtime gui warnings
- remove xpms
- also use qgis-icon-60x60.png as window icon on linux
2013-07-27 21:51:55 +02:00
Nathan Woodrow
79a524fb60 Disable field in attribute table if field is not editable 2013-07-18 13:22:29 +10:00
Juergen E. Fischer
133398b390 wfs related fixes:
- wfs server: only filter by bbox if there was one given (fixes #8287)
- wfs provider: make feature attribute field types stick to the values
- vector layer properties, field properties: add (Qt) type column
- attribute table: sort Date and DateTime as such
- spatialindex: return false when an exception on insertion occured
2013-07-15 19:10:57 +02:00
Juergen E. Fischer
f1e2fcebdc more interface fixes (missing GUI_EXPORT and sip) 2013-06-24 11:04:24 +02:00
Radim Blazek
b532151c97 GRASS feature id fix, tables selection id fix, fixes #6451 2013-06-12 20:35:30 +02:00
Matthias Kuhn
a98ffed2c6 [attrtable] Fix column synchronization
Columns have been missing, after removing all columns and readding them
2013-05-18 16:25:59 +02:00
Matthias Kuhn
ec6a64f93e [attrtable] Make sure editor widget background is not transparent 2013-05-17 17:49:51 +02:00
Matthias Kuhn
7b1d9e0f2d Small fixes
* Fix minor memory leak in attribute dialog
 * Safety check in dual view
2013-05-17 17:36:33 +02:00
Matthias Kuhn
142223b901 [Fix #7698] Attributetable crashes on close when valuemap is used 2013-05-13 11:06:35 +02:00
Matthias Kuhn
110b87e6a6 [Fix #7784] Browser keeps crashing when navigating the tree 2013-05-13 10:31:09 +02:00
Juergen E. Fischer
d0aa1e47e8 indentation update 2013-05-02 00:02:25 +02:00
Matthias Kuhn
310e2ded4d [attributetable] No autofallback to FilterMode::ShowVisible
As soon as extents of the map canvas changed, the filter showvisible was reapplied without a reason
2013-04-19 13:15:33 +02:00
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
fc715d9488 [attributetable] Usability improvements for filters 2013-04-18 11:30:39 +02:00
Juergen E. Fischer
531898f907 fix warnings 2013-04-17 20:37:52 +02:00
Matthias Kuhn
d3a7e04bd3 Fix feature edit selection in filtered feature list 2013-04-16 16:34:46 +02:00
Matthias Kuhn
1208051b24 Select proper features in filtered feature list 2013-04-16 14:35:40 +02:00
Matthias Kuhn
268c03745f [Fix #7597] Attribute Table: Reintroduce locale aware sorting 2013-04-15 18:17:32 +02:00
Juergen E. Fischer
cb6b9515cd fix crash on close in attribute table (layer cache already destroyed when model dtor is called) 2013-04-15 17:25:23 +02:00
Matthias Kuhn
47fa53e8da QgsVectorLayerCache: include edit buffer changes as well 2013-04-15 14:24:51 +02:00
Matthias Kuhn
2d07fa697e Dual View: Commit feature edits to edit buffer, when the attribute table is closed
or when the view mode is changed
or when the focus is lost
2013-04-15 13:22:41 +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
Juergen E. Fischer
a51fd5f0ce indentation update 2013-04-15 07:16:20 +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
PhilippeDorelon
6d6021558b Update qgsattributetablemodel.cpp 2013-04-11 08:52:10 -03:00
Juergen E. Fischer
6e499c302d fix doxygen warnings 2013-04-10 21:56:13 +02:00
Juergen E. Fischer
6b2af9a209 remove unused layer transparency (and fix some warnings) 2013-04-08 21:58:32 +02:00
Matthias Kuhn
57c23078c7 [FIX #7543] Dual View Table/Form: Preview column not saved in project 2013-04-08 18:26:08 +02:00
Matthias Kuhn
9c9dd2b4cd [FIX #7530] Attribute table: Edited feature not updated in single row
If only a single row was shown, the outdated cached feature would be shown even
when the attribute behind it was edited.
2013-04-08 15:38:08 +02:00
Matthias Kuhn
de2efa70e3 Attribute editor, form view: Change selection behavior
Text background is now used for the current edit selection
The icon shows the feature selection state
2013-04-08 14:21:33 +02:00
Matthias Kuhn
43dfeb5759 Attribute table selection: performance improvements
When selecting features with the mouse (click and drag) only redraw
the map canvas, once the mouse is released.
2013-04-08 13:46:58 +02:00