io.qt.printsupport.QPageSetupDialog Maven / Gradle / Ivy
package io.qt.printsupport;
/**
* Configuration dialog for the page-related options on a printer
* Java wrapper for Qt class QPageSetupDialog
*/
public class QPageSetupDialog 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(QPageSetupDialog.class);
/**
* Overloaded constructor for {@link #QPageSetupDialog(io.qt.printsupport.QPrinter, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QPageSetupDialog(io.qt.printsupport.QPrinter printer) {
this(printer, (io.qt.widgets.QWidget)null);
}
/**
* See QPageSetupDialog::QPageSetupDialog(QPrinter*,QWidget*)
*/
public QPageSetupDialog(io.qt.printsupport.QPrinter printer, io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, printer, parent);
}
private native static void initialize_native(QPageSetupDialog instance, io.qt.printsupport.QPrinter printer, io.qt.widgets.QWidget parent);
/**
* Overloaded constructor for {@link #QPageSetupDialog(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QPageSetupDialog() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QPageSetupDialog::QPageSetupDialog(QWidget*)
*/
public QPageSetupDialog(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QPageSetupDialog instance, io.qt.widgets.QWidget parent);
/**
* See QPageSetupDialog::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);
/**
* See QDialog::exec()
*/
@io.qt.QtUninvokable
public int exec(){
return exec_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int exec_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QPageSetupDialog(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 QPageSetupDialog(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QPageSetupDialog instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy