In this article we will see how we can get the flat property of the QCommandLinkButton. This property holds whether the command link button border is raised. This property’s default is false. If this property is enabled, most styles will not paint the command link button background unless the button is being pressed. We can set this property with the help of
In order to do this we use
isFlat method with the command link button object
Syntax : button.isFlat()
Argument : It takes no argument
Return : It return bool
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.