In this article we will see how we can get i.e access cursor of 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
cursor method with the command link button object
Syntax : button.cursor()
Argument : It takes no argument
Return : It returns QCursor object
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.