Hugo Beauzée-Luyssen
92e8555cae
qt: Explicitely parent the VideoWidget to the central stack
This ensure the VideoWidget will have a valid initial size
Fix #17895
9 years ago
Hugo Beauzée-Luyssen
1323cb0b2d
qt: Don't try to modify constant values
9 years ago
Hugo Beauzée-Luyssen
7b7132dec9
qt: main_intf: Fix show/hide/dock/undock playlist inconsistencies
Fix #10106
9 years ago
Hugo Beauzée-Luyssen
f1614cf491
qt: Restore window size & position when leaving fullscreen
Based on the issue reporter's patch
Fix #11691
9 years ago
Hugo Beauzée-Luyssen
2c8fd86a3d
qt: Make main_interface_win32 a subclass of main_interface
9 years ago
Hugo Beauzée-Luyssen
691dbca561
main_interface: Don't silently ignore failure to register a message
9 years ago
Rémi Denis-Courmont
0cae94326b
qt: remove --mouse-events
--keyboard-events and --mouse-events are meant for the non-embedded
provider and LibVLC. They make little to no sense in GUIs.
9 years ago
Thomas Guillem
30dc60272d
qt: handle window mouse events
Ref #9787
9 years ago
Rémi Denis-Courmont
f79e9f5755
Qt: remove unused variable callback parameters
10 years ago
Benoit du Payrat
7e9d58705c
Qt: videos can no longer be larger than the screen
If an attempt is made to resize the video widget to a size larger than the screen,
it will be resized to a sensible size, filling the screen instead.
Close #12852
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Benoit du Payrat
d046eab576
Qt: video returns to maximized state from full screen
A boolean is used to memorize whether the window was maximized before entering fullscreen.
The state is correctly restored when leaving fullscreen.
Close #3851
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Benoit du Payrat
7b82f26921
Qt: basic fix to black screen on fullscreen and maximized
The checks on fullscreen and maximized prevented the video from being sized
when started directly in either of those modes.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Rémi Denis-Courmont
c240692f0b
Common structure for VLC common object members, document
10 years ago
Benoit du Payrat
bf2a7faff9
Qt: Leaves minimal view on quit to prevent size issues on start
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Benoît Noël du Payrat
e9878b8ba4
Qt: prevents the window from resizing to its current size
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Benoit du Payrat
422e5958e7
Qt: exiting fullscreen now restores the window to the correct size
Fix #16763
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Guillaume Gomez
106a325681
Add shortcut to set focus on playlist search field
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Hannes Domani
2f0d1f894d
Qt: don't change height if widget doesn't change visibility
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
b32eea4b1a
Rename qt4.hpp to qt.hpp
10 years ago
Jean-Baptiste Kempf
c27d273bca
Move Qt from qt4 to qt folder
10 years ago
Hannes Domani
b1b21338cd
Qt: increase height for resume-panel
Needed because hideResumePanel() decreases the height.
Close #14566
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Hannes Domani
a8899ae164
Qt: change height when switching from/to minimal interface
Close #7950
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Rémi Denis-Courmont
610ecb908b
Qt4: create video window in fullscreen mode ( fixes #2685 )
11 years ago
Rémi Denis-Courmont
146ad882b0
qt4: cosmetic rename
11 years ago
Rémi Denis-Courmont
ce80ca38a7
input: change time and length variable to integer
11 years ago
Jean-Baptiste Kempf
b2acddfdbb
Revert "Qt: force main window maximum size to be some big enough"
This reverts commit b5a43debee .
This is not enough and introduces more regressions
11 years ago
Sergey Radionov
b5a43debee
Qt: force main window maximum size to be some big enough
Close #12852
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Jean-Baptiste Kempf
e827a9404e
Qt: avoid crash in resume dialog
I don't really see how this can happen, but it should fix it.
Close #13190
11 years ago
Ludovic Fauvet
b80d2ab3be
Qt: cosmetics
12 years ago
Ludovic Fauvet
65e800488b
Qt: better wording for the resume playback code
12 years ago
Ludovic Fauvet
3f1f34dbd7
Qt: add an icon in front of the resume panel
12 years ago
Ludovic Fauvet
0a9e3479a6
Qt: hide the resume panel when the vout is released
12 years ago
Ludovic Fauvet
1cb34c7916
Qt: make the resume panel timer cancellable
12 years ago
Ludovic Fauvet
c7acc87279
Qt: hide the resume panel without affecting the vout geometry (refs #12758 )
One corner case still remains when leaving the fullscreen since we
cannot resize the UI in this mode.
12 years ago
Rémi Denis-Courmont
5ddebbf96c
Qt: emit video window resize events
12 years ago
Rémi Denis-Courmont
7876f294da
qt4: remove unused x, y parameters for video widget request
12 years ago
Jean-Baptiste Kempf
a3f6eeeb90
Qt: don't use a modal dialog for continuing the playback
Close #11705 #11703
12 years ago
Jean-Baptiste Kempf
291b79a147
Qt: update the Win32 thumbnail after fullscreen
Close #10514
12 years ago
Erwan Tulou
887f3e7070
Qt: remove a suspicious delete
in Qt doc about QMainWindow, about statusBar() and setStatusBar(), it reads :
"Note that QMainWindow takes ownership of the statusbar pointer
and deletes it at the appropriate time."
So, trying to delete the pointer returned by statusBar() can but
end up in a double free at some point.
12 years ago
Erwan Tulou
2ba05d1ff0
Qt: fix regression about popupmenu
Always rely on the Dialog Provider to manage the popupmenu.
This fixes a regression brought by 01f2d198c1
12 years ago
Erwan Tulou
0e89cd612a
Qt: early instantiation for THEMIM
Rather than wait for the first call to THEMIM to instantiate this singleton,
do it explicitly at an early stage of the plugin initialization.
This is useful for Qt as a dialog provider, since otherwise THEMIM doesn't
get a chance to be set up until, e.g. the first call to a popupmenu,
which then makes this menu slightly longer and noticeable to display.
Also, remove the unneeded instantiation in the main_interface. (THEMIM has
already been used a few lines earlier, which makes the call useless).
12 years ago
Jean-Baptiste Kempf
73ff6ac345
Qt: use a processor helper for Qt5
12 years ago
Jean-Baptiste Kempf
1b99dceaa9
Qt: raise window when video Widget is shown
12 years ago
Jean-Baptiste Kempf
b70cb5b951
Qt: s/Qt4/Qt
12 years ago
Jean-Baptiste Kempf
c57be0a73b
Qt: use the new helper for Main Interface DnD actions
12 years ago
Jean-Baptiste Kempf
f07447b47f
Qt: try to correctly save the playlist state
Close #11331
12 years ago
Jean-Baptiste Kempf
acdf1d4d1b
Qt: restore the playlist if it was minimized when closing VLC
Close #9223
12 years ago
Rafaël Carré
5c03166a2c
qt: qpa/qplatformnativeinterface.h is only needed on Windows
12 years ago
Rafaël Carré
2c8bd7d885
qt: support for Qt5 windows build
12 years ago
Jean-Baptiste Kempf
511888ee37
Show OSD when drag-n-dropping subtitles
And when it was successfully added
Close #8395
12 years ago