PDA

View Full Version : QWidget's border style



luochen601
13th September 2010, 05:22
My Qt installed in Win7.
My custom window needs the win7 liked border (areo effect).
But I must use Qt::FramelessWindowHint for my custom usage.
So, how to realize? Thanks a lot.

tbscope
13th September 2010, 06:36
You want a border and then set it to not draw a border?
Why?

As a general rule, leave the window management to the window manager.
If you want to create a custom drawn window, use a style.

Sven
13th September 2010, 08:17
I think he is looking for that aren't you?

http://labs.trolltech.com/blogs/2009/09/15/using-blur-behind-on-windows/

Theres a tutorial how to create those aero / blur windows.