PyQt5 QCommandLinkButton – Pressed Signal
In this article we will see how we can get the pressed signal of the QCommandLinkButton. This signal is emitted when the button is pressed down. There are two stages when button is clicked first is the pressed state and second is the release state.
In order to do this we use
pressed method with the command link button object
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
Syntax : button.pressed.connect(method)
Argument : It takes method as argument
Action Performed : It calls the method when the clicked signal is emitted
Below is the implementation