VideoWidget API
Richard
richardmg at trolltech.com
Mon Jul 9 16:07:16 CEST 2007
Cool. Thats even better!
-Ric
On Jul 9, 2007, at 3:49 PM, Bradley T Hughes wrote:
> 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
--
Richard Moe Gustavsen
Software Engineer II, Trolltech ASA
Sandakerveien 116, NO-0484 Oslo, Norway
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/phonon-backends/attachments/20070709/03fef77f/attachment.html
More information about the Phonon-backends
mailing list