KQuickImageEditor

BasicResizeHandle.qml
1/*
2 * SPDX-FileCopyrightText: (C) 2020 Carl Schwan <carl@carlschwan.eu>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6
7import QtQuick 2.12
8
9import org.kde.kirigami 2.12 as Kirigami
10import org.kde.kquickimageeditor 1.0 as KQuickImageEditor
11
12KQuickImageEditor.ResizeHandle {
13 width: Kirigami.Settings.isMobile ? 20 : 10
14 height: width
15 Kirigami.ShadowedRectangle {
16 Kirigami.Theme.colorSet: Kirigami.Theme.View
17 color: Kirigami.Theme.backgroundColor
18 shadow {
19 size: 4
20 color: Kirigami.Theme.textColor
21 }
22 anchors.fill: parent
23 radius: width
24 opacity: 0.8
25 }
26 scale: 1
27}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.