Warning, /multimedia/kdenlive/src/monitor/view/OverlayStandard.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2018 Jean-Baptiste Mardelle <jb@kdenlive.org>
0003     SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 */
0005 
0006 import QtQuick.Controls 2.15
0007 import QtQuick 2.15
0008 
0009 Item {
0010     id: overlay
0011     //property color: 'cyan'
0012     Rectangle {
0013         id: safezone
0014         objectName: "safezone"
0015         color: "transparent"
0016         border.color: root.overlayColor
0017         width: parent.width * 0.9
0018         height: parent.height * 0.9
0019         anchors.centerIn: parent
0020         Rectangle {
0021             id: safetext
0022             objectName: "safetext"
0023             color: "transparent"
0024             border.color: root.overlayColor
0025             width: frame.width * 0.8
0026             height: frame.height * 0.8
0027             anchors.centerIn: parent
0028         }
0029         Rectangle {
0030             color: root.overlayColor
0031             width: frame.width / 20
0032             height: 1
0033             anchors.centerIn: parent
0034         }
0035         Rectangle {
0036             color: root.overlayColor
0037             height: frame.width / 20
0038             width: 1
0039             anchors.centerIn: parent
0040         }
0041         Rectangle {
0042             color: root.overlayColor
0043             height: frame.height / 11
0044             width: 1
0045             y: 0
0046             x: parent.width / 2
0047         }
0048         Rectangle {
0049             color: root.overlayColor
0050             height: frame.height / 11
0051             width: 1
0052             y: parent.height -height
0053             x: parent.width / 2
0054         }
0055         Rectangle {
0056             color: root.overlayColor
0057             width: frame.width / 11
0058             height: 1
0059             y: parent.height / 2
0060             x: 0
0061         }
0062         Rectangle {
0063             color: root.overlayColor
0064             width: frame.width / 11
0065             height: 1
0066             y: parent.height / 2
0067             x: parent.width -width
0068         }
0069     }
0070 }