All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QScreen Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
package io.qt.gui;


/**
 * 

Used to query screen properties

*

Java wrapper for Qt class QScreen

*/ public final class QScreen extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScreen.class); /** *

See QScreen::availableGeometryChanged(QRect)

*/ @io.qt.QtPropertyNotify(name="availableSize") public final Signal1 availableGeometryChanged = new Signal1<>(); /** *

See QScreen::geometryChanged(QRect)

*/ @io.qt.QtPropertyNotify(name="size") public final Signal1 geometryChanged = new Signal1<>(); /** *

See QScreen::logicalDotsPerInchChanged(qreal)

*/ @io.qt.QtPropertyNotify(name="logicalDotsPerInchX") public final Signal1<@io.qt.QtPrimitiveType Double> logicalDotsPerInchChanged = new Signal1<>(); /** *

See QScreen::orientationChanged(Qt::ScreenOrientation)

*/ @io.qt.QtPropertyNotify(name="orientation") public final Signal1 orientationChanged = new Signal1<>(); /** *

See QScreen::physicalDotsPerInchChanged(qreal)

*/ @io.qt.QtPropertyNotify(name="physicalDotsPerInchX") public final Signal1<@io.qt.QtPrimitiveType Double> physicalDotsPerInchChanged = new Signal1<>(); /** *

See QScreen::physicalSizeChanged(QSizeF)

*/ @io.qt.QtPropertyNotify(name="physicalSize") public final Signal1 physicalSizeChanged = new Signal1<>(); /** *

See QScreen::primaryOrientationChanged(Qt::ScreenOrientation)

*/ @io.qt.QtPropertyNotify(name="primaryOrientation") public final Signal1 primaryOrientationChanged = new Signal1<>(); /** *

See QScreen::refreshRateChanged(qreal)

*/ @io.qt.QtPropertyNotify(name="refreshRate") public final Signal1<@io.qt.QtPrimitiveType Double> refreshRateChanged = new Signal1<>(); /** *

See QScreen::virtualGeometryChanged(QRect)

*/ @io.qt.QtPropertyNotify(name="virtualSize") public final Signal1 virtualGeometryChanged = new Signal1<>(); /** *

See QScreen::angleBetween(Qt::ScreenOrientation,Qt::ScreenOrientation)const

*/ @io.qt.QtUninvokable public final int angleBetween(io.qt.core.Qt.ScreenOrientation a, io.qt.core.Qt.ScreenOrientation b){ return angleBetween_native_Qt_ScreenOrientation_Qt_ScreenOrientation_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a.value(), b.value()); } @io.qt.QtUninvokable private native int angleBetween_native_Qt_ScreenOrientation_Qt_ScreenOrientation_constfct(long __this__nativeId, int a, int b); /** *

See QScreen::availableGeometry()const

*/ @io.qt.QtPropertyReader(name="availableGeometry") @io.qt.QtUninvokable public final io.qt.core.QRect availableGeometry(){ return availableGeometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect availableGeometry_native_constfct(long __this__nativeId); /** *

See QScreen::availableSize()const

*/ @io.qt.QtPropertyReader(name="availableSize") @io.qt.QtUninvokable public final io.qt.core.QSize availableSize(){ return availableSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize availableSize_native_constfct(long __this__nativeId); /** *

See QScreen::availableVirtualGeometry()const

*/ @io.qt.QtPropertyReader(name="availableVirtualGeometry") @io.qt.QtUninvokable public final io.qt.core.QRect availableVirtualGeometry(){ return availableVirtualGeometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect availableVirtualGeometry_native_constfct(long __this__nativeId); /** *

See QScreen::availableVirtualSize()const

*/ @io.qt.QtPropertyReader(name="availableVirtualSize") @io.qt.QtUninvokable public final io.qt.core.QSize availableVirtualSize(){ return availableVirtualSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize availableVirtualSize_native_constfct(long __this__nativeId); /** *

See QScreen::depth()const

*/ @io.qt.QtPropertyReader(name="depth") @io.qt.QtPropertyConstant @io.qt.QtUninvokable public final int depth(){ return depth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int depth_native_constfct(long __this__nativeId); /** *

See QScreen::devicePixelRatio()const

*/ @io.qt.QtPropertyReader(name="devicePixelRatio") @io.qt.QtUninvokable public final double devicePixelRatio(){ return devicePixelRatio_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double devicePixelRatio_native_constfct(long __this__nativeId); /** *

See QScreen::geometry()const

*/ @io.qt.QtPropertyReader(name="geometry") @io.qt.QtUninvokable public final io.qt.core.QRect geometry(){ return geometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect geometry_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #grabWindow(long, int, int, int, int)} * with h = -1.

*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap grabWindow(long window, int x, int y, int w) { return grabWindow(window, x, y, w, (int)-1); } /** *

Overloaded function for {@link #grabWindow(long, int, int, int, int)}

*

with:

    *
  • w = -1
  • *
  • h = -1
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap grabWindow(long window, int x, int y) { return grabWindow(window, x, y, (int)-1, (int)-1); } /** *

Overloaded function for {@link #grabWindow(long, int, int, int, int)}

*

with:

    *
  • y = 0
  • *
  • w = -1
  • *
  • h = -1
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap grabWindow(long window, int x) { return grabWindow(window, x, (int)0, (int)-1, (int)-1); } /** *

Overloaded function for {@link #grabWindow(long, int, int, int, int)}

*

with:

    *
  • x = 0
  • *
  • y = 0
  • *
  • w = -1
  • *
  • h = -1
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap grabWindow(long window) { return grabWindow(window, (int)0, (int)0, (int)-1, (int)-1); } /** *

Overloaded function for {@link #grabWindow(long, int, int, int, int)}

*

with:

    *
  • window = 0
  • *
  • x = 0
  • *
  • y = 0
  • *
  • w = -1
  • *
  • h = -1
  • *
*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap grabWindow() { return grabWindow((long)0, (int)0, (int)0, (int)-1, (int)-1); } /** *

See QScreen::grabWindow(WId,int,int,int,int)

*/ @io.qt.QtUninvokable public final io.qt.gui.QPixmap grabWindow(long window, int x, int y, int w, int h){ return grabWindow_native_WId_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), window, x, y, w, h); } @io.qt.QtUninvokable private native io.qt.gui.QPixmap grabWindow_native_WId_int_int_int_int(long __this__nativeId, long window, int x, int y, int w, int h); /** *

See QScreen::isLandscape(Qt::ScreenOrientation)const

*/ @io.qt.QtUninvokable public final boolean isLandscape(io.qt.core.Qt.ScreenOrientation orientation){ return isLandscape_native_Qt_ScreenOrientation_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), orientation.value()); } @io.qt.QtUninvokable private native boolean isLandscape_native_Qt_ScreenOrientation_constfct(long __this__nativeId, int orientation); /** *

See QScreen::isPortrait(Qt::ScreenOrientation)const

*/ @io.qt.QtUninvokable public final boolean isPortrait(io.qt.core.Qt.ScreenOrientation orientation){ return isPortrait_native_Qt_ScreenOrientation_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), orientation.value()); } @io.qt.QtUninvokable private native boolean isPortrait_native_Qt_ScreenOrientation_constfct(long __this__nativeId, int orientation); /** *

See QScreen::logicalDotsPerInch()const

*/ @io.qt.QtPropertyReader(name="logicalDotsPerInch") @io.qt.QtUninvokable public final double logicalDotsPerInch(){ return logicalDotsPerInch_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double logicalDotsPerInch_native_constfct(long __this__nativeId); /** *

See QScreen::logicalDotsPerInchX()const

*/ @io.qt.QtPropertyReader(name="logicalDotsPerInchX") @io.qt.QtUninvokable public final double logicalDotsPerInchX(){ return logicalDotsPerInchX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double logicalDotsPerInchX_native_constfct(long __this__nativeId); /** *

See QScreen::logicalDotsPerInchY()const

*/ @io.qt.QtPropertyReader(name="logicalDotsPerInchY") @io.qt.QtUninvokable public final double logicalDotsPerInchY(){ return logicalDotsPerInchY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double logicalDotsPerInchY_native_constfct(long __this__nativeId); /** *

See QScreen::manufacturer()const

*/ @io.qt.QtPropertyReader(name="manufacturer") @io.qt.QtPropertyConstant @io.qt.QtUninvokable public final java.lang.String manufacturer(){ return manufacturer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String manufacturer_native_constfct(long __this__nativeId); /** *

See QScreen::mapBetween(Qt::ScreenOrientation,Qt::ScreenOrientation,QRect)const

*/ @io.qt.QtUninvokable public final io.qt.core.QRect mapBetween(io.qt.core.Qt.ScreenOrientation a, io.qt.core.Qt.ScreenOrientation b, io.qt.core.QRect rect){ return mapBetween_native_Qt_ScreenOrientation_Qt_ScreenOrientation_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a.value(), b.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @io.qt.QtUninvokable private native io.qt.core.QRect mapBetween_native_Qt_ScreenOrientation_Qt_ScreenOrientation_cref_QRect_constfct(long __this__nativeId, int a, int b, long rect); /** *

See QScreen::model()const

*/ @io.qt.QtPropertyReader(name="model") @io.qt.QtPropertyConstant @io.qt.QtUninvokable public final java.lang.String model(){ return model_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String model_native_constfct(long __this__nativeId); /** *

See QScreen::name()const

*/ @io.qt.QtPropertyReader(name="name") @io.qt.QtPropertyConstant @io.qt.QtUninvokable public final java.lang.String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See QScreen::nativeOrientation()const

*/ @io.qt.QtPropertyReader(name="nativeOrientation") @io.qt.QtUninvokable public final io.qt.core.Qt.ScreenOrientation nativeOrientation(){ return io.qt.core.Qt.ScreenOrientation.resolve(nativeOrientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int nativeOrientation_native_constfct(long __this__nativeId); /** *

See QScreen::orientation()const

*/ @io.qt.QtPropertyReader(name="orientation") @io.qt.QtUninvokable public final io.qt.core.Qt.ScreenOrientation orientation(){ return io.qt.core.Qt.ScreenOrientation.resolve(orientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int orientation_native_constfct(long __this__nativeId); /** *

See QScreen::physicalDotsPerInch()const

*/ @io.qt.QtPropertyReader(name="physicalDotsPerInch") @io.qt.QtUninvokable public final double physicalDotsPerInch(){ return physicalDotsPerInch_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double physicalDotsPerInch_native_constfct(long __this__nativeId); /** *

See QScreen::physicalDotsPerInchX()const

*/ @io.qt.QtPropertyReader(name="physicalDotsPerInchX") @io.qt.QtUninvokable public final double physicalDotsPerInchX(){ return physicalDotsPerInchX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double physicalDotsPerInchX_native_constfct(long __this__nativeId); /** *

See QScreen::physicalDotsPerInchY()const

*/ @io.qt.QtPropertyReader(name="physicalDotsPerInchY") @io.qt.QtUninvokable public final double physicalDotsPerInchY(){ return physicalDotsPerInchY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double physicalDotsPerInchY_native_constfct(long __this__nativeId); /** *

See QScreen::physicalSize()const

*/ @io.qt.QtPropertyReader(name="physicalSize") @io.qt.QtUninvokable public final io.qt.core.QSizeF physicalSize(){ return physicalSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSizeF physicalSize_native_constfct(long __this__nativeId); /** *

See QScreen::primaryOrientation()const

*/ @io.qt.QtPropertyReader(name="primaryOrientation") @io.qt.QtUninvokable public final io.qt.core.Qt.ScreenOrientation primaryOrientation(){ return io.qt.core.Qt.ScreenOrientation.resolve(primaryOrientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int primaryOrientation_native_constfct(long __this__nativeId); /** *

See QScreen::refreshRate()const

*/ @io.qt.QtPropertyReader(name="refreshRate") @io.qt.QtUninvokable public final double refreshRate(){ return refreshRate_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double refreshRate_native_constfct(long __this__nativeId); /** *

See QScreen::serialNumber()const

*/ @io.qt.QtPropertyReader(name="serialNumber") @io.qt.QtPropertyConstant @io.qt.QtUninvokable public final java.lang.String serialNumber(){ return serialNumber_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String serialNumber_native_constfct(long __this__nativeId); /** *

See QScreen::size()const

*/ @io.qt.QtPropertyReader(name="size") @io.qt.QtUninvokable public final io.qt.core.QSize size(){ return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize size_native_constfct(long __this__nativeId); /** *

See QScreen::transformBetween(Qt::ScreenOrientation,Qt::ScreenOrientation,QRect)const

*/ @io.qt.QtUninvokable public final io.qt.gui.QTransform transformBetween(io.qt.core.Qt.ScreenOrientation a, io.qt.core.Qt.ScreenOrientation b, io.qt.core.QRect target){ return transformBetween_native_Qt_ScreenOrientation_Qt_ScreenOrientation_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), a.value(), b.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(target)); } @io.qt.QtUninvokable private native io.qt.gui.QTransform transformBetween_native_Qt_ScreenOrientation_Qt_ScreenOrientation_cref_QRect_constfct(long __this__nativeId, int a, int b, long target); /** *

See QScreen::virtualGeometry()const

*/ @io.qt.QtPropertyReader(name="virtualGeometry") @io.qt.QtUninvokable public final io.qt.core.QRect virtualGeometry(){ return virtualGeometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect virtualGeometry_native_constfct(long __this__nativeId); /** *

See QScreen::virtualSiblingAt(QPoint)

*/ @io.qt.QtUninvokable public final io.qt.gui.QScreen virtualSiblingAt(io.qt.core.QPoint point){ return virtualSiblingAt_native_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point)); } @io.qt.QtUninvokable private native io.qt.gui.QScreen virtualSiblingAt_native_QPoint(long __this__nativeId, long point); /** *

See QScreen::virtualSiblings()const

*/ @io.qt.QtUninvokable public final io.qt.core.QList virtualSiblings(){ return virtualSiblings_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QList virtualSiblings_native_constfct(long __this__nativeId); /** *

See QScreen::virtualSize()const

*/ @io.qt.QtPropertyReader(name="virtualSize") @io.qt.QtUninvokable public final io.qt.core.QSize virtualSize(){ return virtualSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize virtualSize_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QScreen(QPrivateConstructor p) { super(p); } @io.qt.QtUninvokable public final QNativeInterface nativeInterface(java.lang.Class name){ return nativeInterface(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @io.qt.QtUninvokable private native QNativeInterface nativeInterface(long __this__nativeId, java.lang.Class name); @Override @io.qt.QtUninvokable public String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private static native String toString_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy