io.qt.widgets.QWidgetAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QWidgetAction.class);
/**
* See QWidgetAction::QWidgetAction(QObject*)
*/
public QWidgetAction(io.qt.core.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
*/
@io.qt.QtUninvokable
protected final io.qt.core.QList createdWidgets(){
return createdWidgets_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QList createdWidgets_native_constfct(long __this__nativeId);
/**
* See QWidgetAction::defaultWidget()const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QWidget defaultWidget(){
return defaultWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QWidget defaultWidget_native_constfct(long __this__nativeId);
/**
* See QWidgetAction::releaseWidget(QWidget*)
*/
@io.qt.QtUninvokable
public final void releaseWidget(io.qt.widgets.QWidget widget){
releaseWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native void releaseWidget_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* See QWidgetAction::requestWidget(QWidget*)
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QWidget requestWidget(io.qt.widgets.QWidget parent){
return requestWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QWidget requestWidget_native_QWidget_ptr(long __this__nativeId, long parent);
/**
* See QWidgetAction::setDefaultWidget(QWidget*)
*/
@io.qt.QtUninvokable
public final void setDefaultWidget(io.qt.widgets.QWidget w){
setDefaultWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
QtJambi_LibraryUtilities.internal.setCppOwnership(w);
}
@io.qt.QtUninvokable
private native void setDefaultWidget_native_QWidget_ptr(long __this__nativeId, long w);
/**
* See QWidgetAction::createWidget(QWidget*)
*/
@io.qt.QtUninvokable
protected io.qt.widgets.QWidget createWidget(io.qt.widgets.QWidget parent){
return createWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QWidget createWidget_native_QWidget_ptr(long __this__nativeId, long parent);
/**
* See QWidgetAction::deleteWidget(QWidget*)
*/
@io.qt.QtUninvokable
protected void deleteWidget(io.qt.widgets.QWidget widget){
deleteWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@io.qt.QtUninvokable
private native void deleteWidget_native_QWidget_ptr(long __this__nativeId, long widget);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent arg__1){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QObject::eventFilter(QObject*,QEvent*)
*/
@io.qt.QtUninvokable
public boolean eventFilter(io.qt.core.QObject arg__1, io.qt.core.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));
}
@io.qt.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
.
*/
@io.qt.NativeAccess
protected QWidgetAction(QPrivateConstructor p) { super(p); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy