[vlc-commits] qml: add ListSubtitleLabel widget
Fatih Uzunoglu
git at videolan.org
Fri Jul 24 11:45:38 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Mon Jul 6 20:03:13 2020 +0300| [92ef463b860f4fad7b922b2f5daf08d94ff1674d] | committer: Pierre Lamot
qml: add ListSubtitleLabel widget
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92ef463b860f4fad7b922b2f5daf08d94ff1674d
---
modules/gui/qt/Makefile.am | 3 ++-
modules/gui/qt/vlc.qrc | 1 +
modules/gui/qt/widgets/qml/ListSubtitleLabel.qml | 21 +++++++++++++++++++++
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index 41a51154bd..b02cb7440d 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -692,7 +692,8 @@ libqt_plugin_la_QML = \
gui/qt/widgets/qml/TextToolButton.qml \
gui/qt/widgets/qml/ToolTipArea.qml \
gui/qt/widgets/qml/VideoProgressBar.qml \
- gui/qt/widgets/qml/VideoQualityLabel.qml
+ gui/qt/widgets/qml/VideoQualityLabel.qml \
+ gui/qt/widgets/qml/ListSubtitleLabel.qml
EXTRA_DIST += gui/qt/vlc.qrc $(libqt_plugin_la_RES)
diff --git a/modules/gui/qt/vlc.qrc b/modules/gui/qt/vlc.qrc
index 7fd678bb2f..fb753306ec 100644
--- a/modules/gui/qt/vlc.qrc
+++ b/modules/gui/qt/vlc.qrc
@@ -220,6 +220,7 @@
<file alias="MenuCaption.qml">widgets/qml/MenuCaption.qml</file>
<file alias="MediaCover.qml">widgets/qml/MediaCover.qml</file>
<file alias="MenuLabel.qml">widgets/qml/MenuLabel.qml</file>
+ <file alias="ListSubtitleLabel.qml">widgets/qml/ListSubtitleLabel.qml</file>
</qresource>
<qresource prefix="/util">
<file alias="SelectableDelegateModel.qml">util/qml/SelectableDelegateModel.qml</file>
diff --git a/modules/gui/qt/widgets/qml/ListSubtitleLabel.qml b/modules/gui/qt/widgets/qml/ListSubtitleLabel.qml
new file mode 100644
index 0000000000..a9243f5f4d
--- /dev/null
+++ b/modules/gui/qt/widgets/qml/ListSubtitleLabel.qml
@@ -0,0 +1,21 @@
+/*****************************************************************************
+ * Copyright (C) 2020 VLC authors and VideoLAN
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * ( at your option ) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
+
+ListLabel {
+ opacity: 0.7
+}
More information about the vlc-commits
mailing list