Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 96 of file qxcbnativepainting.cpp.

◆ ~QXcbX11Info()

QXcbX11Info::~QXcbX11Info ( )

Definition at line 100 of file qxcbnativepainting.cpp.

◆ QXcbX11Info() [2/2]

QXcbX11Info::QXcbX11Info ( const QXcbX11Info & other)

Definition at line 103 of file qxcbnativepainting.cpp.

Member Function Documentation

◆ appCells()

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

Definition at line 180 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by fromScreen().

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

◆ appColormap()

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

Definition at line 185 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by colormap(), and fromScreen().

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

◆ appDefaultColormap()

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

Definition at line 200 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by fromScreen().

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

◆ appDefaultVisual()

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

Definition at line 205 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by fromScreen().

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

◆ appDepth()

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

Definition at line 175 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by depth(), QX11PlatformPixmap::fromImage(), fromScreen(), and QX11PlatformPixmap::x11ConvertToDefaultDepth().

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

◆ appDpiX()

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

Definition at line 210 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by QX11PlatformPixmap::metric().

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

◆ appDpiY()

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

Definition at line 221 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by QX11PlatformPixmap::metric().

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

◆ appRootWindow()

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

Definition at line 195 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by QX11PlatformPixmap::createBitmapFromImage().

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

◆ appScreen()

int QXcbX11Info::appScreen ( )
static

Definition at line 170 of file qxcbnativepainting.cpp.

References X11.

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

+ Here is the caller graph for this function:

◆ appVisual()

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

Definition at line 190 of file qxcbnativepainting.cpp.

References screen(), and X11.

Referenced by fromScreen(), qt_xcb_native_x11_info_init(), and visual().

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

◆ colormap()

Colormap QXcbX11Info::colormap ( ) const

Definition at line 152 of file qxcbnativepainting.cpp.

References appColormap(), and QX11InfoData::colormap.

+ Here is the call graph for this function:

◆ depth()

int QXcbX11Info::depth ( ) const

Definition at line 147 of file qxcbnativepainting.cpp.

References appDepth(), and QX11InfoData::depth.

Referenced by QX11PlatformPixmap::fromImage(), QX11PlatformPixmap::resize(), and setDepth().

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

◆ display()

◆ fromScreen()

QXcbX11Info QXcbX11Info::fromScreen ( int screen)
static

Definition at line 113 of file qxcbnativepainting.cpp.

References appCells(), appColormap(), appDefaultColormap(), appDefaultVisual(), appDepth(), appVisual(), info, QX11InfoData::screen, and screen().

Referenced by QX11PlatformPixmap::fromImage(), QX11PlatformPixmap::resize(), 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 107 of file qxcbnativepainting.cpp.

References other().

+ Here is the call graph for this function:

◆ screen()

int QXcbX11Info::screen ( ) const

Definition at line 142 of file qxcbnativepainting.cpp.

References appScreen(), and QX11InfoData::screen.

Referenced by appCells(), appColormap(), appDefaultColormap(), appDefaultVisual(), appDepth(), appDpiX(), appDpiY(), appRootWindow(), appVisual(), QX11PlatformPixmap::fill(), QX11PlatformPixmap::fromImage(), fromScreen(), QX11PlatformPixmap::mask(), QX11PlatformPixmap::metric(), QX11PlatformPixmap::paintEngine(), QX11PlatformPixmap::resize(), QX11PlatformPixmap::setMask(), and QX11PlatformPixmap::transformed().

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

◆ setDepth()

void QXcbX11Info::setDepth ( int depth)

Definition at line 129 of file qxcbnativepainting.cpp.

References appScreen(), QX11InfoData::depth, depth(), and fromScreen().

Referenced by QX11PlatformPixmap::fromImage().

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

◆ setVisual()

void QXcbX11Info::setVisual ( void * visual)

Definition at line 162 of file qxcbnativepainting.cpp.

References appScreen(), fromScreen(), QX11InfoData::visual, and visual().

+ Here is the call graph for this function:

◆ visual()

void * QXcbX11Info::visual ( ) const

Definition at line 157 of file qxcbnativepainting.cpp.

References appVisual(), and QX11InfoData::visual.

Referenced by QX11PlatformPixmap::copy(), QX11PlatformPixmap::fromImage(), QX11PlatformPixmap::resize(), setVisual(), and QX11PlatformPixmap::x11ConvertToDefaultDepth().

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

Friends And Related Symbol Documentation

◆ qt_x11SetScreen

void qt_x11SetScreen ( QPixmap & pixmap,
int screen )
friend

Definition at line 294 of file qpixmap_x11.cpp.

◆ 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: