Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QScreen
Class hierarchy: QScreen » QObject
[const] | QScreen ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
[const] | int | angleBetween | (const Qt_ScreenOrientation a, const Qt_ScreenOrientation b) | Method int QScreen::angleBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b) |
[const] | QRect | availableGeometry | Method QRect QScreen::availableGeometry() | |
[signal] | void | availableGeometryChanged | (const QRect geometry) | Signal declaration for QScreen::availableGeometryChanged(const QRect &geometry) |
[const] | QSize | availableSize | Method QSize QScreen::availableSize() | |
[const] | QRect | availableVirtualGeometry | Method QRect QScreen::availableVirtualGeometry() | |
[const] | QSize | availableVirtualSize | Method QSize QScreen::availableVirtualSize() | |
[const] | int | depth | Method int QScreen::depth() | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QScreen::destroyed(QObject *) |
[const] | double | devicePixelRatio | Method double QScreen::devicePixelRatio() | |
void | emit_availableGeometryChanged | (const QRect geometry) | Emitter for signal void QScreen::availableGeometryChanged(const QRect &geometry) | |
void | emit_destroyed | (QObject ptr arg1 = nullptr) | Emitter for signal void QScreen::destroyed(QObject *) | |
void | emit_geometryChanged | (const QRect geometry) | Emitter for signal void QScreen::geometryChanged(const QRect &geometry) | |
void | emit_logicalDotsPerInchChanged | (double dpi) | Emitter for signal void QScreen::logicalDotsPerInchChanged(double dpi) | |
void | emit_objectNameChanged | (string objectName) | Emitter for signal void QScreen::objectNameChanged(const QString &objectName) | |
void | emit_orientationChanged | (const Qt_ScreenOrientation orientation) | Emitter for signal void QScreen::orientationChanged(Qt::ScreenOrientation orientation) | |
void | emit_physicalDotsPerInchChanged | (double dpi) | Emitter for signal void QScreen::physicalDotsPerInchChanged(double dpi) | |
void | emit_physicalSizeChanged | (const QSizeF size) | Emitter for signal void QScreen::physicalSizeChanged(const QSizeF &size) | |
void | emit_primaryOrientationChanged | (const Qt_ScreenOrientation orientation) | Emitter for signal void QScreen::primaryOrientationChanged(Qt::ScreenOrientation orientation) | |
void | emit_refreshRateChanged | (double refreshRate) | Emitter for signal void QScreen::refreshRateChanged(double refreshRate) | |
void | emit_virtualGeometryChanged | (const QRect rect) | Emitter for signal void QScreen::virtualGeometryChanged(const QRect &rect) | |
bool | event | (QEvent ptr event) | Virtual method bool QScreen::event(QEvent *event) | |
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QScreen::eventFilter(QObject *watched, QEvent *event) | |
[const] | QRect | geometry | Method QRect QScreen::geometry() | |
[signal] | void | geometryChanged | (const QRect geometry) | Signal declaration for QScreen::geometryChanged(const QRect &geometry) |
QPixmap | grabWindow | (unsigned long long window, int x = 0, int y = 0, int w = -1, int h = -1) | Method QPixmap QScreen::grabWindow(WId window, int x, int y, int w, int h) | |
[const] | bool | isLandscape? | (const Qt_ScreenOrientation orientation) | Method bool QScreen::isLandscape(Qt::ScreenOrientation orientation) |
[const] | bool | isPortrait? | (const Qt_ScreenOrientation orientation) | Method bool QScreen::isPortrait(Qt::ScreenOrientation orientation) |
[const] | double | logicalDotsPerInch | Method double QScreen::logicalDotsPerInch() | |
[signal] | void | logicalDotsPerInchChanged | (double dpi) | Signal declaration for QScreen::logicalDotsPerInchChanged(double dpi) |
[const] | double | logicalDotsPerInchX | Method double QScreen::logicalDotsPerInchX() | |
[const] | double | logicalDotsPerInchY | Method double QScreen::logicalDotsPerInchY() | |
[const] | string | manufacturer | Method QString QScreen::manufacturer() | |
[const] | QRect | mapBetween | (const Qt_ScreenOrientation a, const Qt_ScreenOrientation b, const QRect rect) | Method QRect QScreen::mapBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect &rect) |
[const] | string | model | Method QString QScreen::model() | |
[const] | string | name | Method QString QScreen::name() | |
[const] | Qt_ScreenOrientation | nativeOrientation | Method Qt::ScreenOrientation QScreen::nativeOrientation() | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QScreen::objectNameChanged(const QString &objectName) |
[const] | Qt_ScreenOrientation | orientation | Method Qt::ScreenOrientation QScreen::orientation() | |
[signal] | void | orientationChanged | (const Qt_ScreenOrientation orientation) | Signal declaration for QScreen::orientationChanged(Qt::ScreenOrientation orientation) |
[const] | Qt_QFlags_ScreenOrientation | orientationUpdateMask | Method QFlags<Qt::ScreenOrientation> QScreen::orientationUpdateMask() | |
void | orientationUpdateMask= | (Qt_QFlags_ScreenOrientation mask) | Method void QScreen::setOrientationUpdateMask(QFlags<Qt::ScreenOrientation> mask) | |
[const] | double | physicalDotsPerInch | Method double QScreen::physicalDotsPerInch() | |
[signal] | void | physicalDotsPerInchChanged | (double dpi) | Signal declaration for QScreen::physicalDotsPerInchChanged(double dpi) |
[const] | double | physicalDotsPerInchX | Method double QScreen::physicalDotsPerInchX() | |
[const] | double | physicalDotsPerInchY | Method double QScreen::physicalDotsPerInchY() | |
[const] | QSizeF | physicalSize | Method QSizeF QScreen::physicalSize() | |
[signal] | void | physicalSizeChanged | (const QSizeF size) | Signal declaration for QScreen::physicalSizeChanged(const QSizeF &size) |
[const] | Qt_ScreenOrientation | primaryOrientation | Method Qt::ScreenOrientation QScreen::primaryOrientation() | |
[signal] | void | primaryOrientationChanged | (const Qt_ScreenOrientation orientation) | Signal declaration for QScreen::primaryOrientationChanged(Qt::ScreenOrientation orientation) |
[const] | double | refreshRate | Method double QScreen::refreshRate() | |
[signal] | void | refreshRateChanged | (double refreshRate) | Signal declaration for QScreen::refreshRateChanged(double refreshRate) |
[const] | string | serialNumber | Method QString QScreen::serialNumber() | |
void | setOrientationUpdateMask | (Qt_QFlags_ScreenOrientation mask) | Method void QScreen::setOrientationUpdateMask(QFlags<Qt::ScreenOrientation> mask) | |
[const] | QSize | size | Method QSize QScreen::size() | |
[const] | QTransform | transformBetween | (const Qt_ScreenOrientation a, const Qt_ScreenOrientation b, const QRect target) | Method QTransform QScreen::transformBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect &target) |
[const] | QRect | virtualGeometry | Method QRect QScreen::virtualGeometry() | |
[signal] | void | virtualGeometryChanged | (const QRect rect) | Signal declaration for QScreen::virtualGeometryChanged(const QRect &rect) |
[const] | QScreen ptr[] | virtualSiblings | Method QList<QScreen *> QScreen::virtualSiblings() | |
[const] | QSize | virtualSize | Method QSize QScreen::virtualSize() |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QScreen::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QScreen::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr event) | Virtual method void QScreen::childEvent(QChildEvent *event) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QScreen::customEvent(QEvent *event) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QScreen::disconnectNotify(const QMetaMethod &signal) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QScreen::isSignalConnected(const QMetaMethod &signal) | |
[const] | int | receivers | (string signal) | Method int QScreen::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QScreen::sender() | ||
[const] | int | senderSignalIndex | Method int QScreen::senderSignalIndex() | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QScreen::timerEvent(QTimerEvent *event) |
_const_cast | Signature: [const] QScreen ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
angleBetween | Signature: [const] int angleBetween (const Qt_ScreenOrientation a, const Qt_ScreenOrientation b) Description: Method int QScreen::angleBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b) |
availableGeometry | Signature: [const] QRect availableGeometry Description: Method QRect QScreen::availableGeometry() Python specific notes: |
availableGeometryChanged | Signature: [signal] void availableGeometryChanged (const QRect geometry) Description: Signal declaration for QScreen::availableGeometryChanged(const QRect &geometry) You can bind a procedure to this signal. Python specific notes: |
availableSize | Signature: [const] QSize availableSize Description: Method QSize QScreen::availableSize() Python specific notes: |
availableVirtualGeometry | Signature: [const] QRect availableVirtualGeometry Description: Method QRect QScreen::availableVirtualGeometry() Python specific notes: |
availableVirtualSize | Signature: [const] QSize availableVirtualSize Description: Method QSize QScreen::availableVirtualSize() Python specific notes: |
childEvent | Signature: void childEvent (QChildEvent ptr event) Description: Virtual method void QScreen::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
customEvent | Signature: void customEvent (QEvent ptr event) Description: Virtual method void QScreen::customEvent(QEvent *event) This method can be reimplemented in a derived class. |
depth | Signature: [const] int depth Description: Method int QScreen::depth() Python specific notes: |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QScreen::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
devicePixelRatio | Signature: [const] double devicePixelRatio Description: Method double QScreen::devicePixelRatio() Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (const QMetaMethod signal) Description: Virtual method void QScreen::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
emit_availableGeometryChanged | Signature: void emit_availableGeometryChanged (const QRect geometry) Description: Emitter for signal void QScreen::availableGeometryChanged(const QRect &geometry) Call this method to emit this signal. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = nullptr) Description: Emitter for signal void QScreen::destroyed(QObject *) Call this method to emit this signal. |
emit_geometryChanged | Signature: void emit_geometryChanged (const QRect geometry) Description: Emitter for signal void QScreen::geometryChanged(const QRect &geometry) Call this method to emit this signal. |
emit_logicalDotsPerInchChanged | Signature: void emit_logicalDotsPerInchChanged (double dpi) Description: Emitter for signal void QScreen::logicalDotsPerInchChanged(double dpi) Call this method to emit this signal. |
emit_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QScreen::objectNameChanged(const QString &objectName) Call this method to emit this signal. |
emit_orientationChanged | Signature: void emit_orientationChanged (const Qt_ScreenOrientation orientation) Description: Emitter for signal void QScreen::orientationChanged(Qt::ScreenOrientation orientation) Call this method to emit this signal. |
emit_physicalDotsPerInchChanged | Signature: void emit_physicalDotsPerInchChanged (double dpi) Description: Emitter for signal void QScreen::physicalDotsPerInchChanged(double dpi) Call this method to emit this signal. |
emit_physicalSizeChanged | Signature: void emit_physicalSizeChanged (const QSizeF size) Description: Emitter for signal void QScreen::physicalSizeChanged(const QSizeF &size) Call this method to emit this signal. |
emit_primaryOrientationChanged | Signature: void emit_primaryOrientationChanged (const Qt_ScreenOrientation orientation) Description: Emitter for signal void QScreen::primaryOrientationChanged(Qt::ScreenOrientation orientation) Call this method to emit this signal. |
emit_refreshRateChanged | Signature: void emit_refreshRateChanged (double refreshRate) Description: Emitter for signal void QScreen::refreshRateChanged(double refreshRate) Call this method to emit this signal. |
emit_virtualGeometryChanged | Signature: void emit_virtualGeometryChanged (const QRect rect) Description: Emitter for signal void QScreen::virtualGeometryChanged(const QRect &rect) Call this method to emit this signal. |
event | Signature: bool event (QEvent ptr event) Description: Virtual method bool QScreen::event(QEvent *event) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr watched, QEvent ptr event) Description: Virtual method bool QScreen::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. |
geometry | Signature: [const] QRect geometry Description: Method QRect QScreen::geometry() Python specific notes: |
geometryChanged | Signature: [signal] void geometryChanged (const QRect geometry) Description: Signal declaration for QScreen::geometryChanged(const QRect &geometry) You can bind a procedure to this signal. Python specific notes: |
grabWindow | Signature: QPixmap grabWindow (unsigned long long window, int x = 0, int y = 0, int w = -1, int h = -1) Description: Method QPixmap QScreen::grabWindow(WId window, int x, int y, int w, int h) |
isLandscape? | Signature: [const] bool isLandscape? (const Qt_ScreenOrientation orientation) Description: Method bool QScreen::isLandscape(Qt::ScreenOrientation orientation) |
isPortrait? | Signature: [const] bool isPortrait? (const Qt_ScreenOrientation orientation) Description: Method bool QScreen::isPortrait(Qt::ScreenOrientation orientation) |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QScreen::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
logicalDotsPerInch | Signature: [const] double logicalDotsPerInch Description: Method double QScreen::logicalDotsPerInch() Python specific notes: |
logicalDotsPerInchChanged | Signature: [signal] void logicalDotsPerInchChanged (double dpi) Description: Signal declaration for QScreen::logicalDotsPerInchChanged(double dpi) You can bind a procedure to this signal. Python specific notes: |
logicalDotsPerInchX | Signature: [const] double logicalDotsPerInchX Description: Method double QScreen::logicalDotsPerInchX() Python specific notes: |
logicalDotsPerInchY | Signature: [const] double logicalDotsPerInchY Description: Method double QScreen::logicalDotsPerInchY() Python specific notes: |
manufacturer | Signature: [const] string manufacturer Description: Method QString QScreen::manufacturer() Python specific notes: |
mapBetween | Signature: [const] QRect mapBetween (const Qt_ScreenOrientation a, const Qt_ScreenOrientation b, const QRect rect) Description: Method QRect QScreen::mapBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect &rect) |
model | Signature: [const] string model Description: Method QString QScreen::model() Python specific notes: |
name | Signature: [const] string name Description: Method QString QScreen::name() Python specific notes: |
nativeOrientation | Signature: [const] Qt_ScreenOrientation nativeOrientation Description: Method Qt::ScreenOrientation QScreen::nativeOrientation() Python specific notes: |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QScreen::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
orientation | Signature: [const] Qt_ScreenOrientation orientation Description: Method Qt::ScreenOrientation QScreen::orientation() Python specific notes: |
orientationChanged | Signature: [signal] void orientationChanged (const Qt_ScreenOrientation orientation) Description: Signal declaration for QScreen::orientationChanged(Qt::ScreenOrientation orientation) You can bind a procedure to this signal. Python specific notes: |
orientationUpdateMask | Signature: [const] Qt_QFlags_ScreenOrientation orientationUpdateMask Description: Method QFlags<Qt::ScreenOrientation> QScreen::orientationUpdateMask() Python specific notes: |
orientationUpdateMask= | Signature: void orientationUpdateMask= (Qt_QFlags_ScreenOrientation mask) Description: Method void QScreen::setOrientationUpdateMask(QFlags<Qt::ScreenOrientation> mask) Python specific notes: |
physicalDotsPerInch | Signature: [const] double physicalDotsPerInch Description: Method double QScreen::physicalDotsPerInch() Python specific notes: |
physicalDotsPerInchChanged | Signature: [signal] void physicalDotsPerInchChanged (double dpi) Description: Signal declaration for QScreen::physicalDotsPerInchChanged(double dpi) You can bind a procedure to this signal. Python specific notes: |
physicalDotsPerInchX | Signature: [const] double physicalDotsPerInchX Description: Method double QScreen::physicalDotsPerInchX() Python specific notes: |
physicalDotsPerInchY | Signature: [const] double physicalDotsPerInchY Description: Method double QScreen::physicalDotsPerInchY() Python specific notes: |
physicalSize | Signature: [const] QSizeF physicalSize Description: Method QSizeF QScreen::physicalSize() Python specific notes: |
physicalSizeChanged | Signature: [signal] void physicalSizeChanged (const QSizeF size) Description: Signal declaration for QScreen::physicalSizeChanged(const QSizeF &size) You can bind a procedure to this signal. Python specific notes: |
primaryOrientation | Signature: [const] Qt_ScreenOrientation primaryOrientation Description: Method Qt::ScreenOrientation QScreen::primaryOrientation() Python specific notes: |
primaryOrientationChanged | Signature: [signal] void primaryOrientationChanged (const Qt_ScreenOrientation orientation) Description: Signal declaration for QScreen::primaryOrientationChanged(Qt::ScreenOrientation orientation) You can bind a procedure to this signal. Python specific notes: |
receivers | Signature: [const] int receivers (string signal) Description: Method int QScreen::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
refreshRate | Signature: [const] double refreshRate Description: Method double QScreen::refreshRate() Python specific notes: |
refreshRateChanged | Signature: [signal] void refreshRateChanged (double refreshRate) Description: Signal declaration for QScreen::refreshRateChanged(double refreshRate) You can bind a procedure to this signal. Python specific notes: |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QScreen::sender() This method is protected and can only be called from inside a derived class. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QScreen::senderSignalIndex() This method is protected and can only be called from inside a derived class. |
serialNumber | Signature: [const] string serialNumber Description: Method QString QScreen::serialNumber() Python specific notes: |
setOrientationUpdateMask | Signature: void setOrientationUpdateMask (Qt_QFlags_ScreenOrientation mask) Description: Method void QScreen::setOrientationUpdateMask(QFlags<Qt::ScreenOrientation> mask) Python specific notes: |
size | Signature: [const] QSize size Description: Method QSize QScreen::size() Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
timerEvent | Signature: void timerEvent (QTimerEvent ptr event) Description: Virtual method void QScreen::timerEvent(QTimerEvent *event) This method can be reimplemented in a derived class. |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QScreen::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trUtf8 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) Description: Static method QString QScreen::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |
transformBetween | Signature: [const] QTransform transformBetween (const Qt_ScreenOrientation a, const Qt_ScreenOrientation b, const QRect target) Description: Method QTransform QScreen::transformBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect &target) |
virtualGeometry | Signature: [const] QRect virtualGeometry Description: Method QRect QScreen::virtualGeometry() Python specific notes: |
virtualGeometryChanged | Signature: [signal] void virtualGeometryChanged (const QRect rect) Description: Signal declaration for QScreen::virtualGeometryChanged(const QRect &rect) You can bind a procedure to this signal. Python specific notes: |
virtualSiblings | Signature: [const] QScreen ptr[] virtualSiblings Description: Method QList<QScreen *> QScreen::virtualSiblings() |
virtualSize | Signature: [const] QSize virtualSize Description: Method QSize QScreen::virtualSize() Python specific notes: |