Page 1 of 1

How to use qtevents in pyqtforsoftimage addon?

Posted: 26 Feb 2018, 09:26
by anhungxadieu
Hi there,
Does anyone know how to use qt even in softimage? i want to create simple selection change event inside my widget.

Re: How to use qtevents in pyqtforsoftimage addon?

Posted: 27 Feb 2018, 11:40
by anhungxadieu
[Solved]
My bad, it's very simple -->

Code: Select all

import sisignals
self.callback = sisignals.signals.siSelectionChange
sisignals.muteSIEvent("siSelectionChange", False)
self.callback.connect(self.xsiSelectionChange)

Re: How to use qtevents in pyqtforsoftimage addon?

Posted: 27 Feb 2018, 11:48
by rray
Thanks for the update!