Qt-interest Archive, May 2008
Hiding of fullscreen controller
Message 1 in thread
Hello,
I am developing fullscreen controller (FSC) for VLC and I would
appreciate help for my problem.
I have a class for FSC, which is inherited from QFrame. When
I call method hide() under linux it hides correctly, but on windows
there are several problems with that. Main problem is that FSC stay
visible above video, but isHidden()
return true. Video output is mostly formed by layers, so there was idea
about calling update() for
whole screen. I tried it by getting dektop widget and call update()
for it. Result was a short blink of FSC, it disappeared and appeared
again.
Than I tried to hide FSC by moving out of screen or by setting
its opacity to 0.0, interesting was that calling hide() after that
operation undid these changes, so it moved it back to previous position
or it set opacity back to 1.0.
Can someone give me advice, why hide() behave in this weird way?
or how can I make it work correctly?
Thanks a lot,
Lukas
Additional info:
// FSC has set these properties:
setWindowFlags( Qt::ToolTip );
setFrameShape( QFrame::StyledPanel );
setFrameStyle( QFrame::Sunken );
// do you need some other pieces of code or info?
--
[ signature omitted ]