[vlc-devel] commit: Qt: neat and crispy location bar, new location buttons ( Jakob Leben )

Jakob Leben jakob.leben at gmail.com
Thu Feb 4 16:38:49 CET 2010


On Thu, Feb 4, 2010 at 4:03 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:

> On Thu, Feb 04, 2010 at 03:47:39PM +0100, Jakob Leben wrote :
> > I agree, but it's weird: they are still auto Raise for me, even when
> > changing between many widget styles in Qt system preferences... I'll
> check
> > what can be done here.
>
> Using QStyle::SC_ToolButton or QStyle::CC_ToolButton ?
>
>
We need custom positioning of the text and the arrow, that is why we need
separate drawing of the border, which we can only do by drawing a control
CE_PushButtonBevel

Does it work for you by only changing LocationButton to be a subclass of
QToolButton? because it seems like option.features =
QStyleOptionButton::Flat is not working for you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100204/2767a2a5/attachment.html>


More information about the vlc-devel mailing list