the setWindowOpacity is used for top-level Widget; the aim is to get a standalone widget able to take an opacity different at 0.5 and able to transmit this transparency to all any child widget inside....I attached the picture
this was obtained with this code to the subclass of QGroupBox
Qt Code:
{ QStyleOptionGroupBox option; initStyleOption(&option); paint.setOpacity(0.25); }To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks