summaryrefslogtreecommitdiffstats
path: root/tools/qqem/qml/AboutDialog.qml
blob: 3cf2e09c6aa27297679713c44f4482722fc218c3 (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
45
46
47
48
49
50
51
52
53
54
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick
import QtQuick.Controls
import "about_effect"

CustomPopup {
    id: rootItem
    modal: true
    width: 400
    height: 260
    padding: 1

    AboutEffect1 {
        anchors.fill: parent
        timeRunning: rootItem.visible
        opacity: 0.5
    }

    Item {
        anchors.fill: parent
        anchors.margins: 10
        Column {
            width: parent.width
            spacing: 10
            Label {
                text: qsTr("Qt Quick Effect Maker")
                font.bold: true
                font.pixelSize: 22
                color: mainView.foregroundColor2
            }
            Label {
                text: qsTr("VERSION %1 (Built with Qt %2)").arg(Qt.application.version).arg(buildQtVersion);
                width: parent.width
                font.pixelSize: 18
                color: mainView.foregroundColor2
            }
        }
        Column {
            anchors.bottom: parent.bottom
            width: parent.width
            spacing: 10
            Label {
                text: qsTr("Copyright (C) The Qt Company Ltd and other contributors.")
                width: parent.width
                wrapMode: Label.WrapAtWordBoundaryOrAnywhere
                font.pixelSize: 14
                color: mainView.foregroundColor2
            }

        }
    }
}