Problem resizing a QDockWidget when QMainWindow has WA_TranslucentBackground attribute
-
Hi,
When I use this two properties:
setWindowFlags(Qt::FramelessWindowHint);
setAttribute(Qt::WA_TranslucentBackground);then, in my QMainWindow, if I want to resize with the mouse a QDockWidget, the QDockWidgets stays bad painted, and then if I focus off of the QMainWindow, the QDockWidget gets painted well. What do I need to repaint fine the window and where?
Thanks in advance!
QT 4.8.0, Windows 7
-
Hi,
You should link the bug reports you have found so other users might help you.
You should also consider trying with Qt 4.8.5
-
Some links I think theyre related to my problem:
https://bugreports.qt-project.org/browse/QTBUG-17548
http://qt-project.org/forums/viewthread/24344And the pic of the resize fail:
[url=http://postimage.org/][img]http://s7.postimg.org/m8tl1wa7f/resizefail.png[/img][/url]