PyQt5 QCommandLinkButton – Setting Icon Size
In this article we will see how we can set the icon size of the QCommandLinkButton. By default an arrow is set as the icon of the command link button although we can change this any time with the help of
setIcon method. Icon size change the size of the icon of the command link button.
In order to do this we use
setIconSize method with the command link button object
Syntax : button.setIconSize(size)
Argument : It takes QSize 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