Cant say about the translucent widgets... but you can try the following with style sheets -
Define your style sheet with some variable multiplied by brightness... something like -
{
background-color: rgb(234* _BRIGHTNESS_ , 134* _BRIGHTNESS_ , 34* _BRIGHTNESS_ );
}
QWidget
{
background-color: rgb(234* _BRIGHTNESS_ , 134* _BRIGHTNESS_ , 34* _BRIGHTNESS_ );
}
To copy to clipboard, switch view to plain text mode
Then read the style sheet in your code, replace the _BRIGHTNESS_ with your desired value ( 0-1) and apply the style sheet.
Hope this will give you the desired effect
Bookmarks