In this article we will see how we can get the icon changed signal of the QCommandLinkButton. This signal is emitted when the command link button’s icon has changed. By default a arrow is set as the icon of the command link button although we can change this any time with the help of
In order to do this we use
windowIconChanged method with the command link button object
Syntax : button.windowIconChanged.connect(method)
Argument : It takes method as argument
Action Performed : It calls the method when the clicked signal is emitted
Below is the implementation
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.