Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.0
- import QtGraphicalEffects 1.0
- Item {
- width: 300
- height: 300
- Rectangle {
- anchors.fill: parent
- color: "black"
- }
- Text {
- id: butterfly
- text: qsTr("Butterfly")
- font.family: "Century Gothic"
- font.pointSize: 40
- color: "#b2f3ef"
- visible: false
- smooth: true
- anchors.bottom: parent.bottom
- anchors.horizontalCenter: parent.horizontalCenter
- }
- Glow {
- radius: 8
- samples: 16
- color: "lightblue"
- source: butterfly
- anchors.fill: butterfly
- transparentBorder: true
- }
- Rectangle {
- id: cover
- width: 150
- height: 150
- anchors.horizontalCenter: parent.horizontalCenter
- color: "black"
- border.color: "white"
- visible: false
- }
- Glow {
- radius: 10
- samples: 20
- color: "white"
- source: cover
- anchors.fill: cover
- transparentBorder: false
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement