It removes the need of the reparentable widget (it is not needed
to reparent at all) and so simplify the code.
It fixes win32 fullscreen support and improves win7 transitions.
It avoids the need of an extra fullscreen widget, which is consistant
with the other media players I have tested.
Normally, the window will go on top of the stack of normal windows
anyway. If not, we may need to force this, which is different from
always-on-top in any case.
Known issue: toggling video on top while in fullscreen is not
implemented yet.
The QPalette of the widget is already stored in QWidget, there is no
need to have an attribute for it.
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Clicking on it brings the adjustable slider.
DoubleClicking doesn't do anything anymore.
This way the behaviour is more usable and less complex <joke>(don't be too KDEish!)</joke>
this patch features :
- persistent resizable main windows
- video confined to preexisting window size
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Input manager now emits signal for album art and gives
url to art itself, so CoverArt or Background-widgets don't
need to parse it themself, and CoverArt don't need to use
those callbacks. This ways both get same image too.
Introduction of an abstractController, that can:
- create most of the interface controller widgets
- execute their actions
All buttons connect themselve to a mapper and a doAction( id_action )
that centralize everything. The Action could go into a mainActionner, I guess. Opinions?
This cleans a lot the signal and exchanges between MI and Controller,
between Controller and FSC. The buttons do their own cooking and connect
directly to THEMIM or to some of the few signals of the Controller
(inputExist, inputHasVideo, inputCanRecord)
This reworks most of the HACKS of Teletext Buttons and AtoB Buttons
The FSC inherit from AbstractController and not Controller, which remove the b_fscreation HACK.
There will be some regressions, I tried my best to minimize them.
The code is generic enough to be able to customize the toolbars now. HAVE FUN!