Guest User

Untitled

a guest
Jul 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. import QtQuick 2.5
  2. import QtQuick.Window 2.2
  3.  
  4. Window {
  5. width: 300
  6. height: 300
  7. visible: true
  8. flags: Qt.FramelessWindowHint | Qt.Window
  9. color: "transparent";
  10. id: w1;
  11. Rectangle{
  12. color: "green";
  13. anchors.fill: parent;
  14. }
  15. }
  16.  
  17. import QtQuick 2.9
  18. import QtQuick.Window 2.2
  19.  
  20. Window {
  21. width: 300
  22. height: 300
  23. visible: true
  24. flags: Qt.FramelessWindowHint | Qt.Window
  25. color: "transparent";
  26. id: w1;
  27.  
  28. Rectangle{
  29. color: "green";
  30. anchors.fill: parent;
  31. Rectangle {
  32. width: 120
  33. height: 120
  34.  
  35. x: parent.width - width / 2
  36. y: - height / 2
  37. color: "white"
  38.  
  39. radius: 100
  40. }
  41. }
  42. }
Add Comment
Please, Sign In to add comment