The code is as below.
What i want to do is to make the outer rectangle transparent containing the image. If I put the opacity of the outer rectangle to 0.0 then image being the child also becomes transparent. Is there a way to make outer rectangle transparent irrespective of inner image.

Qt Code:
  1. Rectangle
  2. {
  3. id:outerRect
  4. width: 308
  5. height: 271
  6. color:"transparent"
  7. property variant deleteTipData:deletePopUpData
  8.  
  9. Image {
  10. id: backImage
  11. source: "ui_images/background.png"
  12. width:208
  13. height: 171
  14.  
  15. }
  16.  
  17. }
To copy to clipboard, switch view to plain text mode