[Qt] Missing classes - urgent

zeljko zeljko at holobit.net
Fri Jul 27 20:31:05 CEST 2007


On Friday 27 July 2007 20:02, Den Jean wrote:
> 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.

I know, but I tried the case before I decided to send this post :)

> 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 ...

All of that is well known but we come in the front of the wall :)

tnx



More information about the Qt mailing list