aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/studiowelcome/qml/splashscreen/Splash_Image25d.qml
blob: 70c4a11c5c618c5c309a21fd69116f0ff5faf615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
import QtQuick 2.3

Rectangle {
    id: splashBackground
    width: 460
    height: 480
    color: "transparent"
    scale: 1.2

    layer.enabled: true
    layer.textureSize: Qt.size(width * 2, height * 2)
    layer.smooth: true

    Item {
        id: composition
        anchors.centerIn: parent
        width: 460
        height: 480
        visible: true
        anchors.verticalCenterOffset: -1
        anchors.horizontalCenterOffset: 14
        clip: true

        layer.enabled: true
        layer.textureSize: Qt.size(width * 2, height * 2)
        layer.smooth: true

        Splash_Image2d_png {
            x: -22
            y: -33
            width: 461
            height: 427
            layer.enabled: true
            layer.effect: ColorOverlayEffect {
                id: colorOverlay
                visible: true
                color: "#41cd52"
            }
            scale: 1
        }
    }
}