42 #ifndef QWAYLANDWINDOW_H 43 #define QWAYLANDWINDOW_H 45 #include <QtGui/QPlatformWindow> 46 #include <QtCore/QWaitCondition> 70 void configure(uint32_t time, uint32_t edges,
71 int32_t x, int32_t y, int32_t width, int32_t height);
96 #endif // QWAYLANDWINDOW_H QWaitCondition mFrameSyncWait
void configure(uint32_t time, uint32_t edges, int32_t x, int32_t y, int32_t width, int32_t height)
struct wl_surface * wl_surface() const
struct wl_surface * mSurface
static const char * data(const QByteArray &arr)
void setParent(const QPlatformWindow *parent)
This function is called to enable native child widgets in QPA.
void attach(QWaylandBuffer *buffer)
QWaylandWindow(QWidget *window)
WId winId() const
Reimplement in subclasses to return a handle to the native window.
bool mWaitingForFrameSync
void setVisible(bool visible)
Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false...
static void frameCallback(struct wl_surface *surface, void *data, uint32_t time)
The QRect class defines a rectangle in the plane using integer precision.
virtual WindowType windowType() const =0
QWaylandDisplay * mDisplay
void damage(const QRect &rect)
virtual void newSurfaceCreated()