io.qt.widgets.QErrorMessage Maven / Gradle / Ivy
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*)
* @param parent
*/
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)
* @param message
*/
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)
* @param message
* @param type
*/
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*)
* @param e
*/
@QtUninvokable
@Override
protected void changeEvent(io.qt.core.@Nullable QEvent e){
java.util.Objects.requireNonNull(e, "Argument 'e': null not expected.");
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);
/**
*
* @param arg__1
*/
@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()
* @return
*/
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy