42 #ifndef QCOCOAWINDOW_H 43 #define QCOCOAWINDOW_H 45 #include <Cocoa/Cocoa.h> 47 #include <QPlatformWindow> 74 #endif // QCOCOAWINDOW_H
void setVisible(bool visible)
Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false...
#define QT_END_NAMESPACE
This macro expands to.
NSView * contentView() const
void setGeometry(const QRect &rect)
This function is called by Qt whenever a window is moved or the window is resized.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QCocoaWindow(QWidget *tlw)
The QRect class defines a rectangle in the plane using integer precision.
WId winId() const
Reimplement in subclasses to return a handle to the native window.
void setContentView(NSView *contentView)