In this article we will see how we can change the icon of the QCommandLinkButton. By default a arrow is set as the icon of the command link button although we can change this any time.
In order to do this we use
setIcon method with the command link button object
Syntax : button.setIcon(icon)
Argument : It takes QIcon object as argument
Return : It return None
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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course