From dc2fd227abe2508f2c8329623c4342800a107147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Mon, 5 Nov 2012 22:20:47 +0100 Subject: Add WindowFullscreenButtonHint. Adds the fullscreen button on Mac OS X. Has no effect on other platforms. Regarding the name I dropped the "Mac" prefix (like MacWindowToolBarButtonHint). Other platforms can use and we don't want to accumulate "Mac" API's. Change logic in QCocoaWindow check for this flag instead of using WindowsMaximizebutton. Change-Id: I9f2db75e8e71b3da36777c7e48852eda3ce9d534 Reviewed-by: Jake Petroules Reviewed-by: Lars Knoll Reviewed-by: Konstantin Ritt --- src/corelib/global/qnamespace.qdoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/global/qnamespace.qdoc') diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 66442a83c7..903e17c095 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -1991,6 +1991,8 @@ \value MacWindowToolBarButtonHint On Mac OS X adds a tool bar button (i.e., the oblong button that is on the top right of windows that have toolbars). + \value WindowFullscreenButtonHint On Mac OS X adds a fullscreen button. + \value BypassGraphicsProxyWidget Prevents the window and its children from automatically embedding themselves into a QGraphicsProxyWidget if the parent widget is already embedded. You can set this flag if you -- cgit v1.2.3