Re: Adjust gui brightness
Take a look here (Issue 29, Translucent Widgets in Qt), maybe it's what you're looking for.
Re: Adjust gui brightness
@cydside Could you specify how translucet widgets can help me changing the color of all the gui widgets in my window to a darker or lighter color?
Thanks
Lodorot
Re: Adjust gui brightness
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 -
Code:
{
background-color: rgb(234* _BRIGHTNESS_ , 134* _BRIGHTNESS_ , 34* _BRIGHTNESS_ );
}
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 :)