Nyall Dawson
df3a43ff7e
Add missing overrides
2017-05-25 12:31:06 +10:00
Nyall Dawson
85d463052a
QgsFeatureSource/Sink can be stored in QVariant
2017-05-25 12:31:06 +10:00
Nyall Dawson
4647662664
Add crs, fields, wkbType and featureCount to QgsFeatureSource
2017-05-25 12:31:06 +10:00
Nyall Dawson
8bfeb8f73b
QgsVectorLayer, QgsVectorDataProvider are QgsFeatureSources
2017-05-25 12:31:06 +10:00
Nyall Dawson
ce063b8691
Add QgsFeatureSource interface as interface for classes which
...
provide feature iterators via a getFeatures method
2017-05-25 12:31:06 +10:00
Nyall Dawson
13a3f2f88a
More windows build fixes
2017-05-25 12:30:41 +10:00
Juergen E. Fischer
dcc571559c
Revert "fix windows build (followup dd40a3d)"
...
This reverts commit b3f2fe2b5504ef3dbb57c719c8da57ddbf7e621f.
2017-05-25 01:33:51 +02:00
Nyall Dawson
955f5b1916
Merge pull request #4628 from nyalldawson/fix_16390
...
[composer] Refresh data defined properties after page size changes
2017-05-25 07:44:45 +10:00
Nyall Dawson
5b0bc93834
Rename QgsJSONExporter/Utils to QgsJsonExporter/Utils
...
Follows proper QGIS/Qt capitalization convention
2017-05-25 07:43:03 +10:00
Nyall Dawson
4b33e2fb1c
Small optimisations
2017-05-25 07:36:04 +10:00
Nyall Dawson
a5e3f1931b
Use field formatter when exporting feature attributes to JSON
...
This means that field values which utilise widget setups like
value maps will correctly show the "friendly" value
for the field, instead of the raw values.
2017-05-25 07:29:53 +10:00
Nyall Dawson
987f80a4ce
Use weak layer pointer instead of layer id in QgsJsonExporter
2017-05-25 07:29:53 +10:00
Denis Rouzaud
f63adfe145
[sipify] keep external forward declaration
2017-05-24 15:39:46 +02:00
Denis Rouzaud
09d3e2ff3a
sipify core effects
2017-05-24 15:39:46 +02:00
Denis Rouzaud
827c19f2e7
QgsCharacterSelectorDialog: rename file name according to class name
2017-05-24 15:22:09 +02:00
Denis Rouzaud
3f0017a46d
sipify gui part 2
2017-05-24 15:22:09 +02:00
Denis Rouzaud
f5e66dd227
[sipify] handle constrained annotation
2017-05-24 14:49:28 +02:00
Denis Rouzaud
563e7c17fc
sipify gui part 3
2017-05-24 14:49:28 +02:00
Denis Rouzaud
cc5e713e83
sipify gui part 4
2017-05-24 13:48:03 +02:00
Denis Rouzaud
801a0ea537
sipify gui part 5
2017-05-24 10:44:30 +02:00
Nyall Dawson
599db1b7fd
[composer] Refresh data defined properties after page size changes
...
Fix #16390
2017-05-24 18:15:19 +10:00
Denis Rouzaud
5f6d020b13
add default constructors to QgsFieldFormatter inherited classes
2017-05-24 09:57:52 +02:00
Denis Rouzaud
cf68aed755
sipify core field formatter
2017-05-24 09:57:52 +02:00
Denis Rouzaud
30a7e44d57
[sip] handle Deprecated annotations
...
some additional fixes in headers too
2017-05-24 09:49:46 +02:00
Denis Rouzaud
694c8113e5
sipify gui part 1
2017-05-24 09:49:46 +02:00
Juergen E. Fischer
5c6ab71342
spelling fix
2017-05-24 09:43:16 +02:00
Juergen E. Fischer
b3f2fe2b55
fix windows build (followup dd40a3d)
2017-05-24 08:00:03 +02:00
Denis Rouzaud
dd40a3dfe1
sipify diagram classes
2017-05-24 07:24:31 +02:00
Denis Rouzaud
8157cf6e44
template classes are not imperatively exported
...
followup a14ad32b676664cef99f4d43f0a54b4d1ee88f52
fixes win build
2017-05-24 07:22:59 +02:00
Luigi Pirelli
f1383e240a
Avoid row sorts during attribute editing in AttributeTable Fix #15976
2017-05-23 21:56:26 +02:00
Denis Rouzaud
2929f9d693
[sip] more reverse engineering
2017-05-23 21:03:56 +02:00
Alessandro Pasotti
fe9594f668
[bugfix] Fixes an unreported crash in WFS
2017-05-23 17:10:39 +02:00
Denis Rouzaud
a14ad32b67
sipify QgsVectorLayerFeatureIterator
2017-05-23 15:02:55 +02:00
Denis Rouzaud
8d2f42af2d
reverse sipify override methods
2017-05-23 13:40:01 +02:00
Denis Rouzaud
00fcc6e0cd
sipify auth classes
2017-05-23 11:43:34 +02:00
Denis Rouzaud
e99f54854b
sipify batch
2017-05-23 10:35:12 +02:00
Nyall Dawson
90bef91d66
Revert "Immediately show progress bar when opening attribute table"
...
This reverts commit 80a000cd98f3caa90d43f44e0b4bde22cffc1c43.
Causes issues with relation editor widgets
2017-05-23 10:30:59 +10:00
Nyall Dawson
381eef08c6
Microoptimise opening attribute table - don't call sort on model when no sort order set
2017-05-23 10:09:17 +10:00
Nyall Dawson
ebee101969
Microoptimise and avoid cache lookup when no sort order set
2017-05-23 10:04:44 +10:00
Nyall Dawson
80a000cd98
Immediately show progress bar when opening attribute table
...
...instead of waiting 1 second before first showing it. It's a
placebo which doesn't affect the actual opening time, but
makes it seem more responsive to users by avoiding the
initial 1 second blocking delay before any feedback is
given.
2017-05-23 09:59:56 +10:00
Nyall Dawson
0b95c7764d
Don't prefetch attribute table sort values when no sorting set
...
Shaves some seconds off opening the attribute table in certain
circumstances (no sorting applied)
Refs #16577 , #16239
2017-05-23 09:59:14 +10:00
Nyall Dawson
ebd3e0d7a5
Greatly speed up attribute table loading
...
Don't advise for rows added when a model reset is in progress.
Otherwise the rows are tested for sort order, etc triggering
a bunch of useless calculations, given that the model is in
the process of being reset anyway.
Tested using a 150k point shapefile, decreased attribute table
load times from 50+ seconds to 4 seconds.
Refs #16577 , #16239
(forward port from b97a980b99a32f7cbbb8cc32ac6a781246df1171)
2017-05-23 09:35:14 +10:00
Salvatore Larosa
48ecee5643
[processing] fix duplicates fields name in field calculator algorithm when switching between layers (followup c2699b4)
2017-05-22 23:29:26 +02:00
Juergen E. Fischer
403dc35dac
don't set friendly name without sublayers (followup e0a2267; fixes #16593 , #16594 , #16598 )
2017-05-22 21:43:48 +02:00
Nathan Woodrow
7fee0b2036
[mssql] Ignore computed columns in insert/update
2017-05-22 22:31:53 +10:00
rldhont
2b39c1e1e9
Merge pull request #4597 from rldhont/server-wms-configparser-getcapabilities-part2
...
[Server] WMS GetCapabilities refactoring - Part 2
2017-05-22 12:42:48 +02:00
Denis Rouzaud
d93d0a8066
[sipify] detect multiple variable declarations oneliners
2017-05-22 10:17:51 +02:00
Denis Rouzaud
1df3c51606
sipify batch
2017-05-22 10:12:08 +02:00
Nyall Dawson
2a5420a7d0
Fix debug noise
2017-05-22 12:17:40 +10:00
Nyall Dawson
9e331dc0d3
Fix duplicate layout warnings
2017-05-22 12:17:40 +10:00