Warning, /plasma/plasma-workspace/applets/batterymonitor/package/contents/ui/InhibitionHint.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2015 Kai Uwe Broulik <kde@privat.broulik.de> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 0008 import QtQuick.Layouts 0009 0010 import org.kde.plasma.components as PlasmaComponents3 0011 import org.kde.kirigami as Kirigami 0012 0013 RowLayout { 0014 property alias iconSource: iconItem.source 0015 property alias text: label.text 0016 0017 spacing: Kirigami.Units.smallSpacing 0018 0019 Kirigami.Icon { 0020 id: iconItem 0021 Layout.preferredWidth: Kirigami.Units.iconSizes.small 0022 Layout.preferredHeight: Kirigami.Units.iconSizes.small 0023 visible: valid 0024 } 0025 0026 PlasmaComponents3.Label { 0027 id: label 0028 Layout.fillWidth: true 0029 font: Kirigami.Theme.smallFont 0030 textFormat: Text.PlainText 0031 wrapMode: Text.WordWrap 0032 elide: Text.ElideRight 0033 maximumLineCount: 4 0034 } 0035 }