VideoWidget API

Bradley T Hughes bhughes at trolltech.com
Mon Jul 9 15:49:57 CEST 2007


On Monday 09 July 2007 15:36:40 Richard wrote:
> Hi,
>
> Suggestion for VideoWidget. Can we add something like:
>
> bool setVideoBgBrush(const QBrush &brush);
> QBrush videoBgBrush();
>
> to the API?
> This is the brush to use for drawing the widget background when a
> movie is not playing. If the backend cannot set/use the given brush,
> 'setVideoBgBrush' should just return false.
>
> Any feedback?

Why not just use widget->palette().brush(widget->backgroundRole()) ?

-- 
Bradley T. Hughes - bhughes at trolltech.com
Trolltech ASA - Sandakervn. 116, P.O. Box 4332 Nydalen, 0402 Oslo, Norway


More information about the Phonon-backends mailing list