Skip to content
Snippets Groups Projects
Commit 062fa6de authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Pierre Lamot
Browse files

qml: introduce IconLabel

parent 809080b0
No related branches found
No related tags found
No related merge requests found
......@@ -654,6 +654,7 @@ libqt_plugin_la_QML = \
gui/qt/widgets/qml/ExpandGridView.qml \
gui/qt/widgets/qml/FocusBackground.qml \
gui/qt/widgets/qml/GridItem.qml \
gui/qt/widgets/qml/IconLabel.qml \
gui/qt/widgets/qml/IconToolButton.qml \
gui/qt/widgets/qml/ImageToolButton.qml \
gui/qt/widgets/qml/KeyNavigableGridView.qml \
......
......@@ -210,6 +210,7 @@
<file alias="TabButtonExt.qml">widgets/qml/TabButtonExt.qml</file>
<file alias="ScrollingText.qml">widgets/qml/ScrollingText.qml</file>
<file alias="CaptionLabel.qml">widgets/qml/CaptionLabel.qml</file>
<file alias="IconLabel.qml">widgets/qml/IconLabel.qml</file>
</qresource>
<qresource prefix="/util">
<file alias="SelectableDelegateModel.qml">util/qml/SelectableDelegateModel.qml</file>
......
/*****************************************************************************
* 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.
*****************************************************************************/
import QtQuick 2.11
import QtQuick.Controls 2.4
import "qrc:///style/"
Label {
elide: Text.ElideRight
color: VLCStyle.colors.text
font {
pixelSize: VLCStyle.icon_small
family: VLCIcons.fontFamily
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment