io.qt.widgets.QErrorMessage 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;
import io.qt.*;
/**
* Error message display dialog
* Java wrapper for Qt class QErrorMessage
*/
public class QErrorMessage extends io.qt.widgets.QDialog
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QErrorMessage.class);
/**
* See QErrorMessage:: QErrorMessage(QWidget*)
*/
public QErrorMessage(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QErrorMessage instance, io.qt.widgets.QWidget parent);
/**
* See QErrorMessage:: showMessage(QString)
*/
public final void showMessage(java.lang.@NonNull String message){
showMessage_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), message);
}
private native void showMessage_native_cref_QString(long __this__nativeId, java.lang.String message);
/**
* See QErrorMessage:: showMessage(QString, QString)
*/
public final void showMessage(java.lang.@NonNull String message, java.lang.@NonNull String type){
showMessage_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), message, type);
}
private native void showMessage_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String message, java.lang.String type);
/**
* See QWidget:: changeEvent(QEvent*)
*/
@QtUninvokable
@Override
protected void changeEvent(io.qt.core.@Nullable QEvent e){
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long e);
/**
*
*/
@QtUninvokable
@Override
public void done(int arg__1){
done_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void done_native_int(long __this__nativeId, int arg__1);
/**
* See QErrorMessage:: qtHandler()
*/
public native static io.qt.widgets.@Nullable QErrorMessage qtHandler();
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QErrorMessage(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QErrorMessage(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QErrorMessage instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QErrorMessage(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QErrorMessage() {
this((io.qt.widgets.QWidget)null);
}
}