How to use qtevents in pyqtforsoftimage addon?

Discussions concerning programming of SOFTIMAGE©
anhungxadieu
Posts: 175
Joined: 17 Apr 2014, 08:39
Skype: nguyenvuducthuy

How to use qtevents in pyqtforsoftimage addon?

Post by anhungxadieu » 26 Feb 2018, 08:26

Hi there,
Does anyone know how to use qt even in softimage? i want to create simple selection change event inside my widget.

anhungxadieu
Posts: 175
Joined: 17 Apr 2014, 08:39
Skype: nguyenvuducthuy

Re: How to use qtevents in pyqtforsoftimage addon?

Post by anhungxadieu » 27 Feb 2018, 10:40

[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)

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: How to use qtevents in pyqtforsoftimage addon?

Post by rray » 27 Feb 2018, 10:48

Thanks for the update!
softimage resources section updated Sep 26th 2026