Jean-Baptiste Kempf
084f3f4cf0
Qt: use __MIN when applicable
15 years ago
Jean-Baptiste Kempf
e6a21a3c52
Qt: explicit sign conversion
15 years ago
Ernest E. Teem III
d5a52a3a3c
Qt: option for enabling / disabling changes to its icon
Modified by Jean-Baptiste Kempf, to fit option style
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Rémi Denis-Courmont
ce0ed241ee
Remove Christian references
Then again, many developers have Christian first names (most noticeably
"Christophe").
16 years ago
Francois Cartegnie
eab7664400
Qt: Allow disabling or resampling background art.
16 years ago
Rafaël Carré
7cd0a8ae38
qt4: use the christmas icon on the same day (start at day 354)
(It was broken by a8e4b30b )
Move the definition to qt4.hpp and add a comment
16 years ago
Rémi Duraffort
d811e20b7a
qt4: remove an assert (a check for NULLity is enough).
16 years ago
Hugo Beauzée-Luyssen
244fb9d5fa
Qt4: Fix a warning.
WId is almost always an integer (except for Symbian)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Francois Cartegnie
b725557374
Ambiguity between std::log(double) and std::log(float)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
16 years ago
Jean-Baptiste Kempf
8a0bd27b95
Qt: videoWidget shouldn't be show/hide(), the parent stackWidget should toggle.
16 years ago
Jean-Baptiste Kempf
5422c4fa7e
Qt: Remove redundant code
16 years ago
Laurent Aimar
a700955435
Simplified/fixed qt4 fullscreen implementation.
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.
16 years ago
Rémi Denis-Courmont
df261c30a4
Qt4: raise the fullscreen widget when it is shown
16 years ago
Rémi Denis-Courmont
921fdef8b4
Qt4: remove PaintOnScreen option - fixes #3702
16 years ago
Rémi Denis-Courmont
312d9c3fc4
Qt4: do not set fullscreen window on top ( fixes #3712 )
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.
16 years ago
Ilkka Ollakka
0ba54f498e
qt4: use slower and better scaling on albumart-label
We could use QPixmapCache here too, but I don't think it speeds up it
any noticeable way, just makes code littlebit longer.
16 years ago
Jean-Baptiste Kempf
d24e45887e
Qt: correctly forward wheeling events on Win32
Closes blocker #3262
16 years ago
Rémi Denis-Courmont
6fac93217a
Qt4: set title for the video as we do for other dialogs
16 years ago
Rémi Denis-Courmont
985a8c9ef8
Revert "Added Qt::Tool flag on the fullscreen widget."
This reverts commit a91750568d .
16 years ago
Laurent Aimar
a91750568d
Added Qt::Tool flag on the fullscreen widget.
It fixes 'on top' behaviour when going fullscreen (at least for linux), and
it avoid having a 'Untitled Window' in the taskbar when fullscreen.
16 years ago
Jean-Baptiste Kempf
fc28b64082
Qt: keep the video centered when the vout resizes twice to the same size
Close #3621
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Jean-Baptiste Kempf
308b6e6d8e
Qt: remove mousewheeling code.
Previous commits showed it wasn't necessary.
16 years ago
Jean-Baptiste Kempf
965c64221f
Qt: Correctly close the player when alt+f4 is pressed
even when in fullscreen. Close #3602
16 years ago
Jean-Baptiste Kempf
5653315c55
Qt4: Fix the VLC hangging in fullscreen on Win32
Close #3513
16 years ago
Laurent Aimar
391fdb6282
Fixed qt4 fullscreen behaviour with multiple monitors (win32 and linux).
16 years ago
Laurent Aimar
9938840103
Moved win7 taskbar disabling code from qt4 to msw.
16 years ago
Erwan Tulou
3b95348d8e
qt4: popupmenu (part2)
16 years ago
Erwan Tulou
8d8bd80666
qt4: Don't create QMenu without parents
This patch ensures that _all_ menus/actions have got a parent widget that
is guaranteed to be deleted.
This patch
- solves memory leaks for menus and action(children)
- solves a side effect (crash) pointed out
by 193e6eacdd where
some vlc objects were no longer properly released for lack
of a clean menus/actions release chain.
16 years ago
Francois Cartegnie
b0ccb760b4
Qt: add better tooltip to timelabel
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Francois Cartegnie
38c1b482fe
Qt: Fix SpeedLabel's tooltip
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Francois Cartegnie
cc28873a13
Qt: sprintf is deprecated
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Jakob Leben
6879a5ec61
Qt: fix updating of album art on BackgroundWidget
16 years ago
Laurent Aimar
aa306dc6d2
Fixed potential infinite loop between input/qt4 regarding input speed.
and fixes for sure duplicated input speed settings done by qt4 when
changing rate.
16 years ago
Francois Cartegnie
7bfa5717b0
Qt: New BackgroundWiget
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Jean-Baptiste Kempf
5b7b930e25
Qt: fix main_interface sizing part 2
Close #3408 (blocker)
Close #3245 (blocker)
16 years ago
Jean-Baptiste Kempf
a65e67d9ab
Qt: use forward declaration when possible and remove includes
16 years ago
Jean-Baptiste Kempf
de1210ab0a
Qt: Fixing main Interface, phase 1.
Removes a lot of hacks, especially around manipulating size (no more sizeHint(), very limited use of doComponentsUpdate and updateGeometry() ),
Simplify the number of starting options of the interface
Fixes crashes due to QStackWidget limitations
Still a lot of debug around, but mostly commented out, that will go in future commits
Close #3401
Close #3210
Close #3332
Close #1717
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
16 years ago
Jean-Baptiste Kempf
0469e38363
Qt: bgWidget, add the margin to trigger the hide of the label when resizing
16 years ago
Jean-Baptiste Kempf
8fba1635ce
Qt: clean bgWidget
16 years ago
Jean-Baptiste Kempf
757c699e09
Qt: use float for rate and fix a bug when mouseWheeling
16 years ago
Jean-Baptiste Kempf
6894acd777
Qt: display the correct rate
Close #3368
16 years ago
Jean-Baptiste Kempf
0900cd7c24
Qt: simplify SpeedLabel constructor
Ref #3368
16 years ago
Rémi Denis-Courmont
88d39ceef6
Qt4: use explicit direct connections when passing VLC pointers...
...without reference. With a direct connection, the call stack ensures
that the pointer remains valid until the slot returns. This is not the
case for asynchronous ("queued" in Qt4 documentation) signals.
Obviously, this means we have to emit the signals from the Qt4 main loop
thread, *or* alternatively not touch any Qt4 UI stuff fromt he slot.
Hopefully, any such bug would be easier to find this ways.
16 years ago
Jakob Leben
5ea622dc8f
Qt: hide buffering display if buffering doesn't reach 100%
16 years ago
Jakob Leben
7e0df1f4df
Qt: show buffering on the background of time label
16 years ago
Jakob Leben
0972b0824c
Qt: separate status bar label for "Buffering" + show time while seeking ( close #2760 )
16 years ago
Jean-Baptiste Kempf
afbf0d4953
Qt: code cosmetics
16 years ago
Geoffroy Couprie
dcce03505b
Win32: get rid of calls to GetVersion (CoCreateInstance will fail anyway if the feature is not present)
16 years ago
Rémi Denis-Courmont
23c9bffb5b
Qt4: use var_Inherit
16 years ago
Erwan Tulou
9aac6ab45c
qt4(Win32): fix fullscreen issue on Windows
On Windows, fullscreen was displayed with a frame and title.
Passing the newflags when reparenting works out the problem.
patch tested successfully on Linux and WinXP. other Win flavors to be tested
16 years ago