Thank you all for the replies. I can not set the alpha value as I am using an image as the background.
I solved this by moving the opacity to the BorderImage which acts as background of the Window.
id : root
color: "transparent" // This works properly when Aero theme is enabled in Windows