All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QPageLayout Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Describes the size, orientation and margins of a page

*

Java wrapper for Qt class QPageLayout

*/ public class QPageLayout extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QPageLayout::Mode

*/ public enum Mode implements QtEnumerator { /** *

Representing QPageLayout::StandardMode

*/ StandardMode(0), /** *

Representing QPageLayout::FullPageMode

*/ FullPageMode(1); static { QtJambi_LibraryUtilities.initialize(); } private Mode(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Mode resolve(int value) { switch (value) { case 0: return StandardMode; case 1: return FullPageMode; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPageLayout::Orientation

*/ public enum Orientation implements QtEnumerator { /** *

Representing QPageLayout::Portrait

*/ Portrait(0), /** *

Representing QPageLayout::Landscape

*/ Landscape(1); static { QtJambi_LibraryUtilities.initialize(); } private Orientation(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Orientation resolve(int value) { switch (value) { case 0: return Portrait; case 1: return Landscape; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPageLayout::Unit

*/ public enum Unit implements QtEnumerator { /** *

Representing QPageLayout::Millimeter

*/ Millimeter(0), /** *

Representing QPageLayout::Point

*/ Point(1), /** *

Representing QPageLayout::Inch

*/ Inch(2), /** *

Representing QPageLayout::Pica

*/ Pica(3), /** *

Representing QPageLayout::Didot

*/ Didot(4), /** *

Representing QPageLayout::Cicero

*/ Cicero(5); static { QtJambi_LibraryUtilities.initialize(); } private Unit(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Unit resolve(int value) { switch (value) { case 0: return Millimeter; case 1: return Point; case 2: return Inch; case 3: return Pica; case 4: return Didot; case 5: return Cicero; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QPageLayout::QPageLayout()

*/ public QPageLayout(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QPageLayout instance); /** *

See QPageLayout::QPageLayout(QPageLayout)

*/ public QPageLayout(io.qt.gui.@NonNull QPageLayout other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QPageLayout instance, io.qt.gui.QPageLayout other); /** *

See QPageLayout::QPageLayout(QPageSize,QPageLayout::Orientation,QMarginsF,QPageLayout::Unit,QMarginsF)

*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMarginsF minMargins){ super((QPrivateConstructor)null); initialize_native(this, pageSize, orientation, margins, units, minMargins); } private native static void initialize_native(QPageLayout instance, io.qt.gui.QPageSize pageSize, io.qt.gui.QPageLayout.Orientation orientation, io.qt.core.QMarginsF margins, io.qt.gui.QPageLayout.Unit units, io.qt.core.QMarginsF minMargins); /** *

See QPageLayout::fullRect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF fullRect(){ return fullRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF fullRect_native_constfct(long __this__nativeId); /** *

See QPageLayout::fullRect(QPageLayout::Unit)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF fullRect(io.qt.gui.QPageLayout.@NonNull Unit units){ return fullRect_native_QPageLayout_Unit_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), units.value()); } @QtUninvokable private native io.qt.core.QRectF fullRect_native_QPageLayout_Unit_constfct(long __this__nativeId, int units); /** *

See QPageLayout::fullRectPixels(int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect fullRectPixels(int resolution){ return fullRectPixels_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), resolution); } @QtUninvokable private native io.qt.core.QRect fullRectPixels_native_int_constfct(long __this__nativeId, int resolution); /** *

See QPageLayout::fullRectPoints()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect fullRectPoints(){ return fullRectPoints_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRect fullRectPoints_native_constfct(long __this__nativeId); /** *

See QPageLayout::isEquivalentTo(QPageLayout)const

*/ @QtUninvokable public final boolean isEquivalentTo(io.qt.gui.@NonNull QPageLayout other){ return isEquivalentTo_native_cref_QPageLayout_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native boolean isEquivalentTo_native_cref_QPageLayout_constfct(long __this__nativeId, long other); /** *

See QPageLayout::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QPageLayout::margins()const

*/ @QtUninvokable public final io.qt.core.@NonNull QMarginsF margins(){ return margins_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QMarginsF margins_native_constfct(long __this__nativeId); /** *

See QPageLayout::margins(QPageLayout::Unit)const

*/ @QtUninvokable public final io.qt.core.@NonNull QMarginsF margins(io.qt.gui.QPageLayout.@NonNull Unit units){ return margins_native_QPageLayout_Unit_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), units.value()); } @QtUninvokable private native io.qt.core.QMarginsF margins_native_QPageLayout_Unit_constfct(long __this__nativeId, int units); /** *

See QPageLayout::marginsPixels(int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QMargins marginsPixels(int resolution){ return marginsPixels_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), resolution); } @QtUninvokable private native io.qt.core.QMargins marginsPixels_native_int_constfct(long __this__nativeId, int resolution); /** *

See QPageLayout::marginsPoints()const

*/ @QtUninvokable public final io.qt.core.@NonNull QMargins marginsPoints(){ return marginsPoints_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QMargins marginsPoints_native_constfct(long __this__nativeId); /** *

See QPageLayout::maximumMargins()const

*/ @QtUninvokable public final io.qt.core.@NonNull QMarginsF maximumMargins(){ return maximumMargins_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QMarginsF maximumMargins_native_constfct(long __this__nativeId); /** *

See QPageLayout::minimumMargins()const

*/ @QtUninvokable public final io.qt.core.@NonNull QMarginsF minimumMargins(){ return minimumMargins_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QMarginsF minimumMargins_native_constfct(long __this__nativeId); /** *

See QPageLayout::mode()const

*/ @QtUninvokable public final io.qt.gui.QPageLayout.@NonNull Mode mode(){ return io.qt.gui.QPageLayout.Mode.resolve(mode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int mode_native_constfct(long __this__nativeId); /** *

See operator!=(QPageLayout,QPageLayout)

*/ @QtUninvokable private final boolean operator_not_equal(io.qt.gui.@NonNull QPageLayout rhs){ return operator_not_equal_native_cref_QPageLayout(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native boolean operator_not_equal_native_cref_QPageLayout(long __this__nativeId, long rhs); /** *

See QPageLayout::operator=(QPageLayout)

*/ @QtUninvokable public final void assign(io.qt.gui.@NonNull QPageLayout other){ assign_native_cref_QPageLayout(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QPageLayout(long __this__nativeId, long other); /** *

See QPageLayout::orientation()const

*/ @QtUninvokable public final io.qt.gui.QPageLayout.@NonNull Orientation orientation(){ return io.qt.gui.QPageLayout.Orientation.resolve(orientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int orientation_native_constfct(long __this__nativeId); /** *

See QPageLayout::pageSize()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPageSize pageSize(){ return pageSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QPageSize pageSize_native_constfct(long __this__nativeId); /** *

See QPageLayout::paintRect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF paintRect(){ return paintRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF paintRect_native_constfct(long __this__nativeId); /** *

See QPageLayout::paintRect(QPageLayout::Unit)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF paintRect(io.qt.gui.QPageLayout.@NonNull Unit units){ return paintRect_native_QPageLayout_Unit_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), units.value()); } @QtUninvokable private native io.qt.core.QRectF paintRect_native_QPageLayout_Unit_constfct(long __this__nativeId, int units); /** *

See QPageLayout::paintRectPixels(int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect paintRectPixels(int resolution){ return paintRectPixels_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), resolution); } @QtUninvokable private native io.qt.core.QRect paintRectPixels_native_int_constfct(long __this__nativeId, int resolution); /** *

See QPageLayout::paintRectPoints()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect paintRectPoints(){ return paintRectPoints_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRect paintRectPoints_native_constfct(long __this__nativeId); /** *

See QPageLayout::setBottomMargin(qreal)

*/ @QtUninvokable public final boolean setBottomMargin(double bottomMargin){ return setBottomMargin_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), bottomMargin); } @QtUninvokable private native boolean setBottomMargin_native_qreal(long __this__nativeId, double bottomMargin); /** *

See QPageLayout::setLeftMargin(qreal)

*/ @QtUninvokable public final boolean setLeftMargin(double leftMargin){ return setLeftMargin_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), leftMargin); } @QtUninvokable private native boolean setLeftMargin_native_qreal(long __this__nativeId, double leftMargin); /** *

See QPageLayout::setMargins(QMarginsF)

*/ @QtUninvokable public final boolean setMargins(io.qt.core.@NonNull QMarginsF margins){ return setMargins_native_cref_QMarginsF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native boolean setMargins_native_cref_QMarginsF(long __this__nativeId, long margins); /** *

See QPageLayout::setMinimumMargins(QMarginsF)

*/ @QtUninvokable public final void setMinimumMargins(io.qt.core.@NonNull QMarginsF minMargins){ setMinimumMargins_native_cref_QMarginsF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(minMargins)); } @QtUninvokable private native void setMinimumMargins_native_cref_QMarginsF(long __this__nativeId, long minMargins); /** *

See QPageLayout::setMode(QPageLayout::Mode)

*/ @QtUninvokable public final void setMode(io.qt.gui.QPageLayout.@NonNull Mode mode){ setMode_native_QPageLayout_Mode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setMode_native_QPageLayout_Mode(long __this__nativeId, int mode); /** *

See QPageLayout::setOrientation(QPageLayout::Orientation)

*/ @QtUninvokable public final void setOrientation(io.qt.gui.QPageLayout.@NonNull Orientation orientation){ setOrientation_native_QPageLayout_Orientation(QtJambi_LibraryUtilities.internal.nativeId(this), orientation.value()); } @QtUninvokable private native void setOrientation_native_QPageLayout_Orientation(long __this__nativeId, int orientation); /** *

See QPageLayout::setPageSize(QPageSize,QMarginsF)

*/ @QtUninvokable public final void setPageSize(io.qt.gui.@NonNull QPageSize pageSize, io.qt.core.@NonNull QMarginsF minMargins){ setPageSize_native_cref_QPageSize_cref_QMarginsF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pageSize), QtJambi_LibraryUtilities.internal.checkedNativeId(minMargins)); } @QtUninvokable private native void setPageSize_native_cref_QPageSize_cref_QMarginsF(long __this__nativeId, long pageSize, long minMargins); /** *

See QPageLayout::setRightMargin(qreal)

*/ @QtUninvokable public final boolean setRightMargin(double rightMargin){ return setRightMargin_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), rightMargin); } @QtUninvokable private native boolean setRightMargin_native_qreal(long __this__nativeId, double rightMargin); /** *

See QPageLayout::setTopMargin(qreal)

*/ @QtUninvokable public final boolean setTopMargin(double topMargin){ return setTopMargin_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), topMargin); } @QtUninvokable private native boolean setTopMargin_native_qreal(long __this__nativeId, double topMargin); /** *

See QPageLayout::setUnits(QPageLayout::Unit)

*/ @QtUninvokable public final void setUnits(io.qt.gui.QPageLayout.@NonNull Unit units){ setUnits_native_QPageLayout_Unit(QtJambi_LibraryUtilities.internal.nativeId(this), units.value()); } @QtUninvokable private native void setUnits_native_QPageLayout_Unit(long __this__nativeId, int units); /** *

See QPageLayout::swap(QPageLayout&)

*/ @QtUninvokable public final void swap(io.qt.gui.@StrictNonNull QPageLayout other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QPageLayout(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QPageLayout(long __this__nativeId, long other); /** *

See QPageLayout::units()const

*/ @QtUninvokable public final io.qt.gui.QPageLayout.@NonNull Unit units(){ return io.qt.gui.QPageLayout.Unit.resolve(units_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int units_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPageLayout(QPrivateConstructor p) { super(p); } /** *

See operator!=(QPageLayout,QPageLayout)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QPageLayout) { return !operator_not_equal((io.qt.gui.QPageLayout) other); } return false; } /** * Returns the objects's hash code computed by qHash(QPageLayout). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QPageLayout)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QPageLayout::QPageLayout(QPageLayout)

*/ @QtUninvokable @Override public QPageLayout clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QPageLayout clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)} * with minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0).

*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins, io.qt.gui.QPageLayout.@NonNull Unit units) { this(pageSize, orientation, margins, units, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}

*

with:

    *
  • units = io.qt.gui.QPageLayout.Unit.Point
  • *
  • minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
  • *
*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins) { this(pageSize, orientation, margins, io.qt.gui.QPageLayout.Unit.Point, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize.PageSizeId, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)} * with minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0).

*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins, io.qt.gui.QPageLayout.@NonNull Unit units) { this(pageSize, orientation, margins, units, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize.PageSizeId, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}

*

with:

    *
  • units = io.qt.gui.QPageLayout.Unit.Point
  • *
  • minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
  • *
*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins) { this(pageSize, orientation, margins, io.qt.gui.QPageLayout.Unit.Point, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}.

*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMarginsF minMargins) { this(new io.qt.gui.QPageSize(pageSize), orientation, margins, units, minMargins); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)} * with minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0).

*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins, io.qt.gui.QPageLayout.@NonNull Unit units) { this(pageSize, orientation, margins, units, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}

*

with:

    *
  • units = io.qt.gui.QPageLayout.Unit.Point
  • *
  • minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
  • *
*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins) { this(pageSize, orientation, margins, io.qt.gui.QPageLayout.Unit.Point, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}.

*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMarginsF minMargins) { this(pageSize, orientation, new io.qt.core.QMarginsF(margins), units, minMargins); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize.PageSizeId, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)} * with minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0).

*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins, io.qt.gui.QPageLayout.@NonNull Unit units) { this(pageSize, orientation, margins, units, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize.PageSizeId, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMargins, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}

*

with:

    *
  • units = io.qt.gui.QPageLayout.Unit.Point
  • *
  • minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0)
  • *
*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins) { this(pageSize, orientation, margins, io.qt.gui.QPageLayout.Unit.Point, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}.

*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMarginsF minMargins) { this(new io.qt.gui.QPageSize(pageSize), orientation, new io.qt.core.QMarginsF(margins), units, minMargins); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}.

*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMargins minMargins) { this(pageSize, orientation, margins, units, new io.qt.core.QMarginsF(minMargins)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}.

*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMarginsF margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMargins minMargins) { this(new io.qt.gui.QPageSize(pageSize), orientation, margins, units, new io.qt.core.QMarginsF(minMargins)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}.

*/ public QPageLayout(io.qt.gui.@NonNull QPageSize pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMargins minMargins) { this(pageSize, orientation, new io.qt.core.QMarginsF(margins), units, new io.qt.core.QMarginsF(minMargins)); } /** *

Overloaded constructor for {@link #QPageLayout(io.qt.gui.QPageSize, io.qt.gui.QPageLayout.Orientation, io.qt.core.QMarginsF, io.qt.gui.QPageLayout.Unit, io.qt.core.QMarginsF)}.

*/ public QPageLayout(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.gui.QPageLayout.@NonNull Orientation orientation, io.qt.core.@NonNull QMargins margins, io.qt.gui.QPageLayout.@NonNull Unit units, io.qt.core.@NonNull QMargins minMargins) { this(new io.qt.gui.QPageSize(pageSize), orientation, new io.qt.core.QMarginsF(margins), units, new io.qt.core.QMarginsF(minMargins)); } /** *

Overloaded function for {@link #setMargins(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final boolean setMargins(io.qt.core.@NonNull QMargins margins) { return setMargins(new io.qt.core.QMarginsF(margins)); } /** *

Overloaded function for {@link #setMinimumMargins(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final void setMinimumMargins(io.qt.core.@NonNull QMargins minMargins) { setMinimumMargins(new io.qt.core.QMarginsF(minMargins)); } /** *

Overloaded function for {@link #setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)} * with minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0).

*/ @QtUninvokable public final void setPageSize(io.qt.gui.@NonNull QPageSize pageSize) { setPageSize(pageSize, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded function for {@link #setPageSize(io.qt.gui.QPageSize.PageSizeId, io.qt.core.QMarginsF)} * with minMargins = new io.qt.core.QMarginsF(0, 0, 0, 0).

*/ @QtUninvokable public final void setPageSize(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize) { setPageSize(pageSize, new io.qt.core.QMarginsF(0, 0, 0, 0)); } /** *

Overloaded function for {@link #setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final void setPageSize(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.core.@NonNull QMarginsF minMargins) { setPageSize(new io.qt.gui.QPageSize(pageSize), minMargins); } /** *

Overloaded function for {@link #setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final void setPageSize(io.qt.gui.@NonNull QPageSize pageSize, io.qt.core.@NonNull QMargins minMargins) { setPageSize(pageSize, new io.qt.core.QMarginsF(minMargins)); } /** *

Overloaded function for {@link #setPageSize(io.qt.gui.QPageSize, io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final void setPageSize(io.qt.gui.QPageSize.@NonNull PageSizeId pageSize, io.qt.core.@NonNull QMargins minMargins) { setPageSize(new io.qt.gui.QPageSize(pageSize), new io.qt.core.QMarginsF(minMargins)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy