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
Marco Hugentobler
0ec5dc4852
sip does not like CORE_EXPORT and Q_OBJECT
2013-05-13 09:02:21 +02:00
Juergen E. Fischer
fa0a9b75fe
don't reload the whole browser model when the project home changes ( fixes #7520 )
2013-05-12 23:23:24 +02:00
Juergen E. Fischer
e0907b0f0a
more spelling fixes
2013-05-03 21:39:28 +02:00
Juergen E. Fischer
ea1aaeae01
cleanup style to db:
...
- add sip bindings to new methods
- table name, sql queries and constants should not be translated
- replace QVector<QString> with QStringList
2013-05-03 00:25:39 +02:00
Matthias Kuhn
def681c226
Add API to write and read custom data to the layer in a .qgs-file.
...
New signals:
* void QgsProject::writeMapLayer( QgsMapLayer*, QDomElement&, QDomDocument& )
* void QgsProject::readMapLayer( QgsMapLayer*, const QDomElement& )
Changed method signature:
* bool QgsMapLayer::readXML( const QDomNode& )
=> bool QgsMapLayer::readLayerXML( const QDomElement& )
* bool QgsMapLayer::writeXML( QDomNode&, QDomDocument& )
=> bool QgsMapLayer::writeLayerXML( QDomElement&, QDomDocument& )
2013-05-02 09:40:26 +02:00
Tim Sutton
c460a4bd75
Merge pull request #533 from leyan/customCRS_API
...
Custom crs api
2013-05-01 14:15:27 -07:00
nyalldawson
9e870c7893
Add tests for python bindings for composer item blending and transparency
...
Add python bindings for composer item background
2013-05-01 14:05:43 +10:00
Nyall Dawson
4c42cb1ea5
Merge pull request #567 from nyalldawson/overview
...
Add blending mode for overview frame, option to invert overview frame
2013-04-30 05:27:07 -07:00
Radim Blazek
229419ee13
raster cleanup
2013-04-29 17:29:29 +02:00
Denis Rouzaud
42fc689e60
added layerToMapCoordinates for rectangles, and more detailed comments
2013-04-29 14:53:06 +02:00
nyalldawson
171973a54f
Add blending mode for overview frame, option to invert overview frame
2013-04-29 21:48:49 +10:00
Radim Blazek
33d13ccca7
raster cleanup
2013-04-29 13:28:05 +02:00
Radim Blazek
5533d571c8
common raster enums moved to raster namespace
2013-04-24 17:18:33 +02:00
Matthias Kuhn
b98db8842b
[ Fix #7674 ] Transfer ownership of layer to C++ when added to the registry
2013-04-23 10:42:14 +02:00
Borys Jurgiel
2073f87a22
Disable encoding combobox in layer properties dialog for OGR provider with OLCStringsAsUTF8==true (so when it doesn't work anyway). Patch from Minoru Akagi.
2013-04-22 22:13:12 +02:00
nyalldawson
13d7ced401
Add SIP bindings for composer item blend mode and transparency
2013-04-22 14:16:30 +10:00
nyalldawson
2298cae87a
Add sip bindings for layer blend modes
2013-04-22 11:11:44 +10:00
Matthias Kuhn
193b6154d2
QgsMapLayerRegistry add/remove signals reworked
...
* "theEmitSignal" parameter renamed to addToLegend
* layer(s)WillBeRemoved has no more "theEmitSingal" parameter
* layer(s)WillBeRemoved and layer(s)(Was)Added emitted in every case
* legendLayersAdded( QList<QgsMapLayer*> theMapLayers ) signal added
* removedAll renamed to removeAll (is emitted BEFORE layers are removed)
2013-04-20 13:50:25 +02:00
Radim Blazek
e5366b06c6
python QgsField.__len__() fix; fixes PyQgsMemoryProvider and PyQgsVectorLayer test on platforms with SIP < 4.10.3
2013-04-20 11:20:15 +02:00
Radim Blazek
97d39b554f
Deleted QgsFreakOutShader
2013-04-20 09:24:24 +02:00
Radim Blazek
8b18577a67
raster cleanup
2013-04-19 21:10:38 +02:00