[PyKDE] Is there a clicked signal for a QLabel ?

Andreas Pakulat apaku at gmx.de
Wed Jan 31 10:13:17 GMT 2007


On 31.01.07 11:06:08, simon stockes wrote:
> I have a gridlayout of QLabels. What it the signal to use in this context to
> change, for exemple, the text from the QLabel I have **clicked** ?
> 
> I did not found **clicked()** signal for QGridlayout or QLabel.

There is no signal for that and IMHO a label is the wrong Ui element for
clickable things. Users don't expect a label to be clickable, it just
something that contains some text.

A button is a clickable component and has an apropriate signal.

Andreas

-- 
Are you sure the back door is locked?




More information about the PyQt mailing list