Re: [QGIS-Developer] get visibility from layout items with python

2018-11-07 Thread Raymond Nijssen
On 08-11-18 08:20, Nyall Dawson wrote: On Thu, 8 Nov 2018 at 17:18, Raymond Nijssen wrote: I'm also using setVisible() now, instead of setVisibility(). But now I wonder why the latter exists. Check the API dox -- there's a specific note there that you need to call setVisibility instead of

Re: [QGIS-Developer] get visibility from layout items with python

2018-11-07 Thread Nyall Dawson
On Thu, 8 Nov 2018 at 17:18, Raymond Nijssen wrote: > I'm also using setVisible() now, instead of setVisibility(). But now I > wonder why the latter exists. Check the API dox -- there's a specific note there that you need to call setVisibility instead of setVisible, or visiblity won't work

Re: [QGIS-Developer] get visibility from layout items with python

2018-11-07 Thread Raymond Nijssen
On 08-11-18 08:08, Nyall Dawson wrote: On Thu, 8 Nov 2018 at 17:02, Raymond Nijssen wrote: In the python api, QgsLayoutItems have a setter for the visibility, but i cannot find a way to retrieve the visibility setting. https://qgis.org/pyqgis/master/core/Layout/QgsLayoutItem.html I would

Re: [QGIS-Developer] get visibility from layout items with python

2018-11-07 Thread Nyall Dawson
On Thu, 8 Nov 2018 at 17:02, Raymond Nijssen wrote: > > In the python api, QgsLayoutItems have a setter for the visibility, but > i cannot find a way to retrieve the visibility setting. > > https://qgis.org/pyqgis/master/core/Layout/QgsLayoutItem.html > > > I would like to do this: > > item =

[QGIS-Developer] get visibility from layout items with python

2018-11-07 Thread Raymond Nijssen
In the python api, QgsLayoutItems have a setter for the visibility, but i cannot find a way to retrieve the visibility setting. https://qgis.org/pyqgis/master/core/Layout/QgsLayoutItem.html I would like to do this: item = QgsLayoutItemLabel() # I get this from my layout

Re: [QGIS-Developer] Problems opening .grib data in QGIS 3.4

2018-11-07 Thread Saber Razmjooei
Hi Tim, I tried your dataset and got the same error in QGIS. Then when I tried to download the netcdf version (which sometimes works better with mesh in QGIS): #!/usr/local/bin/python import cdsapi c = cdsapi.Client() c.retrieve( "reanalysis-era5-complete", { "class": "ea",

[QGIS-Developer] Problems opening .grib data in QGIS 3.4

2018-11-07 Thread Tim Sutton
Hi All./ Martin I’m trying to get some mesh data for a presentation to a bunch of climate geeks later today. I tried grabbing a sample dataset from ECMWF/Copernicus like this: #!/usr/local/bin/python import cdsapi c = cdsapi.Client() c.retrieve( "reanalysis-era5-complete", { "class":

[QGIS-Developer] Browser Panel too slow Issue

2018-11-07 Thread Jorge Almerio
Hi devs, After update from Qgis 3.3.x to Qgis 3.4.1, the browser panel became too slow. I had to close it to use QGis. Does someone realized this issue? Sorry if it is not the right place for this, Regards, Jorge Almerio ___

Re: [QGIS-Developer] Vertex Tool for current layer don't work

2018-11-07 Thread Denis Rouzaud
yes, replace all enumValue by value and all setEnumValue by setValue. Le mer. 7 nov. 2018 à 10:10, andreaerdna a écrit : > 3nids wrote > > 1. In console, do: QgsSettings().enumValue( "UI/defaultVertexTool" ) > > Probably > QgsSettings().value( "UI/defaultVertexTool" ) > > Isn't it? > > Andrea >

Re: [QGIS-Developer] Vertex Tool for current layer don't work

2018-11-07 Thread andreaerdna
3nids wrote > 1. In console, do: QgsSettings().enumValue( "UI/defaultVertexTool" ) Probably QgsSettings().value( "UI/defaultVertexTool" ) Isn't it? Andrea -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___

Re: [QGIS-Developer] Vertex Tool for current layer don't work

2018-11-07 Thread Denis Rouzaud
Hi Carlos, I suspect this is the issue with QVariant and meta enums that affect Qt < 5.6.2, although I don't see clearly in the code where would be the issue. To confirm, what Qt version do you have on Mint? Could you do following steps: 1. In console, do: QgsSettings().enumValue(

[QGIS-Developer] Plugin [1211] Settings Manager approval notification.

2018-11-07 Thread noreply
Plugin Settings Manager approval by pcav. The plugin version "[1211] Settings Manager 2.18.3" is now approved Link: http://plugins.qgis.org/plugins/SettingsManager/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] Vertex Tool for current layer don't work

2018-11-07 Thread Carlos López PSIG
Hi, The new tool for select vertex in current layer doesn't work for me, Both tool select all vertex from all layers. Computer 1 SO: Linux Mint 19 & QGIS: 3.4.1 Select all vertex always, although you choose "Select vertex from current layers" Computer 2: SO Win10 & QGIS 3.5.0 Select vertex from