6 property string appName: 'MyApp x.y.z'
7 property string websiteURL: 'http://example.org/'
8 property string copyright: ''
9 property string license: ''
10 property string iconFilename: ''
14 function show() { opacity = 1 }
18 Behavior on opacity { PropertyAnimation { } }
22 onClicked: aboutBox.opacity = 0
26 anchors.centerIn: parent
28 scale: Math.pow(parent.opacity, 3)
32 height: aboutBoxIcon.sourceSize.height
37 anchors.centerIn: parent
38 source: aboutBox.iconFilename
46 text: aboutBox.appName
47 anchors.horizontalCenter: parent.horizontalCenter
52 text: aboutBox.websiteURL
54 anchors.horizontalCenter: parent.horizontalCenter
60 text: '\n' + aboutBox.copyright + '\n' + aboutBox.license
61 anchors.horizontalCenter: parent.horizontalCenter
62 horizontalAlignment: Text.AlignHCenter