io.qt.printsupport.QPrintPreviewDialog Maven / Gradle / Ivy
package io.qt.printsupport;
/**
* Dialog for previewing and configuring page layouts for printer output
* Java wrapper for Qt class QPrintPreviewDialog
*/
public class QPrintPreviewDialog extends io.qt.widgets.QDialog
{
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(QPrintPreviewDialog.class);
/**
* See QPrintPreviewDialog::paintRequested(QPrinter*)
*/
public final Signal1 paintRequested = new Signal1<>();
/**
* Overloaded constructor for {@link #QPrintPreviewDialog(io.qt.printsupport.QPrinter, io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.
*/
public QPrintPreviewDialog(io.qt.printsupport.QPrinter printer, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowType ... flags){
this(printer, parent, new io.qt.core.Qt.WindowFlags(flags));
}
/**
* Overloaded constructor for {@link #QPrintPreviewDialog(io.qt.printsupport.QPrinter, io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with flags = new io.qt.core.Qt.WindowFlags(0)
.
*/
public QPrintPreviewDialog(io.qt.printsupport.QPrinter printer, io.qt.widgets.QWidget parent) {
this(printer, parent, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QPrintPreviewDialog(io.qt.printsupport.QPrinter, io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with:
* parent = null
* flags = new io.qt.core.Qt.WindowFlags(0)
*
*/
public QPrintPreviewDialog(io.qt.printsupport.QPrinter printer) {
this(printer, (io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(0));
}
/**
* See QPrintPreviewDialog::QPrintPreviewDialog(QPrinter*,QWidget*,Qt::WindowFlags)
*/
public QPrintPreviewDialog(io.qt.printsupport.QPrinter printer, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags){
super((QPrivateConstructor)null);
initialize_native(this, printer, parent, flags);
}
private native static void initialize_native(QPrintPreviewDialog instance, io.qt.printsupport.QPrinter printer, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags);
/**
* Overloaded constructor for {@link #QPrintPreviewDialog(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.
*/
public QPrintPreviewDialog(io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowType ... flags){
this(parent, new io.qt.core.Qt.WindowFlags(flags));
}
/**
* Overloaded constructor for {@link #QPrintPreviewDialog(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with flags = new io.qt.core.Qt.WindowFlags(0)
.
*/
public QPrintPreviewDialog(io.qt.widgets.QWidget parent) {
this(parent, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QPrintPreviewDialog(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with:
* parent = null
* flags = new io.qt.core.Qt.WindowFlags(0)
*
*/
public QPrintPreviewDialog() {
this((io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(0));
}
/**
* See QPrintPreviewDialog::QPrintPreviewDialog(QWidget*,Qt::WindowFlags)
*/
public QPrintPreviewDialog(io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags){
super((QPrivateConstructor)null);
initialize_native(this, parent, flags);
}
private native static void initialize_native(QPrintPreviewDialog instance, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags);
/**
* See QPrintPreviewDialog::printer()
*/
@io.qt.QtUninvokable
public final io.qt.printsupport.QPrinter printer(){
return printer_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.printsupport.QPrinter printer_native(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public void done(int result){
done_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), result);
}
@io.qt.QtUninvokable
private native void done_native_int(long __this__nativeId, int result);
/**
*
*/
@io.qt.QtUninvokable
public void setVisible(boolean visible){
setVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible);
}
@io.qt.QtUninvokable
private native void setVisible_native_bool(long __this__nativeId, boolean visible);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QPrintPreviewDialog(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 QPrintPreviewDialog(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QPrintPreviewDialog instance, QDeclarativeConstructor constructor);
}