diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-04 09:19:06 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-04 09:19:06 (GMT) |
commit | 7418c05b7534b1e3aa014b420081d2f94b1ac0d2 (patch) | |
tree | 2e58e8f9c3fa60061893052096f8dd9c1167c77c /src/corelib | |
parent | d1a21551dc31937db4b62b2406ea3820dd8a8c0a (diff) | |
parent | 3c2373d7ea9bc91bb537c0725984d19ad0fbab01 (diff) | |
download | Qt-7418c05b7534b1e3aa014b420081d2f94b1ac0d2.zip Qt-7418c05b7534b1e3aa014b420081d2f94b1ac0d2.tar.gz Qt-7418c05b7534b1e3aa014b420081d2f94b1ac0d2.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging:
Cocoa: p1 bugfix, add widget flag MacNoCocoaChildWindow
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qnamespace.h | 1 | ||||
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 4d70744..864d4a5 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -525,6 +525,7 @@ public: #endif WA_X11DoNotAcceptFocus = 132, + WA_MacNoCocoaChildWindow = 133, // Add new attributes before this line WA_AttributeCount diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 22ad83b..c495d6f 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -925,6 +925,14 @@ the brushed metal style as supported by the windowing system. This attribute is only applicable to Mac OS X. + \value WA_MacNoCocoaChildWindow Indicates the widget should not be added + as a Cocoa child window of it's parent window. This will free the window + from being moved around together with the parent. However, this + will also allow it to stack/hide behind it's parent (if they are on + the same window level, e.g both windows are dialogs). This can cause problems if + both windows are modal, as the child can then block input to the parent + while hiding behind it. This attribute is only applicable to Mac OS X. + \omitvalue WA_MacMetalStyle \value WA_Mapped Indicates that the widget is mapped on screen. |