Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qxcbxsettings.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#pragma once
6
7#include "qxcbscreen.h"
8
10
12
14{
16public:
19 bool initialized() const;
20
21 QVariant setting(const QByteArray &property) const;
22
23 typedef void (*PropertyChangeFunc)(QXcbVirtualDesktop *screen, const QByteArray &name, const QVariant &property, void *handle);
24 void registerCallbackForProperty(const QByteArray &property, PropertyChangeFunc func, void *handle);
25 void removeCallbackForHandle(const QByteArray &property, void *handle);
26 void removeCallbackForHandle(void *handle);
27
28 void handlePropertyNotifyEvent(const xcb_property_notify_event_t *event) override;
29private:
31};
32
33QT_END_NAMESPACE
void updateContext()
void changeCursor(QCursor *cursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
QPoint pos() const override
QXcbCursor(QXcbConnection *conn, QXcbScreen *screen)
void setPos(const QPoint &pos) override
QSize size() const override
Returns the size of the cursor, in native pixels.
xcb_connection_t * xcb_connection() const
Definition qxcbobject.h:20
QXcbObject(QXcbConnection *connection=nullptr)
Definition qxcbobject.h:14
xcb_window_t root() const
Definition qxcbscreen.h:43
void removeCallbackForHandle(const QByteArray &property, void *handle)
void removeCallbackForHandle(void *handle)
void registerCallbackForProperty(const QByteArray &property, PropertyChangeFunc func, void *handle)
QVariant setting(const QByteArray &property) const
bool initialized() const
void(* PropertyChangeFunc)(QXcbVirtualDesktop *screen, const QByteArray &name, const QVariant &property, void *handle)
void handlePropertyNotifyEvent(const xcb_property_notify_event_t *event) override
#define Q_XCB_REPLY(call,...)
static const uint8_t mcur_ver_bits[]
static const uint8_t * cursor_bits16[]
static const uint8_t mcur_bdiag_bits[]
static xcb_font_t cursorFont
static const uint8_t busy_bits[]
static const uint8_t closedhand_bits[]
static const uint8_t whatsthism_bits[]
static int cursorIdForShape(int cshape)
static const uint8_t openhandm_bits[]
static const uint8_t forbiddenm_bits[]
static const uint8_t cur_fdiag_bits[]
static const uint8_t cur_ver_bits[]
static uint8_t cur_blank_bits[]
static int cursorCount
static const std::vector< const char * > cursorNames[]
static const uint8_t openhand_bits[]
static const uint8_t mcur_fdiag_bits[]
static const uint8_t cur_bdiag_bits[]
static const uint8_t closedhandm_bits[]
static const uint8_t cur_hor_bits[]
static const uint8_t mcur_hor_bits[]
static const uint8_t vsplitm_bits[]
static const uint8_t *const cursor_bits32[]
static const uint8_t whatsthis_bits[]
static const uint8_t busym_bits[]
static const uint8_t hsplitm_bits[]
static const uint8_t *const cursor_bits20[]
static const uint8_t vsplit_bits[]
static const uint8_t hsplit_bits[]
static const uint8_t forbidden_bits[]
#define XC_circle
#define XC_hand2
#define XC_xterm
#define XC_crosshair
#define XC_watch
#define XC_bottom_right_corner
#define XC_fleur
#define XC_center_ptr
#define XC_sb_h_double_arrow
#define XC_left_ptr
#define XC_question_arrow
#define XC_sb_v_double_arrow
#define XC_top_right_corner
xcb_pixmap_t qt_xcb_XPixmapFromBitmap(QXcbScreen *screen, const QImage &image)
QT_BEGIN_NAMESPACE bool qt_xcb_imageFormatForVisual(QXcbConnection *connection, uint8_t depth, const xcb_visualtype_t *visual, QImage::Format *imageFormat, bool *needsRgbSwap=nullptr)
Definition qxcbimage.cpp:69
xcb_cursor_t qt_xcb_createCursorXRender(QXcbScreen *screen, const QImage &image, const QPoint &spot)
QPixmap qt_xcb_pixmapFromXPixmap(QXcbConnection *connection, xcb_pixmap_t pixmap, int width, int height, int depth, const xcb_visualtype_t *visual)