Unlicensed.qml 968 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import QtQuick 2.4
  2. Item {
  3. z: 1
  4. anchors { right: parent.right; bottom: parent.bottom }
  5. width: appWindow.width/2
  6. height: appWindow.height/2
  7. Text {
  8. z: 1
  9. color: "white"
  10. font.pointSize: 60
  11. anchors { horizontalCenter: parent.horizontalCenter; top: parent.top }
  12. text: "UNLICENCED"
  13. }
  14. Image {
  15. id: mug
  16. property int revolutions: 1000000
  17. fillMode: Image.PreserveAspectFit
  18. height: appWindow.height/2
  19. anchors { centerIn: parent }
  20. source: "unlicensed.png"
  21. RotationAnimator {
  22. target: mug;
  23. from: 0;
  24. to: 360*mug.revolutions
  25. duration: 2000*mug.revolutions
  26. running: mug.visible
  27. }
  28. }
  29. Text {
  30. z: 1
  31. color: "white"
  32. font.pointSize: 60
  33. anchors { horizontalCenter: parent.horizontalCenter; bottom: parent.bottom }
  34. text: "COPY"
  35. }
  36. }