PyQt5 QCommandLinkButton – Making it Checkable
In this article we will see how we can the QCommandLinkButton checkable, by default it is not checkable although we can make it checkable any time, checkable command link button when clicked remain in pressed state and when clicked again it comes back to original state.
In order to do this we use
setCheckable method with the command link button object
Syntax : button.setCheckable(True)
Argument : It takes bool as argument
Return : It returns None
Below is the implementation