Edwin Leuven <[EMAIL PROTECTED]> writes:

> 
> Andreas Vox wrote:
...
> > int pixelMetric(PixelMetric metric, const QStyleOption * option, 
> > const QWidget * widget) const
> > {
> >     return m_delegate->pixelMetric(metric, option, widget);
> > }
> > ....
> 
> but these dots mean that i need to implement all methods in qstyle to 
> call the delegate equivalent right?
> 
> that's a lot of work to work around what seems like a qt bug to me (the 
> bottom two likes of the tear-off are not drawn)

Exactly. But once you have an adaptor, the fixing gets easier for other 
widgets :-)

...
> i think i am gonna leave this as it is.

Why not file a Qt bug?

/Andreas

Reply via email to