[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: QPushButton problem with KDE styles
From:       Matthias Ettrich <ettrich () trolltech ! com>
Date:       2001-03-20 21:23:17
[Download RAW message or body]

On Tuesday 20 March 2001 22:08, Martijn Klingens wrote:
> On Tuesday 20 March 2001 21:32, Matthias Ettrich wrote:
> > > Is there a reason for this? If not, is it possible to change the styles
> > > to support icon sets? If someone tells me how to do so, I'm willing to
> > > do this myself. I haven't looked at the code yet though as I'm somehow
> > > afraid there's a special reason for this particular (mis)behaviour.
> >
> > There's no reason for that misbehaviour other than that the iconset
> > support for QPushButton probably was added after the KDE styles have been
> > written.
> >
> > Thanks for bringing that up. The solution is simple: change the
> > drawPushButton button functions in the KDE styles according to what the
> > Qt styles do (have a look at qwindowsstyle.cpp, for example).
>
> Thanks, will do...

great, thanks. btw: it's drawPushButtonLabel, not drawPushButton.

Matthias
>
> Martijn

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic