/* SPDX-FileCopyrightText: 2011 Sebastian Kügler SPDX-FileCopyrightText: 2011 Viranch Mehta SPDX-FileCopyrightText: 2013 Kai Uwe Broulik SPDX-License-Identifier: LGPL-2.0-or-later */ import QtQuick import QtQuick.Layouts import org.kde.plasma.plasmoid import org.kde.plasma.core as PlasmaCore import org.kde.plasma.workspace.components as WorkspaceComponents import org.kde.kirigami as Kirigami MouseArea { id: root readonly property bool isConstrained: Plasmoid.formFactor === PlasmaCore.Types.Vertical || Plasmoid.formFactor === PlasmaCore.Types.Horizontal property bool isBrightnessAvailable: false activeFocusOnTab: true hoverEnabled: true Accessible.name: Plasmoid.title Accessible.description: `${toolTipMainText}; ${toolTipSubText}` Accessible.role: Accessible.Button Kirigami.Icon { anchors.fill: parent source: Plasmoid.icon active: root.containsMouse } }