Warning, /graphics/krita/libs/libqml/qml/panels/tooloverlays/move.qml is written in an unsupported language. File is not indexed.
0001 /* This file is part of the KDE project 0002 * SPDX-FileCopyrightText: 2012 Dan Leinir Turthra Jensen <admin@leinir.dk> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 2.3 0008 import org.krita.sketch 1.0 0009 import org.krita.sketch.components 1.0 0010 0011 Item { 0012 height: Constants.GridHeight * 1.5 + Constants.DefaultMargin * 2; 0013 Rectangle { 0014 anchors { 0015 top: parent.top; 0016 bottom: parent.bottom; 0017 right: parent.right; 0018 } 0019 opacity: toolManager.currentTool.moveInProgress ? 1 : 0; 0020 Behavior on opacity { PropertyAnimation { duration: Constants.AnimationDuration; } } 0021 width: Constants.GridWidth * 2 + Constants.DefaultMargin * 3; 0022 color: "#63ffffff"; 0023 border.width: 1; 0024 border.color: "silver"; 0025 radius: Constants.DefaultMargin; 0026 0027 Label { 0028 anchors { 0029 top: parent.top; 0030 right: parent.right; 0031 margins: Constants.DefaultMargin; 0032 } 0033 text: "Moving"; 0034 } 0035 Button { 0036 anchors { 0037 left: parent.left; 0038 bottom: parent.bottom; 0039 margins: Constants.DefaultMargin; 0040 } 0041 text: "Abort"; 0042 textColor: "black"; 0043 color: "#63ffffff"; 0044 border.width: 1; 0045 border.color: "silver"; 0046 radius: Constants.DefaultMargin; 0047 onClicked: toolManager.currentTool.requestStrokeCancellation(); 0048 } 0049 Button { 0050 anchors { 0051 right: parent.right; 0052 bottom: parent.bottom; 0053 margins: Constants.DefaultMargin; 0054 } 0055 text: "Complete"; 0056 textColor: "black"; 0057 color: "#63ffffff"; 0058 border.width: 1; 0059 border.color: "silver"; 0060 radius: Constants.DefaultMargin; 0061 onClicked: toolManager.currentTool.requestStrokeEnd(); 0062 } 0063 } 0064 }