1 Attachment(s)
How to have a tansparent window
Hi there.
I'm new in Qt (I have the 5.4 version). I have been watching the default examples projects and I found a "Quick Player" project. It has a transparent background and it looks very nice. Because I am new, I can not understand all the code and the lot of funtions. So I need help.
How can I have a transparent backgroud (like the example) in my own project? I have been trying without success. I found examples, but they don't look like the Quick Player.
I'll appreciate if some one can help me to make my own window looks like this.
Attachment 12149
Re: How to have a tansparent window
Re: How to have a tansparent window
waiting for the answering post
Re: How to have a tansparent window
Help me plis :'( I'm working in a game (BlackJack) and I want to make it with a transparent background.
Re: How to have a tansparent window
This might help you.
From that page:
Quote:
By a hexadecimal triplet or quad in the form "#RRGGBB" and "#AARRGGBB" respectively. For example, the color red corresponds to a triplet of "#FF0000" and a slightly transparent blue to a quad of "#800000FF"
is what you would be in interested.
More precisely this: "#AARRGGBB"
AA - alpha (opacity)
RR - red
GG - green
BB - blue
Hope it helped.