io.qt.gui.QWindow Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Represents a window in the underlying windowing system
* Java wrapper for Qt class QWindow
*/
public class QWindow extends io.qt.core.QObject
implements io.qt.gui.QSurface
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QWindow.class);
/**
* Java wrapper for Qt enum QWindow::AncestorMode
*/
public enum AncestorMode implements QtEnumerator {
/**
* Representing QWindow:: ExcludeTransients
*/
ExcludeTransients(0),
/**
* Representing QWindow:: IncludeTransients
*/
IncludeTransients(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private AncestorMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull AncestorMode resolve(int value) {
switch (value) {
case 0: return ExcludeTransients;
case 1: return IncludeTransients;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QWindow::Visibility
*/
public enum Visibility implements QtEnumerator {
/**
* Representing QWindow:: Hidden
*/
Hidden(0),
/**
* Representing QWindow:: AutomaticVisibility
*/
AutomaticVisibility(1),
/**
* Representing QWindow:: Windowed
*/
Windowed(2),
/**
* Representing QWindow:: Minimized
*/
Minimized(3),
/**
* Representing QWindow:: Maximized
*/
Maximized(4),
/**
* Representing QWindow:: FullScreen
*/
FullScreen(5);
static {
QtJambi_LibraryUtilities.initialize();
}
private Visibility(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Visibility resolve(int value) {
switch (value) {
case 0: return Hidden;
case 1: return AutomaticVisibility;
case 2: return Windowed;
case 3: return Minimized;
case 4: return Maximized;
case 5: return FullScreen;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
*
*/
@QtPropertyNotify(name="active")
public final @NonNull Signal0 activeChanged = new Signal0();
/**
* See QWindow:: contentOrientationChanged(Qt::ScreenOrientation)
*/
@QtPropertyNotify(name="contentOrientation")
public final @NonNull Signal1 contentOrientationChanged = new Signal1<>();
/**
* See QWindow:: focusObjectChanged(QObject*)
*/
public final @NonNull Signal1 focusObjectChanged = new Signal1<>();
/**
* See QWindow:: heightChanged(int)
*/
@QtPropertyNotify(name="height")
public final @NonNull Signal1 heightChanged = new Signal1<>();
/**
* See QWindow:: maximumHeightChanged(int)
*/
@QtPropertyNotify(name="maximumHeight")
public final @NonNull Signal1 maximumHeightChanged = new Signal1<>();
/**
* See QWindow:: maximumWidthChanged(int)
*/
@QtPropertyNotify(name="maximumWidth")
public final @NonNull Signal1 maximumWidthChanged = new Signal1<>();
/**
* See QWindow:: minimumHeightChanged(int)
*/
@QtPropertyNotify(name="minimumHeight")
public final @NonNull Signal1 minimumHeightChanged = new Signal1<>();
/**
* See QWindow:: minimumWidthChanged(int)
*/
@QtPropertyNotify(name="minimumWidth")
public final @NonNull Signal1 minimumWidthChanged = new Signal1<>();
/**
* See QWindow:: modalityChanged(Qt::WindowModality)
*/
@QtPropertyNotify(name="modality")
public final @NonNull Signal1 modalityChanged = new Signal1<>();
/**
* See QWindow:: opacityChanged(qreal)
*/
@QtPropertyNotify(name="opacity")
public final @NonNull Signal1 opacityChanged = new Signal1<>();
/**
* See QWindow:: screenChanged(QScreen*)
*/
public final @NonNull Signal1 screenChanged = new Signal1<>();
/**
* See QWindow:: transientParentChanged(QWindow*)
*/
public final @NonNull Signal1 transientParentChanged = new Signal1<>();
/**
* See QWindow:: visibilityChanged(QWindow::Visibility)
*/
@QtPropertyNotify(name="visibility")
public final @NonNull Signal1 visibilityChanged = new Signal1<>();
/**
* See QWindow:: visibleChanged(bool)
*/
@QtPropertyNotify(name="visible")
public final @NonNull Signal1 visibleChanged = new Signal1<>();
/**
* See QWindow:: widthChanged(int)
*/
@QtPropertyNotify(name="width")
public final @NonNull Signal1 widthChanged = new Signal1<>();
/**
* See QWindow:: windowStateChanged(Qt::WindowState)
*/
public final @NonNull Signal1 windowStateChanged = new Signal1<>();
/**
* See QWindow:: windowTitleChanged(QString)
*/
@QtPropertyNotify(name="title")
public final @NonNull Signal1 windowTitleChanged = new Signal1<>();
/**
*
*/
@QtPropertyNotify(name="x")
public final @NonNull Signal1 xChanged = new Signal1<>();
/**
*
*/
@QtPropertyNotify(name="y")
public final @NonNull Signal1 yChanged = new Signal1<>();
/**
* See QWindow:: QWindow(QScreen*)
*/
public QWindow(io.qt.gui.@Nullable QScreen screen){
super((QPrivateConstructor)null);
initialize_native(this, screen);
}
private native static void initialize_native(QWindow instance, io.qt.gui.QScreen screen);
/**
* See QWindow:: QWindow(QWindow*)
*/
public QWindow(io.qt.gui.@Nullable QWindow parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QWindow instance, io.qt.gui.QWindow parent);
/**
*
*/
public final void alert(int msec){
alert_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), msec);
}
private native void alert_native_int(long __this__nativeId, int msec);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize baseSize(){
return baseSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize baseSize_native_constfct(long __this__nativeId);
/**
* See QWindow:: close()
*/
public final boolean close(){
return close_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native boolean close_native(long __this__nativeId);
/**
* See QWindow:: contentOrientation()const
*/
@QtPropertyReader(name="contentOrientation")
@QtUninvokable
public final io.qt.core.Qt.@NonNull ScreenOrientation contentOrientation(){
return io.qt.core.Qt.ScreenOrientation.resolve(contentOrientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int contentOrientation_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void create(){
create_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void create_native(long __this__nativeId);
/**
* The cursor shape for this window
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QCursor cursor(){
return cursor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QCursor cursor_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void destroy(){
destroy_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void destroy_native(long __this__nativeId);
/**
* See QWindow:: devicePixelRatio()const
*/
@QtUninvokable
public final double devicePixelRatio(){
return devicePixelRatio_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double devicePixelRatio_native_constfct(long __this__nativeId);
/**
* The file name this window is representing
*
*/
@QtUninvokable
public final java.lang.@NonNull String filePath(){
return filePath_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String filePath_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="flags")
@QtUninvokable
public final io.qt.core.Qt.@NonNull WindowFlags flags(){
return new io.qt.core.Qt.WindowFlags(flags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int flags_native_constfct(long __this__nativeId);
/**
* See QWindow:: frameGeometry()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect frameGeometry(){
return frameGeometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRect frameGeometry_native_constfct(long __this__nativeId);
/**
* See QWindow:: frameMargins()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QMargins frameMargins(){
return frameMargins_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QMargins frameMargins_native_constfct(long __this__nativeId);
/**
* See QWindow:: framePosition()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint framePosition(){
return framePosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint framePosition_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect geometry(){
return geometry_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRect geometry_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="height")
@QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int height_native_constfct(long __this__nativeId);
/**
* See QWindow:: hide()
*/
public final void hide(){
hide_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void hide_native(long __this__nativeId);
/**
* Returns the window's icon in the windowing system
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QIcon icon(){
return icon_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QIcon icon_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="active")
@QtUninvokable
public final boolean isActive(){
return isActive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isActive_native_constfct(long __this__nativeId);
/**
* See QWindow:: isAncestorOf(const QWindow*, QWindow::AncestorMode)const
*/
@QtUninvokable
public final boolean isAncestorOf(io.qt.gui.@Nullable QWindow child, io.qt.gui.QWindow.@NonNull AncestorMode mode){
return isAncestorOf_native_const_QWindow_ptr_QWindow_AncestorMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(child), mode.value());
}
@QtUninvokable
private native boolean isAncestorOf_native_const_QWindow_ptr_QWindow_AncestorMode_constfct(long __this__nativeId, long child, int mode);
/**
*
*/
@QtUninvokable
public final boolean isExposed(){
return isExposed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isExposed_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isModal(){
return isModal_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isModal_native_constfct(long __this__nativeId);
/**
* See QWindow:: isTopLevel()const
*/
@QtUninvokable
public final boolean isTopLevel(){
return isTopLevel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isTopLevel_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="visible")
@QtUninvokable
public final boolean isVisible(){
return isVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isVisible_native_constfct(long __this__nativeId);
/**
* See QWindow:: lower()
*/
public final void lower(){
lower_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void lower_native(long __this__nativeId);
/**
* See QWindow:: mapFromGlobal(QPoint)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint mapFromGlobal(io.qt.core.@NonNull QPoint pos){
return mapFromGlobal_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native io.qt.core.QPoint mapFromGlobal_native_cref_QPoint_constfct(long __this__nativeId, long pos);
/**
* See QWindow:: mapFromGlobal(QPointF)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF mapFromGlobal(io.qt.core.@NonNull QPointF pos){
return mapFromGlobal_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native io.qt.core.QPointF mapFromGlobal_native_cref_QPointF_constfct(long __this__nativeId, long pos);
/**
* See QWindow:: mapToGlobal(QPoint)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint mapToGlobal(io.qt.core.@NonNull QPoint pos){
return mapToGlobal_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native io.qt.core.QPoint mapToGlobal_native_cref_QPoint_constfct(long __this__nativeId, long pos);
/**
* See QWindow:: mapToGlobal(QPointF)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF mapToGlobal(io.qt.core.@NonNull QPointF pos){
return mapToGlobal_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native io.qt.core.QPointF mapToGlobal_native_cref_QPointF_constfct(long __this__nativeId, long pos);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@NonNull QRegion mask(){
return mask_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QRegion mask_native_constfct(long __this__nativeId);
/**
* See QWindow:: maximumHeight()const
*/
@QtPropertyReader(name="maximumHeight")
@QtUninvokable
public final int maximumHeight(){
return maximumHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int maximumHeight_native_constfct(long __this__nativeId);
/**
* See QWindow:: maximumSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize maximumSize(){
return maximumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize maximumSize_native_constfct(long __this__nativeId);
/**
* See QWindow:: maximumWidth()const
*/
@QtPropertyReader(name="maximumWidth")
@QtUninvokable
public final int maximumWidth(){
return maximumWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int maximumWidth_native_constfct(long __this__nativeId);
/**
* See QWindow:: minimumHeight()const
*/
@QtPropertyReader(name="minimumHeight")
@QtUninvokable
public final int minimumHeight(){
return minimumHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int minimumHeight_native_constfct(long __this__nativeId);
/**
* See QWindow:: minimumSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize minimumSize(){
return minimumSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize minimumSize_native_constfct(long __this__nativeId);
/**
* See QWindow:: minimumWidth()const
*/
@QtPropertyReader(name="minimumWidth")
@QtUninvokable
public final int minimumWidth(){
return minimumWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int minimumWidth_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="modality")
@QtUninvokable
public final io.qt.core.Qt.@NonNull WindowModality modality(){
return io.qt.core.Qt.WindowModality.resolve(modality_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int modality_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="opacity")
@QtUninvokable
public final double opacity(){
return opacity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double opacity_native_constfct(long __this__nativeId);
/**
* See QWindow:: parent(QWindow::AncestorMode)const
*/
@QtUninvokable
public final io.qt.gui.@Nullable QWindow parent(io.qt.gui.QWindow.@NonNull AncestorMode mode){
return parent_native_QWindow_AncestorMode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native io.qt.gui.QWindow parent_native_QWindow_AncestorMode_constfct(long __this__nativeId, int mode);
/**
* Returns the position of the window on the desktop excluding any window frame
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint position(){
return position_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint position_native_constfct(long __this__nativeId);
/**
* See QWindow:: raise()
*/
public final void raise(){
raise_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void raise_native(long __this__nativeId);
/**
* See QWindow:: reportContentOrientationChange(Qt::ScreenOrientation)
*/
@QtPropertyWriter(name="contentOrientation")
@QtUninvokable
public final void reportContentOrientationChange(io.qt.core.Qt.@NonNull ScreenOrientation orientation){
reportContentOrientationChange_native_Qt_ScreenOrientation(QtJambi_LibraryUtilities.internal.nativeId(this), orientation.value());
}
@QtUninvokable
private native void reportContentOrientationChange_native_Qt_ScreenOrientation(long __this__nativeId, int orientation);
/**
* See QWindow:: requestActivate()
*/
public final void requestActivate(){
requestActivate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void requestActivate_native(long __this__nativeId);
/**
*
*/
public final void requestUpdate(){
requestUpdate_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void requestUpdate_native(long __this__nativeId);
/**
* See QWindow:: requestedFormat()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QSurfaceFormat requestedFormat(){
return requestedFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QSurfaceFormat requestedFormat_native_constfct(long __this__nativeId);
/**
* Set the size of the window, excluding any window frame, to newSize
*
*/
@QtUninvokable
public final void resize(io.qt.core.@NonNull QSize newSize){
resize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newSize));
}
@QtUninvokable
private native void resize_native_cref_QSize(long __this__nativeId, long newSize);
/**
*
*/
@QtUninvokable
public final void resize(int w, int h){
resize_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), w, h);
}
@QtUninvokable
private native void resize_native_int_int(long __this__nativeId, int w, int h);
/**
* See QWindow:: resolveInterface(const char*, int)const
*/
@QtUninvokable
public final QNativeInterface nativeInterface(java.lang.Class name){
return nativeInterface_native_const_char_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native QNativeInterface nativeInterface_native_const_char_ptr_int_constfct(long __this__nativeId, java.lang.Class name);
/**
*
*/
@QtUninvokable
public final io.qt.gui.@Nullable QScreen screen(){
return screen_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QScreen screen_native_constfct(long __this__nativeId);
/**
* See QWindow:: setBaseSize(QSize)
*/
@QtUninvokable
public final void setBaseSize(io.qt.core.@NonNull QSize size){
setBaseSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void setBaseSize_native_cref_QSize(long __this__nativeId, long size);
/**
* Set the cursor shape for this window
* See QWindow:: setCursor(QCursor)
*/
@QtUninvokable
public final void setCursor(io.qt.gui.@NonNull QCursor arg__1){
setCursor_native_cref_QCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void setCursor_native_cref_QCursor(long __this__nativeId, long arg__1);
/**
* Set the file name this window is representing
* See QWindow:: setFilePath(QString)
*/
@QtUninvokable
public final void setFilePath(java.lang.@NonNull String filePath){
setFilePath_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), filePath);
}
@QtUninvokable
private native void setFilePath_native_cref_QString(long __this__nativeId, java.lang.String filePath);
/**
* See QWindow:: setFlag(Qt::WindowType, bool)
*/
@QtUninvokable
public final void setFlag(io.qt.core.Qt.@NonNull WindowType arg__1, boolean on){
setFlag_native_Qt_WindowType_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value(), on);
}
@QtUninvokable
private native void setFlag_native_Qt_WindowType_bool(long __this__nativeId, int arg__1, boolean on);
/**
* See QWindow:: setFlags(Qt::WindowFlags)
*/
@QtPropertyWriter(name="flags")
@QtUninvokable
public final void setFlags(io.qt.core.Qt.@NonNull WindowFlags flags){
setFlags_native_Qt_WindowFlags(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value());
}
@QtUninvokable
private native void setFlags_native_Qt_WindowFlags(long __this__nativeId, int flags);
/**
* See QWindow:: setFormat(QSurfaceFormat)
*/
@QtUninvokable
public final void setFormat(io.qt.gui.@NonNull QSurfaceFormat format){
setFormat_native_cref_QSurfaceFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
@QtUninvokable
private native void setFormat_native_cref_QSurfaceFormat(long __this__nativeId, long format);
/**
* See QWindow:: setFramePosition(QPoint)
*/
@QtUninvokable
public final void setFramePosition(io.qt.core.@NonNull QPoint point){
setFramePosition_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point));
}
@QtUninvokable
private native void setFramePosition_native_cref_QPoint(long __this__nativeId, long point);
/**
* Sets the geometry of the window, excluding its window frame, to rect
* See QWindow:: setGeometry(QRect)
*/
public final void setGeometry(io.qt.core.@NonNull QRect rect){
setGeometry_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
private native void setGeometry_native_cref_QRect(long __this__nativeId, long rect);
/**
* See QWindow:: setGeometry(int, int, int, int)
*/
public final void setGeometry(int posx, int posy, int w, int h){
setGeometry_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), posx, posy, w, h);
}
private native void setGeometry_native_int_int_int_int(long __this__nativeId, int posx, int posy, int w, int h);
/**
*
*/
@QtPropertyWriter(name="height")
public final void setHeight(int arg){
setHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
private native void setHeight_native_int(long __this__nativeId, int arg);
/**
* Sets the window's icon in the windowing system
*
*/
@QtUninvokable
public final void setIcon(io.qt.gui.@NonNull QIcon icon){
setIcon_native_cref_QIcon(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon));
}
@QtUninvokable
private native void setIcon_native_cref_QIcon(long __this__nativeId, long icon);
/**
* See QWindow:: setKeyboardGrabEnabled(bool)
*/
@QtUninvokable
public final boolean setKeyboardGrabEnabled(boolean grab){
return setKeyboardGrabEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), grab);
}
@QtUninvokable
private native boolean setKeyboardGrabEnabled_native_bool(long __this__nativeId, boolean grab);
/**
*
*/
@QtUninvokable
public final void setMask(io.qt.gui.@NonNull QRegion region){
setMask_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(region));
}
@QtUninvokable
private native void setMask_native_cref_QRegion(long __this__nativeId, long region);
/**
* See QWindow:: setMaximumHeight(int)
*/
@QtPropertyWriter(name="maximumHeight")
public final void setMaximumHeight(int h){
setMaximumHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), h);
}
private native void setMaximumHeight_native_int(long __this__nativeId, int h);
/**
* See QWindow:: setMaximumSize(QSize)
*/
@QtUninvokable
public final void setMaximumSize(io.qt.core.@NonNull QSize size){
setMaximumSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void setMaximumSize_native_cref_QSize(long __this__nativeId, long size);
/**
* See QWindow:: setMaximumWidth(int)
*/
@QtPropertyWriter(name="maximumWidth")
public final void setMaximumWidth(int w){
setMaximumWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), w);
}
private native void setMaximumWidth_native_int(long __this__nativeId, int w);
/**
* See QWindow:: setMinimumHeight(int)
*/
@QtPropertyWriter(name="minimumHeight")
public final void setMinimumHeight(int h){
setMinimumHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), h);
}
private native void setMinimumHeight_native_int(long __this__nativeId, int h);
/**
* See QWindow:: setMinimumSize(QSize)
*/
@QtUninvokable
public final void setMinimumSize(io.qt.core.@NonNull QSize size){
setMinimumSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void setMinimumSize_native_cref_QSize(long __this__nativeId, long size);
/**
* See QWindow:: setMinimumWidth(int)
*/
@QtPropertyWriter(name="minimumWidth")
public final void setMinimumWidth(int w){
setMinimumWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), w);
}
private native void setMinimumWidth_native_int(long __this__nativeId, int w);
/**
* See QWindow:: setModality(Qt::WindowModality)
*/
@QtPropertyWriter(name="modality")
@QtUninvokable
public final void setModality(io.qt.core.Qt.@NonNull WindowModality modality){
setModality_native_Qt_WindowModality(QtJambi_LibraryUtilities.internal.nativeId(this), modality.value());
}
@QtUninvokable
private native void setModality_native_Qt_WindowModality(long __this__nativeId, int modality);
/**
* See QWindow:: setMouseGrabEnabled(bool)
*/
@QtUninvokable
public final boolean setMouseGrabEnabled(boolean grab){
return setMouseGrabEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), grab);
}
@QtUninvokable
private native boolean setMouseGrabEnabled_native_bool(long __this__nativeId, boolean grab);
/**
* See QWindow:: setOpacity(qreal)
*/
@QtPropertyWriter(name="opacity")
@QtUninvokable
public final void setOpacity(double level){
setOpacity_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), level);
}
@QtUninvokable
private native void setOpacity_native_qreal(long __this__nativeId, double level);
/**
* See QWindow:: setParent(QWindow*)
*/
@QtUninvokable
public final void setParent(io.qt.gui.@Nullable QWindow parent){
setParent_native_QWindow_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
@QtUninvokable
private native void setParent_native_QWindow_ptr(long __this__nativeId, long parent);
/**
* Set the position of the window on the desktop to pt
* See QWindow:: setPosition(QPoint)
*/
@QtUninvokable
public final void setPosition(io.qt.core.@NonNull QPoint pt){
setPosition_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@QtUninvokable
private native void setPosition_native_cref_QPoint(long __this__nativeId, long pt);
/**
* Set the position of the window on the desktop to posx, posy
* See QWindow:: setPosition(int, int)
*/
@QtUninvokable
public final void setPosition(int posx, int posy){
setPosition_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), posx, posy);
}
@QtUninvokable
private native void setPosition_native_int_int(long __this__nativeId, int posx, int posy);
/**
* See QWindow:: setScreen(QScreen*)
*/
@QtUninvokable
public final void setScreen(io.qt.gui.@Nullable QScreen screen){
setScreen_native_QScreen_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(screen));
}
@QtUninvokable
private native void setScreen_native_QScreen_ptr(long __this__nativeId, long screen);
/**
* See QWindow:: setSizeIncrement(QSize)
*/
@QtUninvokable
public final void setSizeIncrement(io.qt.core.@NonNull QSize size){
setSizeIncrement_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native void setSizeIncrement_native_cref_QSize(long __this__nativeId, long size);
/**
* See QWindow:: setSurfaceType(QSurface::SurfaceType)
*/
@QtUninvokable
public final void setSurfaceType(io.qt.gui.QSurface.@NonNull SurfaceType surfaceType){
setSurfaceType_native_QSurface_SurfaceType(QtJambi_LibraryUtilities.internal.nativeId(this), surfaceType.value());
}
@QtUninvokable
private native void setSurfaceType_native_QSurface_SurfaceType(long __this__nativeId, int surfaceType);
/**
* See QWindow:: setTitle(QString)
*/
@QtPropertyWriter(name="title")
public final void setTitle(java.lang.@NonNull String arg__1){
setTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
private native void setTitle_native_cref_QString(long __this__nativeId, java.lang.String arg__1);
/**
* See QWindow:: setTransientParent(QWindow*)
*/
@QtUninvokable
public final void setTransientParent(io.qt.gui.@Nullable QWindow parent){
setTransientParent_native_QWindow_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
@QtUninvokable
private native void setTransientParent_native_QWindow_ptr(long __this__nativeId, long parent);
/**
* See QWindow:: setVisibility(QWindow::Visibility)
*/
@QtPropertyWriter(name="visibility")
@QtUninvokable
public final void setVisibility(io.qt.gui.QWindow.@NonNull Visibility v){
setVisibility_native_QWindow_Visibility(QtJambi_LibraryUtilities.internal.nativeId(this), v.value());
}
@QtUninvokable
private native void setVisibility_native_QWindow_Visibility(long __this__nativeId, int v);
/**
*
*/
@QtPropertyWriter(name="visible")
public final void setVisible(boolean visible){
setVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible);
}
private native void setVisible_native_bool(long __this__nativeId, boolean visible);
/**
*
*/
@QtPropertyWriter(name="width")
public final void setWidth(int arg){
setWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
private native void setWidth_native_int(long __this__nativeId, int arg);
/**
* Set the screen-occupation state of the window
* See QWindow:: setWindowState(Qt::WindowState)
*/
@QtUninvokable
public final void setWindowState(io.qt.core.Qt.@NonNull WindowState state){
setWindowState_native_Qt_WindowState(QtJambi_LibraryUtilities.internal.nativeId(this), state.value());
}
@QtUninvokable
private native void setWindowState_native_Qt_WindowState(long __this__nativeId, int state);
/**
* Set the screen-occupation state of the window
* See QWindow:: setWindowStates(Qt::WindowStates)
*/
@QtUninvokable
public final void setWindowStates(io.qt.core.Qt.@NonNull WindowStates states){
setWindowStates_native_Qt_WindowStates(QtJambi_LibraryUtilities.internal.nativeId(this), states.value());
}
@QtUninvokable
private native void setWindowStates_native_Qt_WindowStates(long __this__nativeId, int states);
/**
*
*/
@QtPropertyWriter(name="x")
public final void setX(int arg){
setX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
private native void setX_native_int(long __this__nativeId, int arg);
/**
*
*/
@QtPropertyWriter(name="y")
public final void setY(int arg){
setY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
private native void setY_native_int(long __this__nativeId, int arg);
/**
* See QWindow:: show()
*/
public final void show(){
show_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void show_native(long __this__nativeId);
/**
*
*/
public final void showFullScreen(){
showFullScreen_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showFullScreen_native(long __this__nativeId);
/**
*
*/
public final void showMaximized(){
showMaximized_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showMaximized_native(long __this__nativeId);
/**
*
*/
public final void showMinimized(){
showMinimized_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showMinimized_native(long __this__nativeId);
/**
*
*/
public final void showNormal(){
showNormal_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void showNormal_native(long __this__nativeId);
/**
* See QWindow:: sizeIncrement()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize sizeIncrement(){
return sizeIncrement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize sizeIncrement_native_constfct(long __this__nativeId);
/**
* Start a system-specific move operation
* See QWindow:: startSystemMove()
*/
public final boolean startSystemMove(){
return startSystemMove_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native boolean startSystemMove_native(long __this__nativeId);
/**
* Start a system-specific resize operation
* See QWindow:: startSystemResize(Qt::Edges)
*/
public final boolean startSystemResize(io.qt.core.Qt.@NonNull Edges edges){
return startSystemResize_native_Qt_Edges(QtJambi_LibraryUtilities.internal.nativeId(this), edges.value());
}
private native boolean startSystemResize_native_Qt_Edges(long __this__nativeId, int edges);
/**
* See QSurface:: supportsOpenGL()const
*/
@QtUninvokable
public final boolean supportsOpenGL(){
return supportsOpenGL_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean supportsOpenGL_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="title")
@QtUninvokable
public final java.lang.@NonNull String title(){
return title_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String title_native_constfct(long __this__nativeId);
/**
* See QWindow:: transientParent()const
*/
@QtUninvokable
public final io.qt.gui.@Nullable QWindow transientParent(){
return transientParent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QWindow transientParent_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull WindowType type(){
return io.qt.core.Qt.WindowType.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int type_native_constfct(long __this__nativeId);
/**
* Restores the default arrow cursor for this window
*
*/
@QtUninvokable
public final void unsetCursor(){
unsetCursor_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void unsetCursor_native(long __this__nativeId);
/**
* See QWindow:: visibility()const
*/
@QtPropertyReader(name="visibility")
@QtUninvokable
public final io.qt.gui.QWindow.@NonNull Visibility visibility(){
return io.qt.gui.QWindow.Visibility.resolve(visibility_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int visibility_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="width")
@QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int width_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final long winId(){
return winId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long winId_native_constfct(long __this__nativeId);
/**
* The screen-occupation state of the window
* See QWindow:: windowState()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull WindowState windowState(){
return io.qt.core.Qt.WindowState.resolve(windowState_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int windowState_native_constfct(long __this__nativeId);
/**
* The screen-occupation state of the window
* See QWindow:: windowStates()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull WindowStates windowStates(){
return new io.qt.core.Qt.WindowStates(windowStates_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int windowStates_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="x")
@QtUninvokable
public final int x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int x_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="y")
@QtUninvokable
public final int y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int y_native_constfct(long __this__nativeId);
/**
* See QWindow:: accessibleRoot()const
*/
@QtUninvokable
public io.qt.gui.@Nullable QAccessibleInterface accessibleRoot(){
return accessibleRoot_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QAccessibleInterface accessibleRoot_native_constfct(long __this__nativeId);
/**
* See QWindow:: closeEvent(QCloseEvent*)
*/
@QtUninvokable
protected void closeEvent(io.qt.gui.@Nullable QCloseEvent arg__1){
closeEvent_native_QCloseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void closeEvent_native_QCloseEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
public boolean event(io.qt.core.@Nullable QEvent arg__1){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: exposeEvent(QExposeEvent*)
*/
@QtUninvokable
protected void exposeEvent(io.qt.gui.@Nullable QExposeEvent arg__1){
exposeEvent_native_QExposeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void exposeEvent_native_QExposeEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: focusInEvent(QFocusEvent*)
*/
@QtUninvokable
protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent arg__1){
focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: focusObject()const
*/
@QtUninvokable
public io.qt.core.@Nullable QObject focusObject(){
return focusObject_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QObject focusObject_native_constfct(long __this__nativeId);
/**
* See QWindow:: focusOutEvent(QFocusEvent*)
*/
@QtUninvokable
protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent arg__1){
focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
@Override
public io.qt.gui.@NonNull QSurfaceFormat format(){
return format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.gui.QSurfaceFormat format_native_constfct(long __this__nativeId);
/**
* See QWindow:: hideEvent(QHideEvent*)
*/
@QtUninvokable
protected void hideEvent(io.qt.gui.@Nullable QHideEvent arg__1){
hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: keyPressEvent(QKeyEvent*)
*/
@QtUninvokable
protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent arg__1){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: keyReleaseEvent(QKeyEvent*)
*/
@QtUninvokable
protected void keyReleaseEvent(io.qt.gui.@Nullable QKeyEvent arg__1){
keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: mouseDoubleClickEvent(QMouseEvent*)
*/
@QtUninvokable
protected void mouseDoubleClickEvent(io.qt.gui.@Nullable QMouseEvent arg__1){
mouseDoubleClickEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void mouseDoubleClickEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: mouseMoveEvent(QMouseEvent*)
*/
@QtUninvokable
protected void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent arg__1){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: mousePressEvent(QMouseEvent*)
*/
@QtUninvokable
protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent arg__1){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: mouseReleaseEvent(QMouseEvent*)
*/
@QtUninvokable
protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent arg__1){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: moveEvent(QMoveEvent*)
*/
@QtUninvokable
protected void moveEvent(io.qt.gui.@Nullable QMoveEvent arg__1){
moveEvent_native_QMoveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void moveEvent_native_QMoveEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: paintEvent(QPaintEvent*)
*/
@QtUninvokable
protected void paintEvent(io.qt.gui.@Nullable QPaintEvent arg__1){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: resizeEvent(QResizeEvent*)
*/
@QtUninvokable
protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent arg__1){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: showEvent(QShowEvent*)
*/
@QtUninvokable
protected void showEvent(io.qt.gui.@Nullable QShowEvent arg__1){
showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QSize size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static io.qt.core.QSize size_native_constfct(long __this__nativeId);
/**
* See QSurface:: surfaceType()const
*/
@QtUninvokable
@Override
public io.qt.gui.QSurface.@NonNull SurfaceType surfaceType(){
return io.qt.gui.QSurface.SurfaceType.resolve(surfaceType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
private native static int surfaceType_native_constfct(long __this__nativeId);
/**
* See QWindow:: tabletEvent(QTabletEvent*)
*/
@QtUninvokable
protected void tabletEvent(io.qt.gui.@Nullable QTabletEvent arg__1){
tabletEvent_native_QTabletEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void tabletEvent_native_QTabletEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: touchEvent(QTouchEvent*)
*/
@QtUninvokable
protected void touchEvent(io.qt.gui.@Nullable QTouchEvent arg__1){
touchEvent_native_QTouchEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void touchEvent_native_QTouchEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWindow:: wheelEvent(QWheelEvent*)
*/
@QtUninvokable
protected void wheelEvent(io.qt.gui.@Nullable QWheelEvent arg__1){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
public native static io.qt.gui.@Nullable QWindow fromWinId(long id);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QWindow(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QWindow(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QWindow instance, QDeclarativeConstructor constructor);
/**
* Overloaded function for {@link #parent(io.qt.gui.QWindow.AncestorMode)}
* with mode = io.qt.gui.QWindow.AncestorMode.ExcludeTransients
.
*/
@QtUninvokable
public final io.qt.gui.QWindow nonTransientParent(){
return parent(io.qt.gui.QWindow.AncestorMode.ExcludeTransients);
}
/**
* See operator<<(QDebug, const QWindow*)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QWindow(io.qt.gui.QScreen)}
* with screen = null
.
*/
public QWindow() {
this((io.qt.gui.QScreen)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #contentOrientation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull ScreenOrientation getContentOrientation() {
return contentOrientation();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #flags()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull WindowFlags getFlags() {
return flags();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #height()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getHeight() {
return height();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isActive()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getActive() {
return isActive();
}
/**
* Overloaded function for {@link #isAncestorOf(io.qt.gui.QWindow, io.qt.gui.QWindow.AncestorMode)}
* with mode = io.qt.gui.QWindow.AncestorMode.IncludeTransients
.
*/
@QtUninvokable
public final boolean isAncestorOf(io.qt.gui.@Nullable QWindow child) {
return isAncestorOf(child, io.qt.gui.QWindow.AncestorMode.IncludeTransients);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isVisible()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getVisible() {
return isVisible();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maximumHeight()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMaximumHeight() {
return maximumHeight();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maximumWidth()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMaximumWidth() {
return maximumWidth();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #minimumHeight()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMinimumHeight() {
return minimumHeight();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #minimumWidth()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMinimumWidth() {
return minimumWidth();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #modality()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull WindowModality getModality() {
return modality();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #opacity()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getOpacity() {
return opacity();
}
/**
* Overloaded function for {@link #setCursor(io.qt.gui.QCursor)}.
*/
@QtUninvokable
public final void setCursor(io.qt.core.Qt.@NonNull CursorShape arg__1) {
setCursor(new io.qt.gui.QCursor(arg__1));
}
/**
* Overloaded function for {@link #setFlag(io.qt.core.Qt.WindowType, boolean)}
* with on = true
.
*/
@QtUninvokable
public final void setFlag(io.qt.core.Qt.@NonNull WindowType arg__1) {
setFlag(arg__1, (boolean)true);
}
/**
* Overloaded function for {@link #setFlags(io.qt.core.Qt.WindowFlags)}.
*/
@QtUninvokable
public final void setFlags(io.qt.core.Qt.@NonNull WindowType @NonNull... flags) {
setFlags(new io.qt.core.Qt.WindowFlags(flags));
}
/**
* Overloaded function for {@link #setFormat(io.qt.gui.QSurfaceFormat)}.
*/
@QtUninvokable
public final void setFormat(io.qt.gui.QSurfaceFormat.@NonNull FormatOptions format) {
setFormat(new io.qt.gui.QSurfaceFormat(format));
}
/**
* Overloaded function for {@link #setIcon(io.qt.gui.QIcon)}.
*/
@QtUninvokable
public final void setIcon(io.qt.gui.@NonNull QPixmap icon) {
setIcon(new io.qt.gui.QIcon(icon));
}
/**
* Overloaded function for {@link #setMask(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setMask(io.qt.core.@NonNull QRect region) {
setMask(new io.qt.gui.QRegion(region));
}
/**
* Overloaded function for {@link #setMask(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setMask(io.qt.gui.@NonNull QPolygon region) {
setMask(new io.qt.gui.QRegion(region));
}
/**
* Overloaded function for {@link #setMask(io.qt.gui.QRegion)}.
*/
@QtUninvokable
public final void setMask(io.qt.gui.@NonNull QBitmap region) {
setMask(new io.qt.gui.QRegion(region));
}
/**
* Overloaded function for {@link #setWindowStates(io.qt.core.Qt.WindowStates)}.
*/
@QtUninvokable
public final void setWindowStates(io.qt.core.Qt.@NonNull WindowState @NonNull... states) {
setWindowStates(new io.qt.core.Qt.WindowStates(states));
}
/**
* Overloaded function for {@link #startSystemResize(io.qt.core.Qt.Edges)}.
*/
public final boolean startSystemResize(io.qt.core.Qt.@NonNull Edge @NonNull... edges) {
return startSystemResize(new io.qt.core.Qt.Edges(edges));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #title()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getTitle() {
return title();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #visibility()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.QWindow.@NonNull Visibility getVisibility() {
return visibility();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #width()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getWidth() {
return width();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #x()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getX() {
return x();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #y()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getY() {
return y();
}
}