Video (tag) position in backend

Alexandre B. ab.science at yahoo.com
Mon Feb 27 16:54:17 UTC 2012


> The only way to get a VideoWidget's absolute screen location is to use
> QWidget::mapToGlobal()
>
> http://developer.qt.nokia.com/doc/qt-4.8/qwidget.html#mapToGlobal


Thank you, Trever.
I've tried it, but x and y are always zero.
What Rémi said makes sense:


> In these days and this age of compositing, there is no such a thing as the
> absolute position of a the video widget. That notion is not always well-
> defined. Anything that depends on this is broken by design.


Thank you very much!

-- Alexandre


More information about the Phonon-backends mailing list