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
QXcbX11Info Class Reference

#include <qxcbnativepainting.h>

Collaboration diagram for QXcbX11Info:

Public Member Functions

 QXcbX11Info ()
 ~QXcbX11Info ()
 QXcbX11Info (const QXcbX11Info &other)
QXcbX11Infooperator= (const QXcbX11Info &other)
int depth () const
void setDepth (int depth)
int screen () const
Colormap colormap () const
voidvisual () const
void setVisual (void *visual)

Static Public Member Functions

static QXcbX11Info fromScreen (int screen)
static Displaydisplay ()
static int appScreen ()
static int appDepth (int screen=-1)
static int appCells (int screen=-1)
static Colormap appColormap (int screen=-1)
static voidappVisual (int screen=-1)
static Window appRootWindow (int screen=-1)
static bool appDefaultColormap (int screen=-1)
static bool appDefaultVisual (int screen=-1)
static int appDpiX (int screen=-1)
static int appDpiY (int screen=-1)

Friends

class QX11PaintEngine
class QX11PlatformPixmap
void qt_x11SetScreen (QPixmap &pixmap, int screen)

Detailed Description

Definition at line 25 of file qxcbnativepainting.h.

Constructor & Destructor Documentation

◆ QXcbX11Info() [1/2]

QXcbX11Info::QXcbX11Info ( )

Definition at line 97 of file qxcbnativepainting.cpp.

References QXcbX11Info().

Referenced by QXcbX11Info().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QXcbX11Info()

QXcbX11Info::~QXcbX11Info ( )

Definition at line 101 of file qxcbnativepainting.cpp.

◆ QXcbX11Info() [2/2]

QXcbX11Info::QXcbX11Info ( const QXcbX11Info & other)

Definition at line 104 of file qxcbnativepainting.cpp.

References QXcbX11Info().

Referenced by QXcbX11Info().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ appCells()

int QXcbX11Info::appCells ( int screen = -1)
static

Definition at line 181 of file qxcbnativepainting.cpp.

References QX11InfoData::cells, QXcbX11Data::defaultScreen, and QXcbX11Data::screens.

Referenced by fromScreen().

Here is the caller graph for this function:

◆ appColormap()

Colormap QXcbX11Info::appColormap ( int screen = -1)
static

Definition at line 186 of file qxcbnativepainting.cpp.

References QX11InfoData::colormap, QXcbX11Data::defaultScreen, and QXcbX11Data::screens.

Referenced by fromScreen().

Here is the caller graph for this function:

◆ appDefaultColormap()

bool QXcbX11Info::appDefaultColormap ( int screen = -1)
static

Definition at line 201 of file qxcbnativepainting.cpp.

References QX11InfoData::defaultColormap, QXcbX11Data::defaultScreen, and QXcbX11Data::screens.

Referenced by fromScreen().

Here is the caller graph for this function:

◆ appDefaultVisual()

bool QXcbX11Info::appDefaultVisual ( int screen = -1)
static

Definition at line 206 of file qxcbnativepainting.cpp.

References QXcbX11Data::defaultScreen, QX11InfoData::defaultVisual, and QXcbX11Data::screens.

Referenced by fromScreen().

Here is the caller graph for this function:

◆ appDepth()

int QXcbX11Info::appDepth ( int screen = -1)
static

Definition at line 176 of file qxcbnativepainting.cpp.

References QXcbX11Data::defaultScreen, QX11InfoData::depth, and QXcbX11Data::screens.

Referenced by fromScreen().

Here is the caller graph for this function:

◆ appDpiX()

int QXcbX11Info::appDpiX ( int screen = -1)
static

◆ appDpiY()

int QXcbX11Info::appDpiY ( int screen = -1)
static

◆ appRootWindow()

Window QXcbX11Info::appRootWindow ( int screen = -1)
static

Definition at line 196 of file qxcbnativepainting.cpp.

References QXcbX11Data::defaultScreen, and QXcbX11Data::display.

◆ appScreen()

int QXcbX11Info::appScreen ( )
static

Definition at line 171 of file qxcbnativepainting.cpp.

References QXcbX11Data::defaultScreen.

Referenced by QXcbColormap::instance(), qt_x11SetScreen, setDepth(), and setVisual().

Here is the caller graph for this function:

◆ appVisual()

void * QXcbX11Info::appVisual ( int screen = -1)
static

Definition at line 191 of file qxcbnativepainting.cpp.

References QXcbX11Data::defaultScreen, QXcbX11Data::screens, and QX11InfoData::visual.

Referenced by fromScreen().

Here is the caller graph for this function:

◆ colormap()

Colormap QXcbX11Info::colormap ( ) const

Definition at line 153 of file qxcbnativepainting.cpp.

◆ depth()

int QXcbX11Info::depth ( ) const

Definition at line 148 of file qxcbnativepainting.cpp.

◆ display()

Display * QXcbX11Info::display ( )
static

Definition at line 138 of file qxcbnativepainting.cpp.

References QXcbX11Data::display.

Referenced by qt_x11_drawImage(), and setCapStyle().

Here is the caller graph for this function:

◆ fromScreen()

QXcbX11Info QXcbX11Info::fromScreen ( int screen)
static

Definition at line 114 of file qxcbnativepainting.cpp.

References appCells(), appColormap(), appDefaultColormap(), appDefaultVisual(), appDepth(), appVisual(), QX11InfoData::cells, QX11InfoData::colormap, QX11InfoData::defaultColormap, QX11InfoData::defaultVisual, QX11InfoData::depth, QX11InfoData::screen, and QX11InfoData::visual.

Referenced by qt_x11SetScreen, setDepth(), and setVisual().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

QXcbX11Info & QXcbX11Info::operator= ( const QXcbX11Info & other)

Definition at line 108 of file qxcbnativepainting.cpp.

Referenced by setDepth(), and setVisual().

Here is the caller graph for this function:

◆ screen()

int QXcbX11Info::screen ( ) const

Definition at line 143 of file qxcbnativepainting.cpp.

Referenced by QX11PaintEngine::drawTiledPixmap().

Here is the caller graph for this function:

◆ setDepth()

void QXcbX11Info::setDepth ( int depth)

Definition at line 130 of file qxcbnativepainting.cpp.

References appScreen(), fromScreen(), and operator=().

Here is the call graph for this function:

◆ setVisual()

void QXcbX11Info::setVisual ( void * visual)

Definition at line 163 of file qxcbnativepainting.cpp.

References appScreen(), fromScreen(), and operator=().

Here is the call graph for this function:

◆ visual()

void * QXcbX11Info::visual ( ) const

Definition at line 158 of file qxcbnativepainting.cpp.

◆ qt_x11SetScreen

void qt_x11SetScreen ( QPixmap & pixmap,
int screen )
friend

Definition at line 295 of file qpixmap_x11.cpp.

References appScreen(), fromScreen(), and qt_x11SetDefaultScreen().

◆ QX11PaintEngine

friend class QX11PaintEngine
friend

Definition at line 59 of file qxcbnativepainting.h.

◆ QX11PlatformPixmap

friend class QX11PlatformPixmap
friend

Definition at line 60 of file qxcbnativepainting.h.


The documentation for this class was generated from the following files: