KQuickImageEditor

BasicResizeHandle.qml
1 /*
2  * SPDX-FileCopyrightText: (C) 2020 Carl Schwan <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.1-or-later
5  */
6 
7 import QtQuick 2.12
8 
9 import org.kde.kirigami 2.12 as Kirigami
10 import org.kde.kquickimageeditor 1.0 as KQuickImageEditor
11 
12 KQuickImageEditor.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-2021 The KDE developers.
Generated on Mon Oct 18 2021 23:08:19 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.