Re: [QGIS-Developer] QgsMapLayerComboBox add None

2017-06-06 Thread Ing. Pierluigi De Rosa
Thanks good to know. Pierluigi Il giorno mar, 06/06/2017 alle 00.23 +0800, Etienne Trimaille ha scritto: > Yes it's possible with the QGIS 3 API only: > > https://qgis.org/api/classQgsMapLayerComboBox.html#a3f38873230e93d6bc7d73a50671a9c5e > > > > 2017-06-05 23:23 GMT+08:00 Ing. Pierluigi

Re: [QGIS-Developer] QgsMapLayerComboBox add None

2017-06-05 Thread Etienne Trimaille
Yes it's possible with the QGIS 3 API only: https://qgis.org/api/classQgsMapLayerComboBox.html# a3f38873230e93d6bc7d73a50671a9c5e 2017-06-05 23:23 GMT+08:00 Ing. Pierluigi De Rosa : > Dear all, > > into the QgsMapLayerComboBox is there a simple way to add the

[QGIS-Developer] QgsMapLayerComboBox add None

2017-06-05 Thread Ing. Pierluigi De Rosa
Dear all, into the QgsMapLayerComboBox is there a simple way to add the --None-- option for the list of layer? Normally the widget is already full of all layer but I need also the option: no layer What is the best solution to do that? Thanks Pierluigi -- --