Libplasma

ButtonHover.qml
1/*
2 * SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
3 * SPDX-License-Identifier: LGPL-2.0-or-later
4 */
5
6import QtQuick
7import org.kde.ksvg as KSvg
8
9KSvg.FrameSvgItem {
10 property bool showHover: false
11
12 anchors {
13 fill: parent
14 leftMargin: -margins.left
15 topMargin: -margins.top
16 rightMargin: -margins.right
17 bottomMargin: -margins.bottom
18 }
19 imagePath: "widgets/button"
20 prefix: "hover"
21
22 visible: showHover ? 1 : 0
23}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:52:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.