以下成员源于类 QPaintDevice are part of the Qt compatibility layer. We advise against using them in new code.
| int | x11Cells () const |
| Qt::HANDLE | x11Colormap () const |
| bool | x11DefaultColormap () const |
| bool | x11DefaultVisual () const |
| int | x11Depth () const |
| Display * | x11Display () const |
| int | x11Screen () const |
| void * | x11Visual () const |
| int | x11AppCells (int screen = -1) |
| Qt::HANDLE | x11AppColormap (int screen = -1) |
| bool | x11AppDefaultColormap (int screen = -1) |
| bool | x11AppDefaultVisual (int screen = -1) |
| int | x11AppDepth (int screen = -1) |
| Display * | x11AppDisplay () |
| int | x11AppDpiX (int screen = -1) |
| int | x11AppDpiY (int screen = -1) |
| Qt::HANDLE | x11AppRootWindow (int screen = -1) |
| int | x11AppScreen () |
| void * | x11AppVisual (int screen = -1) |
| void | x11SetAppDpiX (int dpi , int screen ) |
| void | x11SetAppDpiY (int dpi , int screen ) |
[static]
int
QPaintDevice::
x11AppCells
(
int
screen
= -1)
使用 QX11Info::cells () 代替。
例如,若有代码像
int cells = QPaintDevice::x11AppCells(screen);
可以把它重写成
int cells = widget->x11Info().appCells(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
Qt::HANDLE
QPaintDevice::
x11AppColormap
(
int
screen
= -1)
使用 QX11Info::colormap () 代替。
例如,若有代码像
unsigned long colormap = QPaintDevice::x11AppColormap(screen);
可以把它重写成
unsigned long colormap = widget->x11Info().appColormap(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
bool
QPaintDevice::
x11AppDefaultColormap
(
int
screen
= -1)
使用 QX11Info::defaultColormap () 代替。
例如,若有代码像
bool isDefault = QPaintDevice::x11AppDefaultColormap(screen);
可以把它重写成
bool isDefault = widget->x11Info().appDefaultColormap(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
bool
QPaintDevice::
x11AppDefaultVisual
(
int
screen
= -1)
使用 QX11Info::defaultVisual () 代替。
例如,若有代码像
bool isDefault = QPaintDevice::x11AppDefaultVisual(screen);
可以把它重写成
bool isDefault = widget->x11Info().appDefaultVisual(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
int
QPaintDevice::
x11AppDepth
(
int
screen
= -1)
使用 QX11Info::depth () 代替。
例如,若有代码像
int depth = QPaintDevice::x11AppDepth(screen);
可以把它重写成
int depth = widget->x11Info().appDepth(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
显示
* QPaintDevice::
x11AppDisplay
()
使用 QX11Info::display () 代替。
例如,若有代码像
Display *display = QPaintDevice::x11AppDisplay();
可以把它重写成
Display *display = widget->x11Info().display();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
int
QPaintDevice::
x11AppDpiX
(
int
screen
= -1)
使用 QX11Info::appDpiX () 代替。
例如,若有代码像
bool isDefault = QPaintDevice::x11AppDpiX(screen);
可以把它重写成
bool isDefault = widget->x11Info().appDpiX(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
int
QPaintDevice::
x11AppDpiY
(
int
screen
= -1)
使用 QX11Info::appDpiY () 代替。
例如,若有代码像
bool isDefault = QPaintDevice::x11AppDpiY(screen);
可以把它重写成
bool isDefault = widget->x11Info().appDpiY(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
Qt::HANDLE
QPaintDevice::
x11AppRootWindow
(
int
screen
= -1)
使用 QX11Info::appRootWindow () 代替。
例如,若有代码像
unsigned long window = QPaintDevice::x11AppRootWindow(screen);
可以把它重写成
unsigned long window = widget->x11Info().appRootWindow(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
int
QPaintDevice::
x11AppScreen
()
使用 QX11Info::screen () 代替。
例如,若有代码像
int screen = QPaintDevice::x11AppScreen();
可以把它重写成
int screen = widget->x11Info().appScreen();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
void
* QPaintDevice::
x11AppVisual
(
int
screen
= -1)
使用 QX11Info::visual () 代替。
例如,若有代码像
void *visual = QPaintDevice::x11AppVisual(screen);
可以把它重写成
void *visual = widget->x11Info().appVisual(screen);
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
使用 QX11Info::cells () 代替。
例如,若有代码像
int cells = widget->x11Cells();
可以把它重写成
int cells = widget->x11Info().cells();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
使用 QX11Info::colormap () 代替。
例如,若有代码像
unsigned long screen = widget->x11Colormap();
可以把它重写成
unsigned long screen = widget->x11Info().colormap();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
使用 QX11Info::defaultColormap () 代替。
例如,若有代码像
bool isDefault = widget->x11DefaultColormap();
可以把它重写成
bool isDefault = widget->x11Info().defaultColormap();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
使用 QX11Info::defaultVisual () 代替。
例如,若有代码像
bool isDefault = widget->x11DefaultVisual();
可以把它重写成
bool isDefault = widget->x11Info().defaultVisual();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
使用 QX11Info::depth () 代替。
例如,若有代码像
int depth = widget->x11Depth();
可以把它重写成
int depth = widget->x11Info().depth();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
使用 QX11Info::display () 代替。
例如,若有代码像
Display *display = widget->x11Display();
可以把它重写成
Display *display = QX11Info::display();
另请参阅 QWidget::x11Info () 和 QX11Info::display ().
使用 QX11Info::screen () 代替。
例如,若有代码像
int screen = widget->x11Screen();
可以把它重写成
int screen = widget->x11Info().screen();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().
[static]
void
QPaintDevice::
x11SetAppDpiX
(
int
dpi
,
int
screen
)
使用 QX11Info::setAppDpiX () 代替。
[static]
void
QPaintDevice::
x11SetAppDpiY
(
int
dpi
,
int
screen
)
使用 QX11Info::setAppDpiY () 代替。
使用 QX11Info::visual () 代替。
例如,若有代码像
void *visual = widget->x11Visual();
可以把它重写成
void *visual = widget->x11Info().visual();
另请参阅 QWidget::x11Info () 和 QPixmap::x11Info ().