[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Oxygen gradients and QStyle...
From: Thomas =?iso-8859-1?q?L=FCbking?= <thomas.luebking () web ! de>
Date: 2010-03-28 17:41:46
Message-ID: 201003281941.47682.thomas.luebking () web ! de
[Download RAW message or body]
Am Sunday 28 March 2010 schrieb Hugo Pereira Da Costa:
> Ideally, there might be a possibility to store the gradient in Window
> palettes brush (rather than re-implementing paintEvent), but I had not
> time to look into that yet ...
DON'T!
myWindow->palette().color(QPalette::Window) would be Qt::black then.
You could implement it in PE_Widget and check for a toplevel widget when the
function is called (bespin does so) and/or call that function from the
eventfilter (in case you don't want to set windows styled)
Thomas
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic