summaryrefslogtreecommitdiffstats
path: root/basicsuite/Media Player/Intro.qml
blob: a5dbb2a357dd64a15dd042e78ee2580374fb0b94 (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
import QtQuick 2.0

Rectangle {
    id: root
    color: "#111111"

//    Image {
//        anchors.fill: parent
//        source: "images/gradient.png"
//    }

    Image {
        id: logo
        anchors.centerIn: root
        anchors.verticalCenterOffset: -60
        source: "images/qt-logo.png"
        opacity: 0.5

    }
//    Rectangle {
//        id: button
//        opacity: mouse.containsMouse ? 1 : 0
//        Behavior on opacity {NumberAnimation{duration: 100}}
//        color: mouse.pressed ? "#11000000" : "#11ffffff"
//        anchors.top: logo.bottom
//        anchors.horizontalCenter: parent.horizontalCenter
//        border.color: "#33ffffff"
//        width: text.width + 40
//        height: text.height + 4
//        antialiasing: true
//        radius: 4
//        MouseArea {
//            id: mouse
//            anchors.fill: parent
//            hoverEnabled: true
//            onClicked: applicationWindow.openVideo()
//        }
//    }

//    Text {
//        id: text
//        color: "#44ffffff"
//        text: "Open File"
//        font.bold: true
//        font.pixelSize: 18
//        anchors.centerIn: button
//    }
}