Re: [Qgis-developer] Any UI/UX plans for QGIS3?

2016-12-03 Thread Christophe Damour
+1 for this one ! -- Christophe Le 03/12/2016 à 10:31, Paolo Cavallini a écrit : Il 03/12/2016 04:54, Nyall Dawson ha scritto: Here's another idea for a great project t which doesn't involve c++/python: check through and delete unused png icons. Hi all, love these cleanups, thanks a lot for

Re: [Qgis-developer] Fwd: Toolbars - SVG icons management - QGIS 2.16

2016-08-19 Thread Christophe Damour
transform those into paths. Math On Fri, Aug 19, 2016 at 1:25 PM, Christophe Damour <mailto:sig...@sigeal.com>> wrote: Hi, Has anything changed regarding the way SVG icons are handled in QGIS 2.16 ? My python plugin's toolbar doesn't display well anym

[Qgis-developer] Fwd: Toolbars - SVG icons management - QGIS 2.16

2016-08-18 Thread Christophe Damour
Hi, Has anything changed regarding the way SVG icons are handled in QGIS 2.16 ? My python plugin's toolbar doesn't display well anymore in QGIS 2.16 : - QGIS 2.14 : - QGIS 2.16 : My SVGs are 64x64 pixels, and I add them to the toolbar using this code : QIcon(os.path.join(pluginDir, 'icons/con

[Qgis-developer] SpatiaLite layers not displaying in QGIS 2.14, works ok in QGIS 2.8

2016-05-31 Thread Christophe Damour
Hi, I posted an issue about once month ago about SpatiaLite layers not displaying in QGIS 2.14 whereas they do in QGIS 2.8 : https://hub.qgis.org/issues/14626 This issue has been corrected by Jürgen - thanks so much to him - but the target version is 2.16. As 2.14 is meant to be next LTR, I wo

Re: [Qgis-developer] Images and button in Qt Designer

2016-05-06 Thread Christophe Damour
You could try : pyrcc4.exe -o resources_rc.py resources.qrc -- Christophe Le 06/05/2016 à 10:04, matteo a écrit : Hi guys, I'm facing a very annoying problem. In some UI of a plugin I need to add some icons in a QPushButton. Qt Designer allows to add icons in 2 ways (I think): 1. by choosi

Re: [Qgis-developer] Problems importing layers to SpatiaLite database

2016-04-07 Thread Christophe Damour
keep PostGis primary key when importing to SpatiaLite with QGIS Database Manager ? - How to workaround this problem ? Thank you for helping, -- Christophe Le 07/04/2016 à 14:01, Christophe Damour a écrit : Hi, I am trying to import a PostGis layer into a SpatiaLite database, using QGIS Dat

[Qgis-developer] QGIS 2.14 LTR ?

2016-03-05 Thread Christophe Damour
Hi, I am wondering which QGIS version is current LTR. Changelog says that 2.14 is LTR : http://qgis.org/en/site/forusers/visualchangelog214/ But QGIS home page says current LTR is 2.8.7 : https://www.qgis.org/en/site/ Do I miss something ? -- Christophe ___

[Qgis-developer] setSubSymbol causes QGis crash

2015-11-16 Thread Christophe Damour
Hi, I am having problems creating a multilayer line symbol with this code : symbol = QgsLineSymbolV2.createSimple({}) symbol.deleteSymbolLayer(0) symbolLine = QgsSimpleLineSymbolLayerV2() symbol.appendSymbolLayer(symbolLine) symbolArrow = QgsMarkerSymbol

Re: [Qgis-developer] Integer fields converted to text when exported from SQLite

2015-03-08 Thread Christophe Damour
Hi Roy, Sorry for posting to your mail, I clicked the wrong button. Thank you for the suggestion. It works. However, I wonder why exporting through QSpatialite doesn't do the same job... I am still looking for a straight forward solution I could integrate in au QGis python plugin. -- Chris

[Qgis-developer] Integer fields converted to text when exported from SQLite

2015-03-05 Thread Christophe Damour
Hi, When I save a SpatiaLite layer as a shp or tab layer, every integer field gets converted to a text field. Same problem if I export the layer to shp from DB Manager. Did someone ever experienced this problem ? I work on Windows 7 64 bits, with QGis 2.6.1 64 bits. Thanks for any hint, -- C

Re: [Qgis-developer] Diagram transparency

2015-01-06 Thread Christophe Damour
the integrity of the layer properties dialog. Hope this can help someone, -- Christophe DAMOUR Le 03/01/2015 15:21, Christophe Damour a écrit : Hi, I can't manage to make diagrams layers transparent using python. Here is what I do : dr = QgsLinearlyInterpolatedDiagramRen

[Qgis-developer] Diagram transparency

2015-01-03 Thread Christophe Damour
n the layer properties dialog, transparency is correctly set in the diagram's appearence tab. Moreover, if I validate the dialog, the diagrams become transparent... Is this a bug or am I doing something wrong ? Thanks for any help, -- Christophe DAMOUR --- Ce courrier électronique ne cont

[Qgis-developer] QgsDiagramRendererV2 and QgsLinearlyInterpolatedDiagramRenderer properties access

2015-01-03 Thread Christophe Damour
of a QgsLinearlyInterpolatedDiagramRenderer one. So when I try to set the new upper value, I get this error : AttributeError: 'QgsDiagramRendererV2' object has no attribute 'setUpperValue' Can someone tell me what I am doing wrong ? Any hint greatly appreciated. Thanks in advance, -- Christophe DAMOUR --- Ce