QCocoaWindowFunctions Class
The QCocoaWindowFunctions class is an inline class containing miscellaneous functionality for NSWindow and NSView window specific functionality. 更多...
头文件: | #include <QCocoaWindowFunctions> |
公有类型
静态公有成员
QPoint | bottomLeftClippedByNSWindowOffset(QWindow *window) |
const QByteArray | bottomLeftClippedByNSWindowOffsetIdentifier() |
详细描述
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.
成员类型
typedef QCocoaWindowFunctions::BottomLeftClippedByNSWindowOffset
This is the typedef for the function returned by QGuiApplication::platformFunction when passed clippedByNSWindowIdentifier.
成员函数
[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 returnes the bytearray that can be used to query QGuiApplication::platformFunction to retrieve the BottomLeftClippedByNSWindowOffset function.