/*SPDX-FileCopyrightText: 2012-2013 Eike Hein <hein@kde.org>SPDX-License-Identifier: GPL-2.0-or-later*/import QtQuick 2.0import org.kde.plasma.core 2.0 as PlasmaCorePlasmaCore.SvgItem {id: arrowanchors {bottom: arrow.parent.bottomhorizontalCenter: iconBox.horizontalCenter}visible: parent.m.IsGroupParent === truestates: [State {name: "top"when: plasmoid.location === PlasmaCore.Types.TopEdgeAnchorChanges {target: arrowanchors.top: arrow.parent.topanchors.left: undefinedanchors.right: undefinedanchors.bottom: undefinedanchors.horizontalCenter: iconBox.horizontalCenteranchors.verticalCenter: undefined}},State {name: "left"when: plasmoid.location === PlasmaCore.Types.LeftEdgeAnchorChanges {target: arrowanchors.top: undefinedanchors.left: arrow.parent.leftanchors.right: undefinedanchors.bottom: undefinedanchors.horizontalCenter: undefinedanchors.verticalCenter: iconBox.verticalCenter}},State {name: "right"when: plasmoid.location === PlasmaCore.Types.RightEdgeAnchorChanges {target: arrowanchors.top: undefinedanchors.left: undefinedanchors.right: arrow.parent.rightanchors.bottom: undefinedanchors.horizontalCenter: undefinedanchors.verticalCenter: iconBox.verticalCenter}}]implicitWidth: Math.min(naturalSize.width, iconBox.width)implicitHeight: Math.min(naturalSize.height, iconBox.width)svg: taskSvgelementId: elementForLocation()function elementForLocation() {switch (plasmoid.location) {case PlasmaCore.Types.LeftEdge:return "group-expander-left";case PlasmaCore.Types.TopEdge:return "group-expander-top";case PlasmaCore.Types.RightEdge:return "group-expander-right";case PlasmaCore.Types.BottomEdge:default:return "group-expander-bottom";}}}