diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-10-07 10:08:29 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-10-07 16:15:34 (GMT) |
commit | 01f0164d71612ba3f03f2e8f58ff6137dc38e4cf (patch) | |
tree | 214de90e95627b8c900bbd8938b98d2ffe56526e | |
parent | db182f75b69cd47ce8abbcc5acb2551306919a05 (diff) | |
download | Qt-01f0164d71612ba3f03f2e8f58ff6137dc38e4cf.zip Qt-01f0164d71612ba3f03f2e8f58ff6137dc38e4cf.tar.gz Qt-01f0164d71612ba3f03f2e8f58ff6137dc38e4cf.tar.bz2 |
Documented the NoOpaqueDetection enum value in ImageConversionFlags.
This might be useful for some people, so we should document it.
Reviewed-by: Bjørn Erik Nilsen
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index b7775bd..ab232bf 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -713,7 +713,13 @@ \omitvalue Dither_Mask \omitvalue AlphaDither_Mask \omitvalue DitherMode_Mask - \omitvalue NoOpaqueDetection + + \value NoOpaqueDetection Do not check whether the image contains non-opaque + pixels. Use this if you know that the image is semi-transparent and + you want to avoid the overhead of checking the pixels in the image + until a non-opaque pixel is found, or if you want the pixmap to + retain an alpha channel for some other reason. If the image has no + alpha channel this flag has no effect. */ /*! \enum Qt::GUIStyle |