[Qt-interest] How to disable window shadow on Mac?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Fri Aug 27 17:00:04 CEST 2010
On 2010-08-27 Dmitry Dmitry Savenko wrote:
> shadow. Is it possible to disable the shadow?
I guess you can control that with one of these flags:
http://doc.trolltech.com/4.6/qt.html#WindowType-enum
http://doc.trolltech.com/4.6/widgets-windowflags.html
If I would have to guess I would say it would be Qt::FramelessWindowHint what you are looking for. Btw are you implementing your own splashscreen,, or are you using http://doc.trolltech.com/4.6/qsplashscreen.html? Because in the later case I would expect that it is drawn without shadow already (ie the proper window flags are already set) - but I have never tried it so far (even though I got a Mac since several months, too ;)
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list