[PyKDE] QPushButton behavior

Per Gummedal p.g at figu.no
Sun Sep 17 19:04:54 BST 2000


PT> Per Gummedal wrote:
>> 
>> 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).

PT> Do you have a short program in C++ and Python versions that demonstrates
PT> the different behaviour?

PT> Phil

In the tutorial tut2 is a good example.

Per







More information about the PyQt mailing list