Fatih Uzunoglu
3e82d1b63c
qt: add method to trigger info dialog from MediaLibrary items
... and use SharedInputItem for lifetime management
3 years ago
Steve Lhomme
a627382c0e
qt: avoid including vlc_url.h in headers
3 years ago
Steve Lhomme
cea3188902
qt: avoid include vlc_interface.h in some header
3 years ago
Leon Vitanos
13d2ab5573
qt/qml: display error messages on the messages dialog
4 years ago
Francois Cartegnie
1bcd4e83b6
qt: fix transcode wizard mrl
4 years ago
Fatih Uzunoglu
35a4f48680
qt: don't allow PrefsDialog to open multiple times in DialogsProvider
allowing PrefsDialog to be opened multiple time causes massive freezing
4 years ago
Fatih Uzunoglu
5b97f4cc32
qt: use Singleton in DialogsProvider
5 years ago
Alexandre Janniaux
6b7a57f984
modules: fix typos
Typos found and reworked from codespell.
5 years ago
Pierre Lamot
25b908b289
qt: use smart pointers to tracks contextual menus from the DialogProvider
5 years ago
Pierre Lamot
cea5406265
qt: rename MainInterface to MainCtx
MainInterface was the actual QWidget interface in VLC 3.0, now it's the
application context
only rename classes and files, no functional changes
5 years ago
Pierre Lamot
ac3b597871
qt: FirstRun dialog must be destroyed before closing the application
FirstRun dialog used Qt::WA_DeleteOnClose, it lifecycle would be bound to the
QApplication. On close the firstrun dialog will save some changes to the
preferences. So we need to ensure the dialog is properly destroyed before the
context becomes invalid when closing the application.
this commit updates 3895e912bf which got reverted
in a39d175575
5 years ago
Rémi Denis-Courmont
a39d175575
Revert "qt: Added firstrun wizard into MainInterface"
This reverts commit 3895e912bf .
This broke the test suite:
[00007f6d0c000f20] idummy access: command `nop'
vlc: ../../modules/gui/qt/dialogs/firstrun/firstrunwizard.cpp :308 : virtual void FirstRunWizard::reject(): l'assertion « p_intf->p_mi » a échoué.
Aborted
5 years ago
Adam Leung
3895e912bf
qt: Added firstrun wizard into MainInterface
5 years ago
Marvin Scholz
02836796dc
qt: fixup url from openurl dialog
Fixes #21661
5 years ago
Pierre Lamot
8448e4f0ac
qt: attach Dialog to a window rather than a QWidget
this allows to have modal native window when the main window is a QQuickWindow
5 years ago
Pierre Lamot
7aa19c4f29
qt: release dialog singletons on exit
fix : #25911
5 years ago
Prince Gupta
904f325796
qt: take media options as const reference
5 years ago
Pierre Lamot
5897ca4d2d
qt: move dialog file path variable from module to maininterface
the variable was no longer initialized properly as it was stored
in a "C" structure and there was no reason to store this variable in
the module
5 years ago
Pierre Lamot
537d41a468
qt: load Qt in a detached structure from the interface module.
this will allow to unload the interface module without unloading Qt in a
further patch.
the new structure is still a vlc object as we use it notably for logging
capacity and to interact with vlc variables
5 years ago
Pierre Lamot
4044fe3bdf
qt: alias intf_thread_t as qt_intf_t
This is a preparatory commit
5 years ago
Lyndon Brown
6cd08480f5
qt: fix translation marker issues
As discussed in MR #11 ([1]), `qtr()` is only meant to be used with static
strings, not constants or variables. Translation occurs through pointing
xgettext at the `qtr` keyword to find strings (as an alternative to `_()`,
taking into account the common need to convert to a Qt `String` type).
Thus use with anything other than a static string relies upon xgettext
having to recognise and ignore instances that do not actually wrap static
strings, which is considered to be wrong, even if it happens to work.
Accordingly here `qfut()` has been introduced. This is to be used in cases
where `qtr()` was incorrectly used around constant identifiers and
variables (i.e. where a combination of `qfu()` plus translation is needed,
with the string being defined elsewhere (with `N_()`)). The `qtr()` macro
itself now acts as a wrapper to `qfut()` for cases where the parameter is
in fact a static string, thus additionally marking it to be picked up by
xgettext, unlike other use of `qfut()`.
Notes for future readers, the set of macro names reflect:
- `qfu()`: Creates a Qt `String` type from UTF-8 ('f'=from, 'u'=utf8).
- `qfue()`: `qfu()` with ampersand escaping ('e'=escape).
- `qfut()`: `qfu()` with translation ('t'=translation).
- `qtu()`: Qt `String` to UTF-8 ('t'='to', 'u'=utf8).
- `qtr()`: this is a wrapper for `qfut()`, acting as an xgettext marker,
similar to `_()` except returning a Qt `String`. ('tr'=translate).
[1]: https://code.videolan.org/videolan/vlc/-/merge_requests/11
5 years ago
Fatih Uzunoglu
771de11ffe
qt: add getTextDialog function to DialogsProvider
This static function provides a simple way
to prompt the user and ask for text input.
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
5 years ago
Fatih Uzunoglu
5b0ec36bd8
qt: remove toolbarDialog() from DialogsProvider
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
5 years ago
Benjamin Arnaud
d7f234d006
qt: Add PlaylistsDialog to the dialog provider
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
6 years ago
Prince Gupta
a13349de2a
qt: add function to browse and add audio and video
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
6 years ago
Pierre Lamot
dcf865237f
qt: remove legacy "recently played" model
Recent medias are now stored in the medialibrary.
6 years ago
Pierre Lamot
d29a0e9ad0
qt: bring back native menu for intf dialog popup menu
6 years ago
Fatih Uzunoglu
bdf758d99d
qt: overload streamingDialog to parse through QUrl list
6 years ago
Fatih Uzunoglu
295c55ac77
qt: overload mediainfoDialog to show with playlist item index
6 years ago
Fatih Uzunoglu
648f39a0ee
qt: make dialogsprovider simpleOpenDialog start playing optionally
6 years ago
Pierre Lamot
197c498516
qt: move utility classes and models to util
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
43af04445b
qt: move the main interface to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
f955f1fef3
qt: move native widgets to their own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
b86d55e0f3
qt: remove obsolete player controler widget
this widget has been reimplemented in Qml, and is no
longer used
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
14506886a5
qt: move menus to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
630f639f2d
qt: move the dialog provider to the dialog folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
cb8cf18238
qt: move errors dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
794bf19ee2
qt: move gototime dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
2a41f6b852
qt: move toolbar editor dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
3be36d4580
qt: move bookmarks dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
df4258badf
qt: move vlm dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
5170f808ec
qt: move podcast configuration dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
2bcc6d6ae6
qt: move the firstrun dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
302f7abab7
qt: move effect and filter dialogs component to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
70dd4e8266
qt: move open dialogs component to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
d7cf06b49d
qt: move media info dialogs component to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
a44bd35aa8
qt: move sout dialogs component to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
c1258f024f
qt: move about/help dialogs component to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
54893c6d89
qt: move epg dialog to its own folder
no functional changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago
Pierre Lamot
595ff14e90
qt: move plugin dialog to its own folder
no functionnal changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
7 years ago