Message 1 of 1
Override button clicked function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.