PythonQt.QtGui.QScreen
QScreen
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
A note on logical vs physical dots per inch: physical DPI is based on the actual physical pixel sizes when available, and is useful for print preview and other cases where it's desirable to know the exact physical dimensions of screen displayed contents.
Logical dots per inch are used to convert font and user interface elements from point sizes to pixel sizes, and might be different from the physical dots per inch. The logical dots per inch are sometimes user-settable in the desktop environment's settings panel, to let the user globally control UI and font sizes in different applications.
Source: https://doc.qt.io/archives/qt-5.15/qscreen.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
angleBetween |
function | (self, a: Any, b: Any) -> int |
X.angleBetween(a, b) -> int |
availableGeometry |
attribute | QRect |
This property holds the screen's available geometry in pixels |
availableGeometryChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.availableGeometryChanged; argument details are not documented. |
availableSize |
attribute | QSize |
This property holds the screen's available size in pixels |
availableVirtualGeometry |
attribute | QRect |
This property holds the available geometry of the virtual desktop to which this screen belongs |
availableVirtualSize |
attribute | QSize |
This property holds the available size of the virtual desktop to which this screen belongs |
blockSignals |
function | (self, b: Any) -> bool |
X.blockSignals(b) -> bool (shared captured text) |
childEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
children |
function | (self) -> tuple |
X.children() -> tuple (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
connect |
function | (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool |
X.connect(signal, receiver, slot, type) -> bool (shared captured text) |
customEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
deleteLater |
function | (self) -> Any |
(shared captured text) |
depth |
attribute | int |
This property holds the color depth of the screen |
destroyed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.destroyed; argument details are not documented. |
devicePixelRatio |
attribute | float |
This property holds the screen's ratio between physical pixels and device-independent pixels |
disconnect |
function | (self, signal: Any, receiver: Any, slot: Any) -> bool |
X.disconnect(signal, receiver, slot) -> bool (shared captured text) |
dumpObjectInfo |
function | (self) -> Any |
(shared captured text) |
dumpObjectTree |
function | (self) -> Any |
(shared captured text) |
dynamicPropertyNames |
function | (self) -> Any |
(shared captured text) |
event |
function | (self, event: Any) -> bool |
X.event(event) -> bool (shared captured text) |
eventFilter |
function | (self, watched: Any, event: Any) -> bool |
X.eventFilter(watched, event) -> bool (shared captured text) |
findChild |
function | (self, type: Any, name: Any) -> Any |
X.findChild(type, name) -> PythonQt.private.QObject (shared captured text) |
findChildren |
function | (self, type: Any, name: Any) -> tuple |
X.findChildren(type, name) -> tuple (shared captured text) |
geometry |
attribute | QRect |
This property holds the screen's geometry in pixels |
geometryChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.geometryChanged; argument details are not documented. |
grabWindow |
function | (self, window: int, x: int, y: int, w: int, h: int) -> Any |
X.grabWindow(window, x, y, w, h) -> PythonQt.QtGui.QPixmap |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
installEventFilter |
function | (self, filterObj: Any) -> Any |
(shared captured text) |
isLandscape |
function | (self, orientation: Any) -> bool |
X.isLandscape(orientation) -> bool |
isPortrait |
function | (self, orientation: Any) -> bool |
X.isPortrait(orientation) -> bool |
isSignalConnected |
function | (self, signal: Any) -> bool |
X.isSignalConnected(signal) -> bool (shared captured text) |
isWidgetType |
function | (self) -> bool |
X.isWidgetType() -> bool (shared captured text) |
isWindowType |
function | (self) -> bool |
X.isWindowType() -> bool (shared captured text) |
killTimer |
function | (self, id: Any) -> Any |
(shared captured text) |
logicalDotsPerInch |
attribute | float |
This property holds the number of logical dots or pixels per inch |
logicalDotsPerInchChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.logicalDotsPerInchChanged; argument details are not documented. |
logicalDotsPerInchX |
attribute | float |
This property holds the number of logical dots or pixels per inch in the horizontal direction |
logicalDotsPerInchY |
attribute | float |
This property holds the number of logical dots or pixels per inch in the vertical direction |
manufacturer |
attribute | str |
This property holds the manufacturer of the screen |
mapBetween |
function | (self, a: Any, b: Any, rect: Any) -> Any |
X.mapBetween(a, b, rect) -> PythonQt.QtCore.QRect |
metaObject |
function | (self) -> Any |
X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text) |
model |
attribute | str |
This property holds the model of the screen |
moveToThread |
function | (self, thread: Any) -> Any |
(shared captured text) |
name |
attribute | str |
This property holds a user presentable string representing the screen |
nativeOrientation |
attribute | Any |
This property holds the native screen orientation |
objectName |
attribute | Any |
(shared captured text) |
objectNameChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.objectNameChanged; argument details are not documented. |
orientation |
attribute | Any |
This property holds the screen orientation |
orientationChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.orientationChanged; argument details are not documented. |
orientationUpdateMask |
function | (self) -> Any |
Returns the currently set orientation update mask. |
parent |
function | (self) -> Any |
X.parent() -> PythonQt.private.QObject (shared captured text) |
physicalDotsPerInch |
attribute | float |
This property holds the number of physical dots or pixels per inch |
physicalDotsPerInchChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.physicalDotsPerInchChanged; argument details are not documented. |
physicalDotsPerInchX |
attribute | float |
This property holds the number of physical dots or pixels per inch in the horizontal direction |
physicalDotsPerInchY |
attribute | float |
This property holds the number of physical dots or pixels per inch in the vertical direction |
physicalSize |
attribute | QSizeF |
This property holds the screen's physical size (in millimeters) |
physicalSizeChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.physicalSizeChanged; argument details are not documented. |
primaryOrientation |
attribute | Any |
This property holds the primary screen orientation |
primaryOrientationChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.primaryOrientationChanged; argument details are not documented. |
property |
function | (self, name: Any) -> Any |
X.property(name) -> object (shared captured text) |
refreshRate |
attribute | float |
This property holds the approximate vertical refresh rate of the screen in Hz |
refreshRateChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.refreshRateChanged; argument details are not documented. |
removeEventFilter |
function | (self, obj: Any) -> Any |
(shared captured text) |
sender |
function | (self) -> Any |
X.sender() -> PythonQt.private.QObject (shared captured text) |
senderSignalIndex |
function | (self) -> int |
X.senderSignalIndex() -> int (shared captured text) |
serialNumber |
attribute | str |
This property holds the serial number of the screen |
setObjectName |
function | (self, name: Any) -> Any |
(shared captured text) |
setOrientationUpdateMask |
function | (self, mask: Any) -> None |
Sets the orientations that the application is interested in receiving updates for in conjunction with this screen. |
setParent |
function | (self, parent: Any) -> Any |
(shared captured text) |
setProperty |
function | (self, name: Any, value: Any) -> bool |
X.setProperty(name, value) -> bool (shared captured text) |
signalsBlocked |
function | (self) -> bool |
X.signalsBlocked() -> bool (shared captured text) |
size |
attribute | QSize |
This property holds the pixel resolution of the screen |
startTimer |
function | (self, interval: Any, timerType: Any) -> int |
X.startTimer(interval, timerType) -> int (shared captured text) |
thread |
function | (self) -> Any |
(shared captured text) |
timerEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
tr |
function | (self, text: Any, ambig: Any, n: Any) -> str |
X.tr(text, ambig, n) -> str (shared captured text) |
transformBetween |
function | (self, a: Any, b: Any, target: Any) -> Any |
X.transformBetween(a, b, target) -> PythonQt.QtGui.QTransform |
virtualGeometry |
attribute | QRect |
This property holds the pixel geometry of the virtual desktop to which this screen belongs |
virtualGeometryChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtGui.QScreen.virtualGeometryChanged; argument details are not documented. |
virtualSiblings |
function | (self) -> tuple |
X.virtualSiblings() -> tuple |
virtualSize |
attribute | QSize |
This property holds the pixel size of the virtual desktop to which this screen belongs |