Re: [PyKDE] Strange behavior:

2004-07-06 Thread Greg Fortune
Cool... it's like hide and seek :) How about this? Maybe in site.py? import qt qt.QPushButton = qt.QLabel #or maybe from qt import * QPushButton = QLabel Did I win anything ;o) You might try running the following code by placing it where your FlashingLabel class is defined... Make sure to l

[PyKDE] Strange behavior:

2004-07-06 Thread Maurizio Colucci
This code works perfectly on my machine (suse 9.1) but not with other peoples': class FlashingLabel(QLabel): def __init__(self, text, parent): QPushButton.__init__(self, text, parent) #obviously wrong. How can it work? :-) I have PyQt 3.12-1. Thanks Maurizio