![]() |
Qt 6.x
The Qt SDK
|
#include "qxcbwindow.h"#include <QtDebug>#include <QMetaEnum>#include <QScreen>#include <QtGui/QIcon>#include <QtGui/QRegion>#include <QtGui/private/qhighdpiscaling_p.h>#include "qxcbintegration.h"#include "qxcbconnection.h"#include "qxcbscreen.h"#include "qxcbkeyboard.h"#include "qxcbimage.h"#include "qxcbwmsupport.h"#include "qxcbnativeinterface.h"#include "qxcbsystemtraytracker.h"#include <qpa/qplatformintegration.h>#include <qpa/qplatformcursor.h>#include <algorithm>#include <xcb/xcb_icccm.h>#include <xcb/xfixes.h>#include <xcb/shape.h>#include <xcb/xinput.h>#include <private/qguiapplication_p.h>#include <private/qwindow_p.h>#include <qpa/qplatformbackingstore.h>#include <qpa/qwindowsysteminterface.h>#include <stdio.h>
Include dependency graph for qxcbwindow.cpp:Go to the source code of this file.
Classes | |
| struct | QtMotifWmHints |
Macros | |
| #define | XCOORD_MAX 32767 |
| #define | qt_xcb_mask_is_set(ptr, event) (((unsigned char*)(ptr))[(event)>>3] & (1 << ((event) & 7))) |
Functions | |
| Q_LOGGING_CATEGORY (lcQpaWindow, "qt.qpa.window") | |
| Q_DECLARE_TYPEINFO (xcb_rectangle_t, Q_PRIMITIVE_TYPE) | |
| static bool | isTransient (const QWindow *w) |
| static QWindow * | childWindowAt (QWindow *win, const QPoint &p) |
| static bool | doCheckUnGrabAncestor (QXcbConnection *conn) |
| static bool | ignoreLeaveEvent (quint8 mode, quint8 detail, QXcbConnection *conn=nullptr) |
| static bool | ignoreEnterEvent (quint8 mode, quint8 detail, QXcbConnection *conn=nullptr) |
| static int | fixed1616ToInt (xcb_input_fp1616_t val) |
| static uint | qtEdgesToXcbMoveResizeDirection (Qt::Edges edges) |
| static bool | activeWindowChangeQueued (const QWindow *window) |
| static xcb_rectangle_t | qRectToXCBRectangle (const QRect &r) |
| QList< xcb_rectangle_t > | qRegionToXcbRectangleList (const QRegion ®ion) |
Variables | |
| const quint32 | XEMBED_VERSION = 0 |
| static const char * | wm_window_type_property_id = "_q_xcb_wm_window_type" |
| static const char * | wm_window_role_property_id = "_q_xcb_wm_window_role" |
| #define qt_xcb_mask_is_set | ( | ptr, | |
| event | |||
| ) | (((unsigned char*)(ptr))[(event)>>3] & (1 << ((event) & 7))) |
Definition at line 2013 of file qxcbwindow.cpp.
| #define XCOORD_MAX 32767 |
Definition at line 51 of file qxcbwindow.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| defaultWindowWidth | |
| defaultWindowHeight | |
Definition at line 52 of file qxcbwindow.cpp.
| anonymous enum : quint32 |
| Enumerator | |
|---|---|
| baseEventMask | |
| defaultEventMask | |
| transparentForInputEventMask | |
Definition at line 207 of file qxcbwindow.cpp.
| anonymous enum |
Definition at line 801 of file qxcbwindow.cpp.
| Enumerator | |
|---|---|
| XEMBED_FOCUS_CURRENT | |
| XEMBED_FOCUS_FIRST | |
| XEMBED_FOCUS_LAST | |
Definition at line 67 of file qxcbwindow.cpp.
| enum QX11EmbedInfoFlags |
| Enumerator | |
|---|---|
| XEMBED_MAPPED | |
Definition at line 73 of file qxcbwindow.cpp.
| enum QX11EmbedMessageType |
Definition at line 77 of file qxcbwindow.cpp.
|
static |
Definition at line 2408 of file qxcbwindow.cpp.
References QWindowSystemInterfacePrivate::ActivatedWindowEvent::activated, QWindowSystemInterfacePrivate::ActivatedWindow, QWindowSystemInterfacePrivate::peekWindowSystemEvent(), and window().
Referenced by QXcbWindow::handleXEmbedMessage().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 179 of file qxcbwindow.cpp.
References QObject::children(), childWindowAt(), QRect::contains(), QWidget::geometry, QObject::parent(), win, and Qt::WindowTransparentForInput.
Referenced by childWindowAt(), and QXcbWindow::hide().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 1889 of file qxcbwindow.cpp.
References QXcbConnection::buttonState(), QXcbBasicConnection::hasXInput2(), and Qt::NoButton.
Referenced by ignoreEnterEvent(), and ignoreLeaveEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 2008 of file qxcbwindow.cpp.
Referenced by QXcbWindow::handleXIEnterLeave(), and QXcbWindow::handleXIMouseEvent().
Here is the caller graph for this function:
|
static |
Definition at line 1913 of file qxcbwindow.cpp.
References doCheckUnGrabAncestor().
Referenced by QXcbWindow::handleEnterNotifyEvent(), and QXcbWindow::handleLeaveNotifyEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1904 of file qxcbwindow.cpp.
References doCheckUnGrabAncestor().
Referenced by QXcbWindow::handleLeaveNotifyEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 111 of file qxcbwindow.cpp.
References Qt::Dialog, Qt::Drawer, Qt::Popup, Qt::Sheet, Qt::SplashScreen, Qt::Tool, and Qt::ToolTip.
Referenced by QQC2_NAMESPACE::QMacStyle::drawComplexControl(), QMacStyle::drawComplexControl(), and QXcbWindow::show().
Here is the caller graph for this function:| Q_DECLARE_TYPEINFO | ( | xcb_rectangle_t | , |
| Q_PRIMITIVE_TYPE | |||
| ) |
| Q_LOGGING_CATEGORY | ( | lcQpaWindow | , |
| "qt.qpa.window" | |||
| ) |
|
inlinestatic |
Definition at line 2458 of file qxcbwindow.cpp.
References qMax(), and qMin().
Referenced by qRegionToXcbRectangleList().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 2485 of file qxcbwindow.cpp.
References QList< T >::push_back(), qRectToXCBRectangle(), QRegion::rectCount(), and QList< T >::reserve().
Referenced by QXcbWindow::setMask().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2340 of file qxcbwindow.cpp.
References Qt::BottomEdge, Qt::LeftEdge, qWarning, Qt::RightEdge, and Qt::TopEdge.
Referenced by QXcbWindow::doStartSystemMoveResize().
Here is the caller graph for this function:
|
static |
Definition at line 199 of file qxcbwindow.cpp.
Referenced by QXcbWindow::create().
|
static |
Definition at line 198 of file qxcbwindow.cpp.
Referenced by QXcbWindow::setWindowFlags().
| const quint32 XEMBED_VERSION = 0 |
Definition at line 93 of file qxcbwindow.cpp.
Referenced by QXcbWindow::create().