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

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

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

import io.qt.*;


/**
 * 

Convenience class for using QPainter on a QWindow

*

Java wrapper for Qt class QRasterWindow

*/ public class QRasterWindow extends io.qt.gui.QPaintDeviceWindow { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QRasterWindow.class); /** *

See QRasterWindow::QRasterWindow(QWindow*)

*/ public QRasterWindow(io.qt.gui.@Nullable QWindow parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QRasterWindow instance, io.qt.gui.QWindow parent); /** *

See QPaintDevice::metric(QPaintDevice::PaintDeviceMetric)const

*/ @QtUninvokable @Override protected int metric(io.qt.gui.QPaintDevice.@NonNull PaintDeviceMetric metric){ return metric_native_QPaintDevice_PaintDeviceMetric_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), metric.value()); } private native static int metric_native_QPaintDevice_PaintDeviceMetric_constfct(long __this__nativeId, int metric); /** *

See QPaintDevice::redirected(QPoint*)const

*/ @QtUninvokable @Override protected io.qt.gui.@Nullable QPaintDevice redirected(io.qt.core.@Nullable QPoint arg__1){ return redirected_native_QPoint_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native static io.qt.gui.QPaintDevice redirected_native_QPoint_ptr_constfct(long __this__nativeId, long arg__1); /** *

See QWindow::resizeEvent(QResizeEvent*)

*/ @QtUninvokable @Override protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent event){ java.util.Objects.requireNonNull(event, "Argument 'event': null not expected."); resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRasterWindow(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QRasterWindow(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QRasterWindow instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QRasterWindow(io.qt.gui.QWindow)} * with parent = null.

*/ public QRasterWindow() { this((io.qt.gui.QWindow)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy