drkbkr
19th March 2007, 15:45
Hi,
I'm wondering if people have good ways to gray out an entire window. I'd like my entire main window to appear grayed out when a dialog is active (to further emphasize that the window is inactive and can't be used), then come back to normal when the dialog is dismissed.
I was thinking of just laying a big QPixmap filled with semi transparent white over the whole thing, but I don't know that that is the best idea.
Any comments or help would be appreciated.
Thanks,
Derek
I'm wondering if people have good ways to gray out an entire window. I'd like my entire main window to appear grayed out when a dialog is active (to further emphasize that the window is inactive and can't be used), then come back to normal when the dialog is dismissed.
I was thinking of just laying a big QPixmap filled with semi transparent white over the whole thing, but I don't know that that is the best idea.
Any comments or help would be appreciated.
Thanks,
Derek