
io.qt.widgets.QSplashScreen Maven / Gradle / Ivy
package io.qt.widgets;
/**
* Splash screen that can be shown during application startup
* Java wrapper for Qt class QSplashScreen
*/
public class QSplashScreen extends io.qt.widgets.QWidget
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSplashScreen.class);
/**
* See QSplashScreen::messageChanged(QString)
*/
public final Signal1 messageChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QSplashScreen(io.qt.gui.QScreen, io.qt.gui.QPixmap, io.qt.core.Qt.WindowFlags)}.
*/
public QSplashScreen(io.qt.gui.QScreen screen, io.qt.gui.QPixmap pixmap, io.qt.core.Qt.WindowType ... f){
this(screen, pixmap, new io.qt.core.Qt.WindowFlags(f));
}
/**
* Overloaded constructor for {@link #QSplashScreen(io.qt.gui.QScreen, io.qt.gui.QPixmap, io.qt.core.Qt.WindowFlags)}
* with f = new io.qt.core.Qt.WindowFlags(0)
.
*/
public QSplashScreen(io.qt.gui.QScreen screen, io.qt.gui.QPixmap pixmap) {
this(screen, pixmap, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QSplashScreen(io.qt.gui.QScreen, io.qt.gui.QPixmap, io.qt.core.Qt.WindowFlags)}
* with:
* pixmap = new io.qt.gui.QPixmap()
* f = new io.qt.core.Qt.WindowFlags(0)
*
*/
public QSplashScreen(io.qt.gui.QScreen screen) {
this(screen, new io.qt.gui.QPixmap(), new io.qt.core.Qt.WindowFlags(0));
}
/**
* See QSplashScreen::QSplashScreen(QScreen*,QPixmap,Qt::WindowFlags)
*/
public QSplashScreen(io.qt.gui.QScreen screen, io.qt.gui.QPixmap pixmap, io.qt.core.Qt.WindowFlags f){
super((QPrivateConstructor)null);
initialize_native(this, screen, pixmap, f);
}
private native static void initialize_native(QSplashScreen instance, io.qt.gui.QScreen screen, io.qt.gui.QPixmap pixmap, io.qt.core.Qt.WindowFlags f);
/**
* Overloaded constructor for {@link #QSplashScreen(io.qt.gui.QPixmap, io.qt.core.Qt.WindowFlags)}.
*/
public QSplashScreen(io.qt.gui.QPixmap pixmap, io.qt.core.Qt.WindowType ... f){
this(pixmap, new io.qt.core.Qt.WindowFlags(f));
}
/**
* Overloaded constructor for {@link #QSplashScreen(io.qt.gui.QPixmap, io.qt.core.Qt.WindowFlags)}
* with f = new io.qt.core.Qt.WindowFlags(0)
.
*/
public QSplashScreen(io.qt.gui.QPixmap pixmap) {
this(pixmap, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QSplashScreen(io.qt.gui.QPixmap, io.qt.core.Qt.WindowFlags)}
* with:
* pixmap = new io.qt.gui.QPixmap()
* f = new io.qt.core.Qt.WindowFlags(0)
*
*/
public QSplashScreen() {
this(new io.qt.gui.QPixmap(), new io.qt.core.Qt.WindowFlags(0));
}
/**
* See QSplashScreen::QSplashScreen(QPixmap,Qt::WindowFlags)
*/
public QSplashScreen(io.qt.gui.QPixmap pixmap, io.qt.core.Qt.WindowFlags f){
super((QPrivateConstructor)null);
initialize_native(this, pixmap, f);
}
private native static void initialize_native(QSplashScreen instance, io.qt.gui.QPixmap pixmap, io.qt.core.Qt.WindowFlags f);
/**
* See QSplashScreen::clearMessage()
*/
public final void clearMessage(){
clearMessage_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clearMessage_native(long __this__nativeId);
/**
* See QSplashScreen::finish(QWidget*)
*/
@io.qt.QtUninvokable
public final void finish(io.qt.widgets.QWidget w){
finish_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(w));
}
@io.qt.QtUninvokable
private native void finish_native_QWidget_ptr(long __this__nativeId, long w);
/**
* See QSplashScreen::message()const
*/
@io.qt.QtUninvokable
public final java.lang.String message(){
return message_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String message_native_constfct(long __this__nativeId);
/**
* See QSplashScreen::pixmap()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPixmap pixmap(){
return pixmap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QPixmap pixmap_native_constfct(long __this__nativeId);
/**
* See QSplashScreen::setPixmap(QPixmap)
*/
@io.qt.QtUninvokable
public final void setPixmap(io.qt.gui.QPixmap pixmap){
setPixmap_native_cref_QPixmap(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap));
}
@io.qt.QtUninvokable
private native void setPixmap_native_cref_QPixmap(long __this__nativeId, long pixmap);
/**
* Overloaded function for {@link #showMessage(java.lang.String, int, io.qt.gui.QColor)}
* with color = new io.qt.gui.QColor(io.qt.core.Qt.GlobalColor.black)
.
*/
public final void showMessage(java.lang.String message, int alignment) {
showMessage(message, alignment, new io.qt.gui.QColor(io.qt.core.Qt.GlobalColor.black));
}
/**
* Overloaded function for {@link #showMessage(java.lang.String, int, io.qt.gui.QColor)}
* with:
* alignment = 1
* color = new io.qt.gui.QColor(io.qt.core.Qt.GlobalColor.black)
*
*/
public final void showMessage(java.lang.String message) {
showMessage(message, (int)1, new io.qt.gui.QColor(io.qt.core.Qt.GlobalColor.black));
}
/**
* See QSplashScreen::showMessage(QString,int,QColor)
*/
public final void showMessage(java.lang.String message, int alignment, io.qt.gui.QColor color){
showMessage_native_cref_QString_int_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), message, alignment, QtJambi_LibraryUtilities.internal.checkedNativeId(color));
}
private native void showMessage_native_cref_QString_int_cref_QColor(long __this__nativeId, java.lang.String message, int alignment, long color);
/**
* See QSplashScreen::drawContents(QPainter*)
*/
@io.qt.QtUninvokable
protected void drawContents(io.qt.gui.QPainter painter){
drawContents_native_QPainter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter));
}
@io.qt.QtUninvokable
private native void drawContents_native_QPainter_ptr(long __this__nativeId, long painter);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent e){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget::mousePressEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mousePressEvent(io.qt.gui.QMouseEvent arg__1){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QSplashScreen(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QSplashScreen(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QSplashScreen instance, QDeclarativeConstructor constructor);
}