Juergen E. Fischer
9752c468c1
indentation update
2015-07-29 11:52:14 +02:00
Nyall Dawson
7314047698
Fix missing doc strings due to invalid doxygen tags
2015-04-30 17:26:58 +10:00
Juergen E. Fischer
abd4a04399
sip update
2015-02-03 02:21:52 +01:00
Martin Dobias
11d331dd66
Add QgsMapLayer::importNamedStyle() functions
...
Like this we do not need to use a temporary file to load a style
2015-01-16 14:14:41 +07:00
Martin Dobias
8b5587fe13
Improve the internals of map layer style manager
...
- style manager is always enabled (client code does not need to distinguish between enabled/disabled state)
- layers currently active style is stored only in QgsMapLayer - in style manager it has entry with no data (avoids duplication of data)
This also solves issues with visibility presets and styles when some presets do not have stored style
2015-01-09 17:04:26 +07:00
Martin Dobias
2144be0ac1
Add Python bindings for map layer style manager
2015-01-07 20:15:11 +07:00
Nyall Dawson
8a182b7f34
Clean up QgsMapLayer scale based visibility api
2014-12-05 20:39:09 +11:00
Juergen E. Fischer
a57066a48d
* fix cppcheck warnings
...
* some sip updates
* [API] fix spelling QgsMultiRenderChecker::drawBackround
* [API] fix spelling QgsSymbolLayerV2Utils::drawStippledBackround
* [API] fix spelling QgsMapSettings::layerTransfrom
2014-11-20 15:02:35 +01:00
Juergen E. Fischer
82b6e0342a
cosmetic cleanups, typo fixes, formatting
2014-10-21 01:33:20 +02:00
Martin Dobias
fba5c5a656
Move triggerRepaint() to QgsMapLayer, use it instead of deprecated clearCacheImage()
2014-09-11 23:52:21 +07:00
Martin Dobias
57dcfca487
Legend refactoring: first steps towards legend customization
...
- map layers have associated QgsMapLayerLegend instance
- QgsMapLayerLegend is interface for generation of legend with some default implementations
- QgsLayerTreeModelLegendNode is interface for representation of legend item in layer tree model with some default implementations
2014-07-17 20:49:30 +02:00
Martin Dobias
62e499e1be
Promote rendererChanged() signal from raster+vector layer to base map layer
2014-05-26 21:29:28 +07:00
Juergen E. Fischer
bbdf7cd220
sync some sip bindings
2014-05-18 15:22:32 +02:00
Nathan Woodrow
317a5094c4
Support multi layers in QLR files
2014-05-18 22:22:06 +10:00
Martin Dobias
9e42c5bc7f
Fix support for setCacheImage() to enforce refresh of a layer
2014-03-25 18:58:00 +01:00
Nathan Woodrow
3c3872176c
Add load and saving a Layer Definition file. Fix #9688
2014-03-10 09:19:38 +10:00
Martin Dobias
5a4f8d07a0
Change "added/deprecated in 2.1" notes to 2.4 for stuff related to threading
2014-02-21 17:33:09 +07:00
Martin Dobias
a3af93394e
Merge branch 'master' into threading-revival
...
Some features are still disabled - will be fixed later
Conflicts:
python/core/composer/qgscomposition.sip
python/core/diagram/qgsdiagram.sip
python/core/diagram/qgshistogramdiagram.sip
python/core/diagram/qgspiediagram.sip
python/core/diagram/qgstextdiagram.sip
python/core/qgsdiagramrendererv2.sip
python/core/qgsfield.sip
python/core/qgslabelsearchtree.sip
python/core/qgsmaprenderer.sip
python/core/qgsrenderchecker.sip
python/core/symbology-ng/qgssymbollayerv2.sip
python/gui/qgsmapcanvas.sip
src/app/composer/qgscomposerlegendwidget.cpp
src/app/qgisapp.cpp
src/core/composer/qgsatlascomposition.cpp
src/core/composer/qgscomposerattributetable.cpp
src/core/composer/qgscomposermap.cpp
src/core/composer/qgscomposition.cpp
src/core/composer/qgscomposition.h
src/core/diagram/qgsdiagram.h
src/core/diagram/qgshistogramdiagram.cpp
src/core/diagram/qgshistogramdiagram.h
src/core/diagram/qgspiediagram.cpp
src/core/diagram/qgspiediagram.h
src/core/diagram/qgstextdiagram.cpp
src/core/diagram/qgstextdiagram.h
src/core/qgsdiagramrendererv2.cpp
src/core/qgsdiagramrendererv2.h
src/core/qgsmaprenderer.cpp
src/core/qgsmaprenderer.h
src/core/qgsnetworkaccessmanager.h
src/core/qgspallabeling.cpp
src/core/qgsrenderchecker.h
src/core/qgsvectorlayer.cpp
src/core/qgsvectorlayer.h
src/core/qgsvectorlayerfeatureiterator.cpp
src/core/qgsvectorlayerfeatureiterator.h
src/core/raster/qgsrasterlayer.cpp
src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
src/core/symbology-ng/qgssymbollayerv2.cpp
src/core/symbology-ng/qgssymbollayerv2.h
src/core/symbology-ng/qgssymbolv2.cpp
src/gui/qgshighlight.cpp
src/gui/qgsmapcanvas.cpp
src/gui/qgsmapcanvas.h
src/gui/qgsmapcanvasitem.cpp
src/gui/qgsmaptoolidentify.cpp
src/plugins/georeferencer/qgsgeorefplugingui.cpp
src/providers/memory/qgsmemoryfeatureiterator.cpp
src/providers/ogr/qgsogrfeatureiterator.cpp
src/providers/ogr/qgsogrfeatureiterator.h
src/providers/ogr/qgsogrprovider.cpp
src/providers/oracle/qgsoraclefeatureiterator.cpp
src/providers/oracle/qgsoracleprovider.cpp
src/providers/postgres/qgspostgresconn.cpp
src/providers/postgres/qgspostgresfeatureiterator.cpp
src/providers/postgres/qgspostgresfeatureiterator.h
src/providers/wfs/qgswfsfeatureiterator.cpp
src/providers/wms/qgswmsprovider.cpp
src/providers/wms/qgswmsprovider.h
src/ui/qgsoptionsbase.ui
tests/src/core/CMakeLists.txt
tests/src/core/testqgscomposereffects.cpp
tests/src/core/testqgscomposerhtml.cpp
tests/src/core/testqgscomposerscalebar.cpp
tests/src/core/testqgscomposershapes.cpp
2014-02-18 11:28:46 +07:00
Juergen E. Fischer
74e7314c36
update sip bindings II
2014-01-27 09:22:53 +01:00
Marco Hugentobler
a5b0e04585
Consider scale based visibility in dxf export. Const correctness for maplayer accessors
2014-01-21 09:18:22 +01:00
Martin Dobias
2bece090f5
Update Python bindings to match changes in core/gui libraries.
2013-12-05 18:27:45 +07:00
Hugo Mercier
bf076a0c1f
Emit a signal when layer symbology changes
2013-10-04 09:59:18 +02:00
Juergen E. Fischer
3854086d47
sip update
2013-06-23 16:00:24 +02: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
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
nyalldawson
2298cae87a
Add sip bindings for layer blend modes
2013-04-22 11:11:44 +10:00
Juergen E. Fischer
6b2af9a209
remove unused layer transparency (and fix some warnings)
2013-04-08 21:58:32 +02:00
Larry Shaffer
94491b8479
[FEATURE] Add style options for legend layer/groups, and live refresh of all legend style options
...
- Based of off work from Stefan Ziegler (pull request #331 )
- Options inherited by embedded groups (which are still always italic)
- Original layer name now saved to project file (instead of adjusted display name)
- Fix bug where setting capitalization, then saving/reopening would permanently set capitalization
- [API] Add originalName() to QgsMapLayer to access original (pre-adjusted name)
- [API] Add setupFont() method to legend group items
- [API] Add updateLegendItemStyles() and updateLegendItemSymbologies() to QgsLegend to allow style option changes to become active without app restart
2013-01-28 16:22:48 -07:00
Martin Dobias
5f304b34a1
Merge remote-tracking branch 'origin/master' into new_vector_api
...
Conflicts:
python/core/qgsvectordataprovider.sip
src/app/legend/qgslegendlayer.cpp
src/app/qgisapp.cpp
src/app/qgsmergeattributesdialog.cpp
src/core/qgsvectordataprovider.cpp
src/core/qgsvectordataprovider.h
src/core/qgsvectorlayer.cpp
src/gui/qgssearchquerybuilder.cpp
src/providers/postgres/qgspostgresprovider.cpp
src/providers/wfs/CMakeLists.txt
2013-01-23 23:46:56 +01:00
Juergen E. Fischer
190c0511bc
fix most cppcheck warnings and implement suggestions
...
also update and sync some sip interfaces
2014-01-05 16:11:36 +01:00
Alexander Bruy
5e45a22d06
remove deprecated methods from API
2012-12-23 10:40:23 +02:00
Martin Dobias
51122d263a
Store attributes and fields in vectors instead of maps
2012-10-20 22:19:55 +02:00
Juergen E. Fischer
f3cb57b1eb
SIP bindings update:
...
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Etienne Tourigny
2bd054c8e0
fix .qml file loading in /vsigzip and /vsizip items
2012-04-24 22:27:28 -03:00
Juergen E. Fischer
76890768de
fix warnings from clang
2012-02-11 16:57:50 +01:00
Marco Hugentobler
21fa9cd3c1
Added title / abstract to python bindings
2011-12-16 11:58:09 +01:00
Marco Hugentobler
a29b49f040
Add consts also to sip file for QgsMapLayer
2011-08-17 13:04:01 +02:00
jef
155b9996d1
deprecate QgsMapLayer::srs()
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15346 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-05 22:09:01 +00:00
jef
ce8e3d5f05
add 'deprecated' annotation to SIP bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-19 13:24:24 +00:00
jef
132088f6d2
fix API QgsMapLayer::getLayerID() to id()), some warnings and use doxygen deprecation tag.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15168 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-13 20:24:55 +00:00
mhugent
2222397334
[FEATURE]: added reload method to map layers and provider interface. Like this, caching providers (currently WMS and WFS) can synchronize with changes in the datasource
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-20 11:27:12 +00:00
wonder
9f7b2c7226
Fixed setCacheImage() python binding.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14053 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-11 07:43:19 +00:00
wonder
857680bdba
PyQGIS: small fixes for handling of QML styling.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12949 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-16 10:22:29 +00:00
wonder
8f32f25a90
[FEATURE] Support for custom plugin layers. Applied patch from #2392 contributed by Mathias Walker. Thanks!
...
Some parts modified to make plugin layers easier to use and more robust.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-26 15:43:54 +00:00
wonder
4a47cd6125
Update bindings with changes in r12405
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12407 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-11 15:44:48 +00:00
wonder
55c3c7bcc7
Updated version of QGIS when the new function were added to 1.4
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 11:53:50 +00:00
wonder
961742e243
Symbology-NG branch merged to trunk. This includes also work on labeling done during my GSoC'09.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 10:36:24 +00:00
cfarmer
b4a6b417db
Update QgsMapLayer to current naming convention for CRS; srs() function left for API compatability (note was added to warn of future changes in 2.0)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11943 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-07 08:47:44 +00:00
jef
2872f0f057
fix sip error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-24 20:34:18 +00:00