825 Commits

Author SHA1 Message Date
Matthias Kuhn
52ab06e295 python: represent NULL attributes as QPyNullVariant 2013-08-28 13:15:08 +02:00
Juergen E. Fischer
aaef947800 remove line decoration symbol layer (fixes #8379) 2013-08-22 20:54:27 +02:00
Matthias Kuhn
d1768b85fc [SIP] Change all occurences of convert[From|To]Instance to convert[From|To]Type
Removal of these deprecated calls is expected to improve stability
2013-08-13 12:35:49 +02:00
Nathan Woodrow
20e274a413 Add __iter__ for QgsFeature 2013-08-03 22:50:49 +10:00
Matthias Kuhn
8c810328f7 Switch from deprecated sip*Instance* calls to sip*Type* calls
Min SIP version 4.8
2013-07-29 15:16:53 +02:00
Juergen E. Fischer
cf22bcf383 symbology-ng: make dump() methods const 2013-07-22 21:42:44 +02:00
Juergen E. Fischer
aa7c428775 QgsCredentials: fix sip bindings
dbmanager: QgsCredentials is in core (fixes #8345)
2013-07-22 18:06:29 +02:00
Juergen E. Fischer
5d3223127d sync qgsrasterblock sip (followup eaa27aa4f) 2013-07-22 17:20:56 +02:00
Denis Rouzaud
335d7f02b4 raster block: add missing hasNoData method in sip 2013-07-22 15:56:51 +02:00
Nathan Woodrow
0bb9543278 Remove __getattr__, __setattr__ for QgsFeature
Not such a good idea after all :)
2013-07-09 21:03:15 +10:00
Juergen E. Fischer
abd7533fca composer table:
- fix api updates (fixes #7781)
- store/restore geometry of attribute selection dialog
2013-07-08 21:49:07 +02:00
Marco Hugentobler
8f9b89dd67 Clean up code related to old overlay object system 2013-07-06 16:18:30 +02:00
Etienne Tourigny
0789760044 Merge pull request #429 from tecoholic/ramp_srch
added searching of colorramps in style manager
2013-07-03 06:31:02 -07:00
Juergen E. Fischer
c1f8230acc followup 55135d600 2013-06-25 16:04:47 +02:00
Matthias Kuhn
55135d6007 const-correctness for QgsGeometry 2013-06-25 12:16:36 +02:00
Juergen E. Fischer
f1e2fcebdc more interface fixes (missing GUI_EXPORT and sip) 2013-06-24 11:04:24 +02:00
Juergen E. Fischer
146233388c spelling fixes 2013-06-23 16:40:03 +02:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Juergen E. Fischer
99f998aa30 - add missing sip bindings
- port widgets_tree.py to QtXml and update customization.xml (fixes #5752 and  #8054)
2013-06-22 19:41:34 +02:00
Juergen E. Fischer
e4b278d6ed add QgsFontUtils sip bindings and fix doxygen warnings 2013-06-19 23:12:28 +02:00
Matthias Kuhn
c1cd3e84b5 Fix wrong python None type reference counting 2013-06-19 13:03:05 +02:00
Salvatore Larosa
1f10010ebf Fixes #8061 2013-06-17 13:25:28 +02:00
Matthias Kuhn
d0d381a024 Adjust data type 2013-06-16 14:58:50 +02:00
Matthias Kuhn
1aa8a17f98 Fix some memory management issues
aka reduce noise in valgrind memory analyzer
2013-06-15 15:01:54 +02:00
Matthias Kuhn
9fc01a6d1f Fix memory leak in QgsFeature sip api 2013-06-15 11:43:15 +02:00
Matthias Kuhn
b6770be729 [ftools] Fix "Join attributes by location" 2013-06-15 11:43:15 +02:00
Etienne Tourigny
7cceaaf73b replace QgsRasterLayer::buildSupportedRasterFileFilter() with QgsProviderRegistry::instance()->fileRasterFilters() 2013-06-14 13:09:13 -03:00
Radim Blazek
9e14b8eef0 raster DrawingStyle to QgsRaster to avoid circular header include 2013-06-12 10:50:06 +02:00
Nathan Woodrow
f8cafe81b4 Fix build error 2013-06-12 09:32:13 +10:00
Nathan Woodrow
052669f5c5 Fix #8040. Build error with sip 2013-06-12 08:10:22 +10:00
Matthias Kuhn
6381d626a1 Use python None object for NULL attributes 2013-06-11 14:48:29 +02:00
Larry Shaffer
430f0fcb1b Add user notification when defined labeling font is not found on system, then substituted
- [API] add signal to QgsVectorLayer that is emitted when its labeling font is not found
- Message bar notification on first rendering of layer offers link to open layer's labeling dialog
- Add 'font not found' notification to labeling dialog
- Labeling dialog defaults to 'Text style' section when font is not found, to show notice
- Substituted font is not saved with project, unless user applies changes.
- Change labeling gui font selector dialog to font family combobox (since only family is being chosen)
2013-06-09 18:54:08 -06:00
Nathan Woodrow
61e101dd4f Allow keyword args in Python classes. Fix sip headers 2013-06-10 09:22:12 +10:00
Nathan Woodrow
d539739089 Add __getattr__ and __setattr__ to QgsFeature 2013-06-10 09:21:31 +10:00
Nathan Woodrow
e6f98362dc Merge master 2013-06-08 15:59:04 +10:00
Matthias Kuhn
dc860f75ed When calling setFields, automatically initalize attributes
That what you want most of the time when creating a new feature within a plugin.
Therefore defaults to true when used from python, but to false when used from C++
2013-06-05 11:59:50 +02:00
Etienne Tourigny
097536c30c fix buildSupportedRasterFileFilter for sip api v2 2013-06-04 18:25:27 -03:00
Nathan Woodrow
979a11ec0b Fix crash in sip using QString 2013-05-31 09:22:33 +10:00
Juergen E. Fischer
59788cb8fc - sync sip binding of QgsVectorLayer
- [API] introduce signal QgsVectorLayer::beforeRollBack()
- merge consecutive geometry changes (fixes #7929)
- avoid validation in nodetool on rollback
2013-05-29 22:57:05 +02:00
D'Hont René-Luc
287cce06ad Add metadata information for layers
To complete the metadata tab and ilayer information, we add keywordlist,
metadata url and attribution information.
The user can add keywords to his layers, store a metadata url with type
and format and attribution title and url.
These data are reused by QGIS-Sever in the WMS GetCapabilities request.
This capability is sponsored by ifremer.
2013-05-29 15:36:34 +02:00
Matthias Kuhn
cad339d3cf [diagrams] save attribute names instead of indices (fix #7914) 2013-05-28 12:03:40 +02:00
Matthias Kuhn
75896d922d QgsExpression takes const QgsFeature as pointer and by reference 2013-05-22 17:01:55 +02:00
Denis Rouzaud
e741ec947d add select all features methods for vector layers 2013-05-22 11:53:36 +02:00
Larry Shaffer
45f374f428 Update labeling gui and add expression support as data defined value
- Add QgsDataDefined class
- Add QgsDataDefinedButton class
- Add data defined Python support
- Add standalone SVG selector dialog to QgsSvgSelectorWidget class

- Fix for #4607, show only pertinent fields when setting a data defined value
- Fix for #5048 and #5049, data defined settings are literally used
- Fix for #5726, number formatting does not work for expressions
- Fix for #7755, using bufferSize to enable/disable label buffer is confusing
- Fix for #7779, labels do not register in label collision engine; and for #4719, inactive options in labeling dialog
- Prepare label text's expression upfront when preparing layer; makes rendering much faster
- Change name of 'feature obstacles' to appropriate terminology
2013-05-20 12:22:29 -06:00
Juergen E. Fischer
65d3535fc5 - Quantum GIS => QGIS update
- integrate PythonConsole help into main translation
- allow referencing QGIS images in context help(viewer)
2013-05-20 16:48:51 +02:00
nyalldawson
ff41a1d186 [feature] Transparency support for raster color ramps (fix #7847) 2013-05-19 22:50:24 +10:00
Matthias Kuhn
35de29df9b Disallow changing of map layer registry directly
QgsMapLayerRegistry::mapLayers() returned reference is now const
2013-05-17 09:22:21 +02:00
Radim Blazek
378a55ec9b removed raster layer drawing style getter/setter 2013-05-15 17:59:32 +02:00
nyalldawson
519fe2f4ac Add python bindings and tests for grid blending, grid annotation font color, vector feature blending and vector layer transparency 2013-05-13 22:28:00 +10:00
Juergen E. Fischer
a45a9419c5 sip also doesn't like public (followup 0ec5dc4 and fa0a9b7) 2013-05-13 13:47:53 +02:00