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

List:       kde-devel
Subject:    Re: Prblm: creating Kaffeine's KMediaPart from own application.
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2005-11-18 20:23:20
Message-ID: 20051118202320.GB68283 () xs4all ! nl
[Download RAW message or body]

On Fri, Nov 18, 2005 at 09:14:27PM +0100, Koos Vriezen wrote:
> On 2005-11-15 Ola Theander wrote:
> > The reason why I also looked at Kaffeine is that
> > KMPlayer's widgets for controlling the playback (e.g. play, pause, etc.) is
> > too tiny for my use. My application will be controlled by a touch screen and
> > these widgets are far too small. The advantage with Kaffeine's KPart, named
> > KMediaPart is that it doesn't include any controller widgets, it's just a
> > video playback "area" and no other stuff. Exactly what I want, i.e. I want
> > to use my own widgets to control the playback.
> 
> Are you sure? AFAIK, and that's quite a lot in this case, the controlpanel
> is autohidden when used as a part, if not then that's a bug. So when
> used with a touch screen, one never sees the controlpanel. But when used
> with a mouse, eg. embedded in konqueror, one only sees it when hovering
> the mouse near the bottom of the video area.
> You can however control what you see using the QStringList argument list
> when creating the part (look at the constructor in kmplayer_part.cpp),
> the same way as embedded video's in web-pages (eg. see the
> tests/control.html example in kmplayer's source package).

I just now see that autohidden is only when playing. So if you want it
hidden always, pass "controls=imagewindow" with the QStringList
argument.

> Koos
 
>> 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