Warning, /plasma/latte-dock/containment/package/contents/ui/abilities/privates/IndicatorsPrivate.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
0003 SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005
0006 import QtQuick 2.7
0007
0008 import org.kde.latte.abilities.host 0.1 as AbilityHost
0009
0010 AbilityHost.Indicators {
0011 id: _indicators
0012 property QtObject view: null
0013
0014 Connections {
0015 target: _indicators.info
0016 onSvgPathsChanged: {
0017 if (_indicators.isEnabled) {
0018 view.indicator.resources.setSvgImagePaths(_indicators.info.svgPaths);
0019 }
0020 }
0021 }
0022
0023 Connections {
0024 target:_indicators
0025 onIsEnabledChanged: {
0026 if (_indicators.isEnabled) {
0027 view.indicator.resources.setSvgImagePaths(_indicators.info.svgPaths);
0028 }
0029 }
0030 }
0031
0032 //! Bindings in order to inform View::Indicator
0033 Binding{
0034 target: view && view.indicator ? view.indicator : null
0035 property:"enabledForApplets"
0036 when: view && view.indicator
0037 value: _indicators.info.enabledForApplets
0038 }
0039
0040 //! Bindings in order to inform View::Indicator::Info
0041 Binding{
0042 target: view && view.indicator ? view.indicator.info : null
0043 property:"needsIconColors"
0044 when: view && view.indicator
0045 value: _indicators.info.needsIconColors
0046 }
0047
0048 Binding{
0049 target: view && view.indicator ? view.indicator.info : null
0050 property:"needsMouseEventCoordinates"
0051 when: view && view.indicator
0052 value: _indicators.info.needsMouseEventCoordinates
0053 }
0054
0055 Binding{
0056 target: view && view.indicator ? view.indicator.info : null
0057 property:"providesClickedAnimation"
0058 when: view && view.indicator
0059 value: _indicators.info.providesClickedAnimation
0060 }
0061
0062 Binding{
0063 target: view && view.indicator ? view.indicator.info : null
0064 property:"providesHoveredAnimation"
0065 when: view && view.indicator
0066 value: _indicators.info.providesHoveredAnimation
0067 }
0068
0069 Binding{
0070 target: view && view.indicator ? view.indicator.info : null
0071 property:"providesInAttentionAnimation"
0072 when: view && view.indicator
0073 value: _indicators.info.providesInAttentionAnimation
0074 }
0075
0076 Binding{
0077 target: view && view.indicator ? view.indicator.info : null
0078 property:"providesTaskLauncherAnimation"
0079 when: view && view.indicator
0080 value: _indicators.info.providesTaskLauncherAnimation
0081 }
0082
0083 Binding{
0084 target: view && view.indicator ? view.indicator.info : null
0085 property:"providesGroupedWindowAddedAnimation"
0086 when: view && view.indicator
0087 value: _indicators.info.providesGroupedWindowAddedAnimation
0088 }
0089
0090 Binding{
0091 target: view && view.indicator ? view.indicator.info : null
0092 property:"providesGroupedWindowRemovedAnimation"
0093 when: view && view.indicator
0094 value: _indicators.info.providesGroupedWindowRemovedAnimation
0095 }
0096
0097 Binding{
0098 target: view && view.indicator ? view.indicator.info : null
0099 property:"providesFrontLayer"
0100 when: view && view.indicator
0101 value: _indicators.info.providesFrontLayer
0102 }
0103
0104 Binding{
0105 target: view && view.indicator ? view.indicator.info : null
0106 property:"extraMaskThickness"
0107 when: view && view.indicator
0108 value: _indicators.info.extraMaskThickness
0109 }
0110
0111 Binding{
0112 target: view && view.indicator ? view.indicator.info : null
0113 property:"minLengthPadding"
0114 when: view && view.indicator
0115 value: _indicators.info.minLengthPadding
0116 }
0117
0118 Binding{
0119 target: view && view.indicator ? view.indicator.info : null
0120 property:"minThicknessPadding"
0121 when: view && view.indicator
0122 value: _indicators.info.minThicknessPadding
0123 }
0124 }