12#include <QtCore/private/qcore_mac_p.h> 
   13#include <qpa/qplatformscreen.h> 
   14#include <qpa/qwindowsysteminterface.h> 
   18    for (
int i = 0; 
i < 
s.size(); ++
i)
 
   19        if (!
s.at(
i).isSpace())
 
   26    if ([
window conformsToProtocol:
@protocol(QNSWindowProtocol)])
 
   27        return static_cast<QCocoaNSWindow *
>(
window).platformWindow;
 
   33- (BOOL)windowShouldClose:(NSWindow *)window
 
   36        return platformWindow->windowShouldClose();
 
   47- (NSRect)windowWillUseStandardFrame:(NSWindow *)window defaultFrame:(NSRect)proposedFrame
 
   65    QRectF maximizedFrame = 
QRectF(
w->framePosition(), maximumSize);
 
   71        qMax(screenGeometry.
left() - maximizedFrame.
left(), 0.0) +
 
   73        qMax(screenGeometry.
top() - maximizedFrame.
top(), 0.0) +
 
   79- (BOOL)windowShouldZoom:(NSWindow*)window toFrame:(NSRect)newFrame
 
   87- (BOOL)
window:(NSWindow *)window shouldPopUpDocumentPathMenu:(NSMenu *)menu
 
   99- (BOOL)
window:(NSWindow *)window shouldDragDocumentWithEvent:(NSEvent *)event from:(NSPoint)dragImageLocation withPasteboard:(NSPasteboard *)pasteboard
 
static CGPoint mapToNative(const QPointF &pos, QCocoaScreen *screen=QCocoaScreen::primaryScreen())
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr qreal bottom() const noexcept
Returns the y-coordinate of the rectangle's bottom edge.
constexpr qreal left() const noexcept
Returns the x-coordinate of the rectangle's left edge.
constexpr QSizeF size() const noexcept
Returns the size of the rectangle.
constexpr void translate(qreal dx, qreal dy) noexcept
Moves the rectangle dx along the x-axis and dy along the y-axis, relative to the current position.
constexpr qreal top() const noexcept
Returns the y-coordinate of the rectangle's top edge.
constexpr qreal right() const noexcept
Returns the x-coordinate of the rectangle's right edge.
constexpr QSizeF boundedTo(const QSizeF &) const noexcept
Returns a size holding the minimum width and height of this size and the given otherSize.
\macro QT_RESTRICTED_CAST_FROM_ASCII
constexpr const T & qMin(const T &a, const T &b)
constexpr const T & qMax(const T &a, const T &b)
static bool isWhiteSpace(const QString &s)
static QCocoaWindow * toPlatformWindow(NSWindow *window)
GLfloat GLfloat GLfloat w
[0]
GLdouble GLdouble GLdouble GLdouble top