783 Commits

Author SHA1 Message Date
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
Radim Blazek
1f872ce69d raster filters moved to pipe node in project file to allow custom filters in future 2013-04-19 17:02:04 +02:00
Marco Hugentobler
9675af0406 Add python bindings for symbology units and data defined functions 2013-04-19 15:21:08 +02:00
Larry Shaffer
046fbeea39 Fix for #7627, wrong label scaling in print or PDF
- Add shadow device dpi output (high resolution)
- [API] Add scaleToPixelContext method to QgsPalLayerSettings for better precision scaling
2013-04-18 06:41:29 -06:00
Radim Blazek
22e54b9210 raster cleanup 2013-04-16 20:06:10 +02:00
Leyan
cc34d14117 update sip file 2013-04-16 22:56:40 +08:00
Radim Blazek
c000ded9e6 raster cleanup 2013-04-16 16:14:12 +02:00
Radim Blazek
1f65f71833 raster cleanup 2013-04-15 15:52:15 +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
Larry Shaffer
8749b29936 Add drop shadow option to labels
- Add option to show debug rectangles for shadows to PAL engine properties
- Add small container class, QgsLabelComponent, for temporal values during generation of label components
- Add static image blurring function to QgsSymbolLayerV2Utils
- Fix rotational offset issue with label backgrounds
2013-04-14 16:11:20 -06: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
Martin Dobias
093d503fe0 Fix QgsMessageLog python wrapper 2013-04-13 11:26:24 +02:00
Radim Blazek
19377fbb8d raster no data value made optional 2013-04-12 18:56:36 +02:00
mhugent
71c45c03fd Merge pull request #460 from 3nids/readListEntryDefault
Added default value argument for readEntryList
2013-04-12 08:48:17 -07:00
Denis Rouzaud
bc67bde0fc add removeAction method to layer actions 2013-04-12 10:20:48 +02:00
Martin Dobias
1a723b4c38 Fix #7549 (selection color is now stored in QgsRendererContext) 2013-04-12 00:35:21 +02:00
Martin Dobias
94639ee61e [API] remove QgsVectorDataProvider::enableGeometrylessFeatures(bool)
Geometryless features are not skipped by default anymore.
2013-04-11 23:38:10 +02:00
Radim Blazek
094a5d8275 QgsRasterBlock::Range to QgsRasterRange 2013-04-10 18:58:19 +02:00
Juergen E. Fischer
6b2af9a209 remove unused layer transparency (and fix some warnings) 2013-04-08 21:58:32 +02:00
Radim Blazek
a3de4c4e0a Added QgsRasterIdentifyResult 2013-04-08 18:26:26 +02:00
Martin Dobias
ba49ef078c [API] Removed QgsSymbol, QgsMarkerCatalgoue and QgsSymbologyUtils 2013-04-07 23:46:57 +02:00