qpushbutton clicked event when code example Example: qpushbutton clicked pushButton.clicked.connect(function)