* PlayerControlbarModel class is repurposed
and renamed to "player_controlbar_model.cpp/hpp".
PlayerControlbarModel is now a supermodel that
instantiates and handles three ControlListModel
for its 'left', 'center', and 'right' properties.
ControlListModel is the stripped down version of
the old PlayerControlbarModel.
* ControlbarProfileModel is created during
MainInterface initialization. ControlbarProfileModel
creates and handles toolbar/controlbar profiles
that act as a wrapper of PlayerControlbarModel
instances. Saving and loading from settings
happens in ControlbarProfileModel.
* Default control layout is now defined in
ControlbarProfile class. ControlbarProfile
injects the default configuration
during construction.
* Default profiles are now defined in
ControlbarProfileModel class.
ControlbarProfileModel class automatically
matches defaults based on player identifiers.
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
Add a signal to notify when the player controlbar needs rebuild.
QEvent is no longer used to rebuild.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Male the available interfaces in the View Menu selectable.
This was done by exposing a VLCVarChoiceModel from the C++ to the qml.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Note:
- Seekpoints have been replaced by title/chapters in PlayerControler
- Picture flow view has been removed
- Menuview is no longer required by VLCMenuBar
- The extension_SetInput is incompatible with the new API
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
VideoSurface provide a QQuickItem which can be embed within a QML scene to
represent the video node.
QVoutWindow implement a window where the video will be renderered.
VideoSurfaceProvider is the actual implementation of the VideoSurface which
will be selected at runtime. it will act as a the bridge between the QML
Videosurface and the QVoutWindow.
The new MainInterface methods return a null members during the qml transition.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
-----
In file included from gui/qt/menus.cpp:40:0:
gui/qt/main_interface.hpp: At global scope:
gui/qt/main_interface.hpp:75:10: error: 'atomic_flag' in namespace 'std' does not name a type
std::atomic_flag videoActive;
^~~~~~~~~~~
-----
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Also remove the return value. It is universally ignored, as the request
is asynchronous (so success means really nothing). Plus the Skin engine
did not even return the correct value.
This removes one layer of function calls. This also removes the old
check for interface destroyed before window, which would not work
properly, since most vout displays cannot cope with their window going
away asynchronously.