qml: provide modal dialogs instantiable from QML
commit95bf7366c9362d6d840a8453120c734653979e27
authorPierre Lamot <pierre@videolabs.io>
Wed, 12 Feb 2020 14:01:56 +0000 (12 15:01 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 20 Feb 2020 12:52:56 +0000 (20 13:52 +0100)
treeece3ca80854df9258a3d64e3b92fdae6820f14cc
parent7bd41a00c115185126ea32c675ec8d27b4e1cb06
qml: provide modal dialogs instantiable from QML

  This dialog allows to ask simple Yes/No questions, such as action
  confirmation, with a simple callback mechanism.

  The modal dialog need to be attached to the root widget to be displayed
  properly.

  Using vlc_dialog_wait_question for this would block the UI.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt/Makefile.am
modules/gui/qt/dialogs/dialogs/qml/CustomDialog.qml [new file with mode: 0644]
modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
modules/gui/qt/maininterface/qml/MainInterface.qml
modules/gui/qt/medialibrary/qml/VideoDisplay.qml
modules/gui/qt/vlc.qrc