QCocoaWindowFunctions Class

The QCocoaWindowFunctions class is an inline class containing miscellaneous functionality for NSWindow and NSView window specific functionality. More...

Header: #include <QCocoaWindowFunctions>

Public Types

Static Public Members

Detailed Description

The QCocoaWindowFunctions class is an inline class containing miscellaneous functionality for NSWindow and NSView window specific functionality.

Note: There is no binary compatibility guarantee for this class, meaning that an application using it is only guaranteed to work with the Qt version it was developed against.

Member Type Documentation

typedef QCocoaWindowFunctions::BottomLeftClippedByNSWindowOffset

This is the typedef for the function returned by QGuiApplication::platformFunction when passed clippedByNSWindowIdentifier.

Member Function Documentation

[static] QPoint QCocoaWindowFunctions::bottomLeftClippedByNSWindowOffset(QWindow *window)

This is a convenience function that can be used directly instead of resolving the function pointer. window will be relayed to the function retrieved by QGuiApplication

[static] const QByteArray QCocoaWindowFunctions::bottomLeftClippedByNSWindowOffsetIdentifier()

This function returns the bytearray that can be used to query QGuiApplication::platformFunction to retrieve the BottomLeftClippedByNSWindowOffset function.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.