Qpushbutton know button clicked code example Example: qpushbutton clicked pushButton.clicked.connect(function)