When using QPushButton in a C++ program, pressing the spacebar and hitting Enter does the same.(clicked signal). When using QPushButton in python, pressing the spacebar only makes the button pressed. (as a toggle button). per