Re: [QGIS-Developer] Signal/slots in Processing scripts/algorithms

2018-07-22 Thread matteo
Hi Nyall, > Not really - Processing doesn't currently have any support for > dependencies amongst parameters. You could maybe hack around this by > directly accessing widgets, but that wouldn't be version safe and > would be quite fragile. I imagined it wouldn't be safe > The "canonical" way to

Re: [QGIS-Developer] Signal/slots in Processing scripts/algorithms

2018-07-22 Thread Nyall Dawson
On Fri, 20 Jul 2018 at 22:54, matteo wrote: > > Hi devs, > > is there a way to update a widget (e.g. setting a ComboBox as not > enabled) depending on another widget within a Processing script? > > Something like: > > if val == 'whatever': > self.processingComboBox.setEnabled(False) Not really

[QGIS-Developer] Signal/slots in Processing scripts/algorithms

2018-07-20 Thread matteo
Hi devs, is there a way to update a widget (e.g. setting a ComboBox as not enabled) depending on another widget within a Processing script? Something like: if val == 'whatever': self.processingComboBox.setEnabled(False) Thanks for all the hints Cheers Matteo ___