Re: [Qgis-developer] Report 2 - QGIS Symbology Sharing Tools

2016-06-05 Thread Alessandro Pasotti
2016-06-05 10:13 GMT+02:00 Richard Duivenvoorde : > On 05-06-16 09:02, Akbar Gumbira wrote: > > > *Are you blocked on anything?* > > ... In Github or Bitbucket they provide a direct link to > > the raw file. But I think I should look at more general approach without > > manipulating the URL depend

Re: [Qgis-developer] QGIS on Mac with Qt5, PyQt5 and Py3

2016-06-05 Thread Larry Shaffer
Hey Nyall, On Sat, Jun 4, 2016 at 4:24 PM, Nyall Dawson wrote: > > I suspect you're building with deprecated code enabled. Can you change the > cmake option (I think it's "with_deprecated") and rebuild/retest? > Looks like it was already set: DISABLE_DEPRECATED:BOOL=ON. http://drive.dakotacarto.c

Re: [Qgis-developer] Python Sorting a Layer Selector

2016-06-05 Thread Heikki Vesanto
Hey Nyall, That seems to have work perfectly. My code is condensed to: selecting_layer = self.dlg.selectWithCombo.currentLayer() select_from_layer = self.dlg.selectFromCombo.currentLayer() Making much of the former functions of. Clearing: self.dlg.selectWithCombo.clear() self.dlg.selectFromCom

Re: [Qgis-developer] Python Sorting a Layer Selector

2016-06-05 Thread Nyall Dawson
On 6 June 2016 at 08:23, Heikki Vesanto wrote: > Hi Nyall, > > That seems like a great solution. I can get the combo boxes looking as > expected with ordering an layer type indicators. Another advantage is that the built in box automatically handles layer removal and additions, without any extra

Re: [Qgis-developer] Python Sorting a Layer Selector

2016-06-05 Thread Heikki Vesanto
Hi Nyall, That seems like a great solution. I can get the combo boxes looking as expected with ordering an layer type indicators. Do you have an example of getting the selection results from that, or a plugin that is currently using it? With the QComboBox I use: index1 = self.dlg.selectWithComb

[Qgis-developer] useful info

2016-06-05 Thread Gabriel Roldan
Hello, I've recently read some useful information, I guess it might be useful for you too, please read at Take care, Gabriel Roldan ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List inf

Re: [Qgis-developer] Python Sorting a Layer Selector

2016-06-05 Thread Nyall Dawson
On 6 Jun 2016 6:28 AM, "Heikki Vesanto" wrote: > > Hey, > > I had a feature request through for a python plugin to sort layer > drop-down lists alphabetically: > > https://github.com/HeikkiVesanto/QGIS_Centroid_Within/issues/3 > > This is a list of vector layers that are open, that are selected us

[Qgis-developer] Python Sorting a Layer Selector

2016-06-05 Thread Heikki Vesanto
Hey, I had a feature request through for a python plugin to sort layer drop-down lists alphabetically: https://github.com/HeikkiVesanto/QGIS_Centroid_Within/issues/3 This is a list of vector layers that are open, that are selected using a QComboBox QT drop-down. I get the layers using: layers =

Re: [Qgis-developer] [Processing] AttributeError: 'NoneType' object has no attribute 'update'

2016-06-05 Thread Paolo Cavallini
Please upgrade to our next ltr, 2.14.3, and report back. Thanks. Il 5 giugno 2016 18:30:01 CEST, "Niccolò Marchi" ha scritto: >Hi all, >adding a tool to the the graphical modeler I got the error >“AttributeError: 'NoneType' object has no attribute 'update' ”. In >other discussions on the web it

[Qgis-developer] [Processing] AttributeError: 'NoneType' object has no attribute 'update'

2016-06-05 Thread Niccolò Marchi
Hi all, adding a tool to the the graphical modeler I got the error “AttributeError: 'NoneType' object has no attribute 'update' ”. In other discussions on the web it seems due to an algorithm not properly working within the sequence. I tried then: - to remove the last tool -

Re: [Qgis-developer] QtWebKit (Debian testing) future

2016-06-05 Thread mederic . ribreux
Hello, Qwebengine is not in Debian yet and there is a risk that it will not be for some time: http://perezmeyer.blogspot.com/2016/05/do-you-want-qt5s-qwebengine-in-debian.html Cheers... Le 5 juin 2016 16:59:06 CEST, Matthias Kuhn a écrit : > > >On 05/06/16 10:27, Richard Duivenvoorde wrote: >

Re: [Qgis-developer] QtWebKit (Debian testing) future

2016-06-05 Thread Matthias Kuhn
On 05/06/16 10:27, Richard Duivenvoorde wrote: > On 03-06-16 14:55, Matthias Kuhn wrote: >> On 06/03/2016 10:31 AM, Paolo Cavallini wrote: >>> Il 03/06/2016 10:14, Richard Duivenvoorde ha scritto: >>> Any hints we could give python dev's? >>> Please start an howto where to accumulate tips an

Re: [Qgis-developer] QtWebKit (Debian testing) future

2016-06-05 Thread tudorbarascu
Hi, As python-qt4 doesn't contain QtWebKit anymore, python support gets disabled when running qgis. Only building pyqt4 from source with webkit worked. Hope this helps somebody! I would have stayed to debian jessie but intel skylake users only have GPU support from kernel 4.3 (full support from 4

Re: [Qgis-developer] QtWebKit (Debian testing) future

2016-06-05 Thread Richard Duivenvoorde
On 03-06-16 14:55, Matthias Kuhn wrote: > On 06/03/2016 10:31 AM, Paolo Cavallini wrote: >> Il 03/06/2016 10:14, Richard Duivenvoorde ha scritto: >> >>> Any hints we could give python dev's? >> >> Please start an howto where to accumulate tips and tricks for plugin >> migration. >> Thanks. >> > >

Re: [Qgis-developer] Report 2 - QGIS Symbology Sharing Tools

2016-06-05 Thread Richard Duivenvoorde
On 05-06-16 09:02, Akbar Gumbira wrote: > *Are you blocked on anything?* > ... In Github or Bitbucket they provide a direct link to > the raw file. But I think I should look at more general approach without > manipulating the URL depending on the host. If you have some input, I > would be happy to

[Qgis-developer] Report 2 - QGIS Symbology Sharing Tools

2016-06-05 Thread Akbar Gumbira
Hi All, Here is the report for the 2nd week of GSoC *What did you get done this week?* This week I implemented the basic UI. I created a repository here ( https://github.com/akbargumbira/qgis_symbology_sharing). It's a QGIS python plugin so you can clone it to your local python plugin directory