Steve Lhomme
b3c5d6ac04
qt: add a const on the playback state getter
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
3bb1fc0d6a
Qt: improve the seekbar precision
10 years ago
Filip Roséen
e46945c1d2
qt: make seek tooltip + actual seek less surprising
Previously seeking could be somewhat of a surprise if one relied on the
text present in the tooltip above the SeekSlider when hovering it with
your mouse.
Since the position of where we are going to end up was calculated
differently in different parts of the code, you could aim for "00:10:42"
but end up quite far from there (how far depends on the length of the
media you are playing).
This patch fixes the above by introducing two helper functions,
effectively making all calculations that are based on the X-coordinate
relative to the SeekSlider the same, and as such less surprising.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Filip Roséen
53d3f94dc3
qt: replaced magic constants with QtAbstractSlider::{maximum, minimum}
Replaced the use of constants with calls to QAbstractSlider::maximum and
QAbstractSlider::minimum, making it easier to maintain the class in the
future.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Filip Roséen
dad1120255
qt: replaced macros with proper constants
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
3001875707
Bump the required Qt versions
10 years ago
Jean-Baptiste Kempf
803e5eb1c2
Qt: accessible widgets is part of Qt5Gui in 5.6
10 years ago
Jean-Baptiste Kempf
27863ad4ed
Qt: fix inverted option for Bluray Menus
10 years ago
Thomas Guillem
b37866a867
dialog: re-order callback arguments
The opaque p_data is now the first argument for the sake of consistency.
10 years ago
Hugo Beauzée-Luyssen
e3d09f91ea
Only add items in the root playlist to the recent elements
10 years ago
Jean-Baptiste Kempf
7cdabacba8
Qt: fix potential crash in UpdateVout()
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
Francois Cartegnie
81c850e46e
Qt: programmaticaly check module prefix in profiles
Both mux_ and non mux_ prefixed being listed
10 years ago
Francois Cartegnie
6c1d89386f
Qt: add missing muxers aliases ( fix #12089 , #16682 )
10 years ago
Wieland Hoffmann
74271ffce8
Qt: Allow sorting by disc number
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
Darrell Walisser
9b1f19a398
qt: fix vout not using qt window module anymore
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
David Fuhrmann
03b3a0eaca
macosx: Print warning if user activity declaration failed
10 years ago
David Fuhrmann
ae0cd5b689
macosx: use var_InheritBool to read disable-screensaver
10 years ago
David Fuhrmann
fa34285ebe
macosx: use var_InheritBool to read macosx-statusicon
10 years ago
Jean-Baptiste Kempf
0ca54d3570
Qt: fix Qt4 comments
10 years ago
Jean-Baptiste Kempf
b32eea4b1a
Rename qt4.hpp to qt.hpp
10 years ago
Jean-Baptiste Kempf
bd383a8230
Rename qt4.cpp to qt.cpp
10 years ago
Jean-Baptiste Kempf
b634e6a9c8
Fix comments about Qt4
10 years ago
Jean-Baptiste Kempf
fd3b1b6cca
Rename qt4 plugin to qt
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
Hannes Domani
e93087fa20
qt: prevent infinite recursion
Close #15630
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Felix Paul Kühne
e97065eb84
macosx: respect 'disable-screensaver' option ( closes #16670 )
10 years ago
Filip Roséen
d0c1938231
Qt: fixed include-guards for components
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Filip Roséen
66c586cebc
Qt: fixed include-guards for playlist
* renamed include-guards to fix issues with reserved identifiers
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Filip Roséen
cc096c4264
Qt: fixed include-guard for sout
* renamed include-guard to fix issue with reserved identifier
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Filip Roséen
7f829bd17e
Qt: fixed include-guards for util
* renamed include-guards to fix issues with reserved identifiers
* replaced comments at `#endif` corresponding to include-guards
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Hugo Beauzée-Luyssen
285a3efcbb
qt4: input_manager: Always reset lastURI when stopping
This allow the resume where you left off feature to kick in when
starting the playback again, but not when cycling through a playlist
refs #11704
10 years ago
Hugo Beauzée-Luyssen
60399fdf58
qt4: Fix "resume where you left off"
fix #16593
10 years ago
Hugo Beauzée-Luyssen
f2684ca071
qt4: playlist: Fix leak
10 years ago
Filip Roséen
1bed74fe7b
nothrow new in cases where it maches intent
I wrote a hackish script to locate instances where new can throw
but where the original author has assumed that it will return
nullptr when there is a memory allocation problem.
In short, cases such as `ptr = new T; if (ptr) ...` has now
been changed to `ptr = new (std::nothrow) T; if (ptr) ...`.
Since a throwing `new` will always yield a non-nullptr pointer,
code that follows similar patterns to the previous example are
therefor redundant.
Example (from modules/access/dshow/filter.cpp):
*ppEnum = new CaptureEnumMediaTypes( p_input, p_pin, this );
if( *ppEnum == NULL )
return E_OUTOFMEMORY; // unreachable, new will never return NULL
Fixed:
*ppEnum = new (std::nothrow) CaptureEnumMediaTypes( p_input, p_pin, this );
if( *ppEnum == NULL )
return E_OUTOFMEMORY;
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
10 years ago
Jean-Baptiste Kempf
465c14aa9f
Qt: s/transparancy/opacity
Close #15150
10 years ago
Marvin Scholz
10a1a8b104
Qt: Fix spelling of Icecast
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
22fb930e25
Win32: drop support for old versions of mingw that don't have Win7 APIs
10 years ago
Felix Paul Kühne
ce97450190
iOS dialog provider: completely removed
Use MobileVLCKit / TVVLCKit to implement dialogs properly in external apps
10 years ago
Felix Paul Kühne
ac8d744520
Mac OS X dialog provider: completely removed
Use VLCKit to implement dialogs properly in external apps
10 years ago
Felix Paul Kühne
34e88dc736
macosx/coredialogs: refactor to always run on the main thread regardless of the caller
10 years ago
Felix Paul Kühne
0cb29ee37c
macosx/coredialogs: add checkbox to login dialog to ask for store
10 years ago
Felix Paul Kühne
5c4d7d5147
macosx/coredialogs: re-write using new API
10 years ago
Felix Paul Kühne
545616ae33
macosx/extensions: implement new dialog callback
10 years ago
Felix Paul Kühne
e3f2ec3e00
macosx/coredialogs: fix compilation by removing virtually all the legacy code
10 years ago
Thomas Guillem
2efce84f08
Qt: implement new ext dialog callback
10 years ago
Thomas Guillem
943791509d
Qt: implement new dialog callbacks
10 years ago