45 #include <QtGui/QPlatformWindow> 46 #include <QtGui/QPlatformWindowFormat> 47 #include <QtGui/QImage> bool m_hasReceivedSyncRequest
void handleFocusOutEvent(const xcb_focus_out_event_t *event)
Format
The following image formats are available in Qt.
QPlatformGLContext * m_context
void handleButtonPressEvent(const xcb_button_press_event_t *event)
void setWindowTitle(const QString &title)
Reimplement to set the window title to title.
QPlatformGLContext * glContext() const
Reimplement to return the glContext associated with the window.
void handleConfigureNotifyEvent(const xcb_configure_notify_event_t *event)
The QString class provides a Unicode character string.
Qt::WindowFlags setWindowFlags(Qt::WindowFlags flags)
Requests setting the window flags of this surface to type.
void handleMotionNotifyEvent(const xcb_motion_notify_event_t *event)
void handleMouseEvent(xcb_button_t detail, uint16_t state, xcb_timestamp_t time, const QPoint &local, const QPoint &global)
void handleFocusInEvent(const xcb_focus_in_event_t *event)
xcb_sync_int64_t m_syncValue
void handleClientMessageEvent(const xcb_client_message_event_t *event)
void setVisible(bool visible)
Reimplemented in subclasses to show the surface if visible is true, and hide it if visible is false...
void setGeometry(const QRect &rect)
This function is called by Qt whenever a window is moved or the window is resized.
void setNetWmWindowTypes(Qt::WindowFlags flags)
QImage::Format format() const
void handleButtonReleaseEvent(const xcb_button_release_event_t *event)
void handleEnterNotifyEvent(const xcb_enter_notify_event_t *event)
void requestActivateWindow()
Reimplement to let Qt be able to request activation/focus for a window.
void handleExposeEvent(const xcb_expose_event_t *event)
xcb_sync_counter_t m_syncCounter
WId winId() const
Reimplement in subclasses to return a handle to the native window.
The QPlatformGLContext class provides an abstraction for native GL contexts.
void setParent(const QPlatformWindow *window)
This function is called to enable native child widgets in QPA.
xcb_window_t window() const
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
void lower()
Reimplement to be able to let Qt lower windows to the bottom of the desktop.
void handleLeaveNotifyEvent(const xcb_leave_notify_event_t *event)
void updateSyncRequestCounter()