|
@@ -156,6 +156,7 @@ Window {
|
|
|
|
|
|
Loader {
|
|
|
id: artViewLoader
|
|
|
+ z: 1
|
|
|
anchors.fill: parent
|
|
|
}
|
|
|
|
|
@@ -213,6 +214,10 @@ Window {
|
|
|
if (globalSettings.backdrop != "") {
|
|
|
Qt.createQmlObject(globalSettings.backdrop + ' { anchors.fill: parent}', root)
|
|
|
}
|
|
|
+
|
|
|
+ if (globalSettings.unlicensed) {
|
|
|
+ Qt.createQmlObject('Unlicensed { z: 2 }', root)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -282,45 +287,7 @@ Window {
|
|
|
showTimer.start()
|
|
|
}
|
|
|
|
|
|
- Item {
|
|
|
- z: 1
|
|
|
- visible: d.displayUnlicensed
|
|
|
- anchors { right: parent.right; bottom: parent.bottom }
|
|
|
- width: appWindow.width/2
|
|
|
- height: appWindow.height/2
|
|
|
|
|
|
- Text {
|
|
|
- z: 1
|
|
|
- color: "white"
|
|
|
- font.pointSize: 60
|
|
|
- anchors { horizontalCenter: parent.horizontalCenter; top: parent.top }
|
|
|
- text: "UNLICENCED"
|
|
|
- }
|
|
|
-
|
|
|
- Image {
|
|
|
- id: mug
|
|
|
- property int revolutions: 1000000
|
|
|
- fillMode: Image.PreserveAspectFit
|
|
|
- height: appWindow.height/2
|
|
|
- anchors { centerIn: parent }
|
|
|
- source: "qrc:///unlicensed.png"
|
|
|
- RotationAnimator {
|
|
|
- target: mug;
|
|
|
- from: 0;
|
|
|
- to: 360*mug.revolutions
|
|
|
- duration: 2000*mug.revolutions
|
|
|
- running: mug.visible
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- Text {
|
|
|
- z: 1
|
|
|
- color: "white"
|
|
|
- font.pointSize: 60
|
|
|
- anchors { horizontalCenter: parent.horizontalCenter; bottom: parent.bottom }
|
|
|
- text: "COPY"
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
Timer {
|
|
|
id: showTimer
|
|
@@ -333,16 +300,6 @@ Window {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- Timer {
|
|
|
- running: true
|
|
|
- interval: 60*1000
|
|
|
- onTriggered: {
|
|
|
- if (globalSettings.unlicensed) {
|
|
|
- d.displayUnlicensed = true
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
FPSMonitor {
|
|
|
anchors { top: parent.top; right: parent.right }
|
|
|
}
|