Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

[Solved]Make the icons background become transparent

$
0
0
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]

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>