import QtQuick 2.0
Rectangle{
id : root
width : 1024
height : 768
Column{
id: toolBarColumn
width: 50
height: root.height
Image{
id: iconImg
width: 50
height: 32
fillMode: Image.PreserveAspectFit
source: "images/emotion_fire.png"
smooth: true
}
Rectangle{
id: background
width: root.width; height: root.height
gradient: Gradient {
GradientStop { position: 0.0; color: "gray" }
GradientStop { position: 1.0; color: "lightGray" }
}
}
}
}
I want to make the background of the icons become transparent, so it could have the same background color as
the background, how should I do?
icon [flickr.com]
The icon is come from fatcow [fatcow.com]
↧