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

io.qt.widgets.QWidgetAction Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

Extends QAction by an interface for inserting custom widgets into action based containers, such as toolbars

*

Java wrapper for Qt class QWidgetAction

*/ public class QWidgetAction extends io.qt.gui.QAction { 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(QWidgetAction.class); /** *

See QWidgetAction::QWidgetAction(QObject*)

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

See QWidgetAction::createdWidgets()const

*/ @QtUninvokable protected final io.qt.core.@NonNull QList createdWidgets(){ return createdWidgets_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList createdWidgets_native_constfct(long __this__nativeId); /** *

See QWidgetAction::defaultWidget()const

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget defaultWidget(){ return defaultWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QWidget defaultWidget_native_constfct(long __this__nativeId); /** *

See QWidgetAction::releaseWidget(QWidget*)

*/ @QtUninvokable public final void releaseWidget(io.qt.widgets.@Nullable QWidget widget){ releaseWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @QtUninvokable private native void releaseWidget_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QWidgetAction::requestWidget(QWidget*)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget requestWidget(io.qt.widgets.@Nullable QWidget parent){ return requestWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native io.qt.widgets.QWidget requestWidget_native_QWidget_ptr(long __this__nativeId, long parent); /** *

See QWidgetAction::setDefaultWidget(QWidget*)

*/ @QtUninvokable public final void setDefaultWidget(io.qt.widgets.@Nullable QWidget w){ setDefaultWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w)); QtJambi_LibraryUtilities.internal.setCppOwnership(w); } @QtUninvokable private native void setDefaultWidget_native_QWidget_ptr(long __this__nativeId, long w); /** *

See QWidgetAction::createWidget(QWidget*)

*/ @QtUninvokable protected io.qt.widgets.@Nullable QWidget createWidget(io.qt.widgets.@Nullable QWidget parent){ return createWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @QtUninvokable private native io.qt.widgets.QWidget createWidget_native_QWidget_ptr(long __this__nativeId, long parent); /** *

See QWidgetAction::deleteWidget(QWidget*)

*/ @QtUninvokable protected void deleteWidget(io.qt.widgets.@Nullable QWidget widget){ deleteWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @QtUninvokable private native void deleteWidget_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QObject::event(QEvent*)

*/ @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 QObject::eventFilter(QObject*,QEvent*)

*/ @QtUninvokable public boolean eventFilter(io.qt.core.@Nullable QObject arg__1, io.qt.core.@Nullable QEvent arg__2){ return eventFilter_native_QObject_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2)); } @QtUninvokable private native boolean eventFilter_native_QObject_ptr_QEvent_ptr(long __this__nativeId, long arg__1, long arg__2); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QWidgetAction(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy