In this article we will see how we can remove the new cursor and set the original cursor back to the QCommandLinkButton. Assigning cursor means the mouse cursor will assume the new shape when it’s over the command link button. Cursor shape is basically cursor icons these are used to classify the actions. It can be set with the help of
In order to do this we use
unsetCursor method with the command link button object
Syntax : button.unsetCursor()
Argument : It takes no argument
Return : It returns 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.