| def cells () |
| def cloneX11Data (arg__1) |
| def colormap () |
| def copyX11Data (arg__1) |
| def defaultColormap () |
| def defaultVisual () |
| def depth () |
| def operator= (other) |
| def screen () |
| def appCells ([screen=-1]) |
| def appClass () |
| def appColormap ([screen=-1]) |
| def appDefaultColormap ([screen=-1]) |
| def appDefaultVisual ([screen=-1]) |
| def appDepth ([screen=-1]) |
| def appDpiX ([screen=-1]) |
| def appDpiY ([screen=-1]) |
| def appRootWindow ([screen=-1]) |
| def appScreen () |
| def appTime () |
| def appUserTime () |
| def isCompositingManagerRunning () |
| def setAppDpiX (screen,dpi) |
| def setAppDpiY (screen,dpi) |
| def setAppTime (time) |
| def setAppUserTime (time) |
The QX11Info class provides information about the X display configuration.
The class provides two APIs: a set of non-static functions that provide information about a specific widget or pixmap, and a set of static functions that provide the default information for the application.
Warning
This class is only available on X11. For querying per-screen information in a portable way, use QDesktopWidget .
| Parameter: | other – QX11Info |
|---|
Constructs an empty QX11Info object.
Constructs a copy of other .
| Parameter: | screen – int |
|---|---|
| Return type: | int |
Returns the number of cells used by the application on the given screen .
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Return type: | char |
|---|
Returns the X11 application class.
See also
display()
| Parameter: | screen – int |
|---|---|
| Return type: | Qt::HANDLE |
Returns a handle for the application’s color map on the given screen .
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
| Parameter: | screen – int |
|---|---|
| Return type: | bool |
Returns true if the application has a default color map on the given screen ; otherwise returns false.
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
| Parameter: | screen – int |
|---|---|
| Return type: | bool |
Returns true if the application has a default visual on the given screen ; otherwise returns false.
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
| Parameter: | screen – int |
|---|---|
| Return type: | int |
Returns the color depth (bits per pixel) used by the application on the given screen .
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Parameter: | screen – int |
|---|---|
| Return type: | int |
Returns the horizontal resolution of the given screen in terms of the number of dots per inch.
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Parameter: | screen – int |
|---|---|
| Return type: | int |
Returns the vertical resolution of the given screen in terms of the number of dots per inch.
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Parameter: | screen – int |
|---|---|
| Return type: | Qt::HANDLE |
Returns a handle for the applications root window on the given screen .
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Return type: | int |
|---|
Returns the number of the screen where the application is being displayed.
See also
display() QX11Info.screen()
| Return type: | unsigned long |
|---|
Returns the X11 time.
| Return type: | unsigned long |
|---|
Returns the X11 user time.
| Return type: | int |
|---|
Returns the number of cells.
See also
| Parameter: | arg__1 – QPaintDevice |
|---|
Makes a deep copy of the X11-specific data of fromDevice , if it is not null. Otherwise this function sets it to null.
| Return type: | Qt::HANDLE |
|---|
Returns a handle for the color map.
See also
| Parameter: | arg__1 – QPaintDevice |
|---|
Makes a shallow copy of the X11-specific data of fromDevice , if it is not null. Otherwise this function sets it to null.
| Return type: | bool |
|---|
Returns true if there is a default color map; otherwise returns false.
See also
| Return type: | bool |
|---|
Returns true if there is a default visual; otherwise returns false.
See also
QX11Info.visual() QX11Info.appVisual()
| Return type: | int |
|---|
Returns the color depth (bits per pixel) of the X display.
See also
| Return type: | bool |
|---|
Returns true if there is a compositing manager running.
| Parameter: | other – QX11Info |
|---|---|
| Return type: | QX11Info |
Assigns other to this object and returns a reference to this object.
| Return type: | int |
|---|
Returns the number of the screen currently in use.
The return value is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Parameters: |
|
|---|
Sets the horizontal resolution of the given screen to the number of dots per inch specified by xdpi .
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Parameters: |
|
|---|
Sets the vertical resolution of the given screen to the number of dots per inch specified by ydpi .
The screen argument is an X screen number. Be aware that if the user’s system uses Xinerama (as opposed to traditional X11 multiscreen), there is only one X screen. Use QDesktopWidget to query for information about Xinerama screens.
See also
| Parameter: | time – unsigned long |
|---|
Sets the X11 time to the value specified by time .
| Parameter: | time – unsigned long |
|---|
Sets the X11 user time as specified by time .