[Qt] Missing classes - urgent

Den Jean Den.Jean at telenet.be
Fri Jul 27 20:02:23 CEST 2007


On Friday 27 July 2007 13:39:24 zeljko wrote:
> things via paintEvent(), but it doesn't look good , flickering , twice
> paint

Overriding paint is really not necessary, remember
the closeevent stuff, remember to eat your event. This
will remove the flicker.

But I will look into the sizeHint thing, because without
subclassing you cannot do it. Paint is not necessary,
but can be done for convenience for that class. 

Remember that for other classes it is bull to add it. If you add it for 
QWidget (QLCLWidget with overriden Paint), you do not have overriden Paint 
for QAbstractButton, because QAbstractButton does not inherit from 
QLCLWidget. etc etc ...

regards,

Den Jean





More information about the Qt mailing list