Hi,
I'm using two Dockwidgets one left one right, each docked. I'd like to have them both docked without filling the whole vertical space. When i change their size it shows only effect when non docked, so i tried to make their background transparent.
I tried
- setBackgroundRole(QPalette::NoRole);
- setWindowOpacity (0.5);
- setAttribute(Qt::WA_TransparentForMouseEvents);
- setAttribute(Qt::WA_TranslucentBackground);
- and the setBrush on the background which just drawed the background black instead of transparent when non docked
and the setMask code from
t-qdialog-w-transparent-backgroundl
but none of it worked
is there any other possibility to adjust the size of a docked widget or setting its transparent?
Bookmarks