Override button clicked function

Override button clicked function

mads.hangaardUYBY8
Observer Observer
192 Views
0 Replies
Message 1 of 1

Override button clicked function

mads.hangaardUYBY8
Observer
Observer

I'm trying to change the 'renderViewButton' to open the Arnold RenderView instead o the starndard RenderView when clicked. I managed to grab a hold of the QWidget via mayaui and shiboken2, but when I use widget.clicked.disconnect(), it doesn't disconnect the original functionality. Only the functionality I might have connected via widget.clicked.connect(foobar).

How would I go about removing the functionality of the button, so I may replace it with my own functionality? I know this will be lost when program is restarted, that is not an issue.

Thank you in advance.

0 Likes
193 Views
0 Replies
Replies (0)