Sorry, was in a rush.
Say I have a window with a button. When I clicked the button it changes the text on the button to "Clicked" via a function.
Qt Code:
myBtn.clicked.connect(changeLabel) def changeLabel() myBtn.setText("Clicked")To copy to clipboard, switch view to plain text mode
I have the button object, what I'd like to get is the "changeLabel" function, so I can call it via another button/function.
Here is my issue... I have a software, Nuke, and it's written in PyQt/Pyside. The developers documented everything in Nuke and how to access it, except, they left one out. The PAUSE button. And... guess what...my company wants me to build a tool that requires me to mess with the PAUSE. It is a QPushButton, and I want to know the name of the function that gets called when I click it.
I'll take a look at your suggestions tomorrow at work.. QMetaMethod has peaked my interest.
Bookmarks