/* SPDX-FileCopyrightText: 2017 Marco Martin SPDX-FileCopyrightText: 2023 ivan tkachenko SPDX-License-Identifier: LGPL-2.0-only */ import QtQuick 2.15 import QtQuick.Controls 2.15 as QQC2 import org.kde.kirigami 2.20 as Kirigami import org.kde.systemsettings QQC2.ToolButton { icon.name: "application-menu" checkable: true checked: systemsettings.actionMenuVisible onToggled: if (checked) { systemsettings.showActionMenu(mapToGlobal(0, height)); } Accessible.role: Accessible.ButtonMenu Accessible.name: i18n("Show menu") QQC2.ToolTip.text: Accessible.name QQC2.ToolTip.visible: hovered && !pressed QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay }