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

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

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

import io.qt.*;


/**
 * 

Describes the size and name of a defined page size

*

Java wrapper for Qt class QPageSize

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

Java wrapper for Qt enum QPageSize::PageSizeId

*/ @QtRejectedEntries({"Letter", "C5E", "Comm10E", "DLE", "Ledger", "LastPageSize"}) public enum PageSizeId implements QtEnumerator { /** *

Representing QPageSize::Letter

*/ Letter(0), /** *

Representing QPageSize::Legal

*/ Legal(1), /** *

Representing QPageSize::Executive

*/ Executive(2), /** *

Representing QPageSize::A0

*/ A0(3), /** *

Representing QPageSize::A1

*/ A1(4), /** *

Representing QPageSize::A2

*/ A2(5), /** *

Representing QPageSize::A3

*/ A3(6), /** *

Representing QPageSize::A4

*/ A4(7), /** *

Representing QPageSize::A5

*/ A5(8), /** *

Representing QPageSize::A6

*/ A6(9), /** *

Representing QPageSize::A7

*/ A7(10), /** *

Representing QPageSize::A8

*/ A8(11), /** *

Representing QPageSize::A9

*/ A9(12), /** *

Representing QPageSize::A10

*/ A10(13), /** *

Representing QPageSize::B0

*/ B0(14), /** *

Representing QPageSize::B1

*/ B1(15), /** *

Representing QPageSize::B2

*/ B2(16), /** *

Representing QPageSize::B3

*/ B3(17), /** *

Representing QPageSize::B4

*/ B4(18), /** *

Representing QPageSize::B5

*/ B5(19), /** *

Representing QPageSize::B6

*/ B6(20), /** *

Representing QPageSize::B7

*/ B7(21), /** *

Representing QPageSize::B8

*/ B8(22), /** *

Representing QPageSize::B9

*/ B9(23), /** *

Representing QPageSize::B10

*/ B10(24), /** *

Representing QPageSize::C5E

*/ C5E(25), /** *

Representing QPageSize::Comm10E

*/ Comm10E(26), /** *

Representing QPageSize::DLE

*/ DLE(27), /** *

Representing QPageSize::Folio

*/ Folio(28), /** *

Representing QPageSize::Ledger

*/ Ledger(29), /** *

Representing QPageSize::Tabloid

*/ Tabloid(30), /** *

Representing QPageSize::Custom

*/ Custom(31), /** *

Representing QPageSize::A3Extra

*/ A3Extra(32), /** *

Representing QPageSize::A4Extra

*/ A4Extra(33), /** *

Representing QPageSize::A4Plus

*/ A4Plus(34), /** *

Representing QPageSize::A4Small

*/ A4Small(35), /** *

Representing QPageSize::A5Extra

*/ A5Extra(36), /** *

Representing QPageSize::B5Extra

*/ B5Extra(37), /** *

Representing QPageSize::JisB0

*/ JisB0(38), /** *

Representing QPageSize::JisB1

*/ JisB1(39), /** *

Representing QPageSize::JisB2

*/ JisB2(40), /** *

Representing QPageSize::JisB3

*/ JisB3(41), /** *

Representing QPageSize::JisB4

*/ JisB4(42), /** *

Representing QPageSize::JisB5

*/ JisB5(43), /** *

Representing QPageSize::JisB6

*/ JisB6(44), /** *

Representing QPageSize::JisB7

*/ JisB7(45), /** *

Representing QPageSize::JisB8

*/ JisB8(46), /** *

Representing QPageSize::JisB9

*/ JisB9(47), /** *

Representing QPageSize::JisB10

*/ JisB10(48), /** *

Representing QPageSize::AnsiC

*/ AnsiC(49), /** *

Representing QPageSize::AnsiD

*/ AnsiD(50), /** *

Representing QPageSize::AnsiE

*/ AnsiE(51), /** *

Representing QPageSize::LegalExtra

*/ LegalExtra(52), /** *

Representing QPageSize::LetterExtra

*/ LetterExtra(53), /** *

Representing QPageSize::LetterPlus

*/ LetterPlus(54), /** *

Representing QPageSize::LetterSmall

*/ LetterSmall(55), /** *

Representing QPageSize::TabloidExtra

*/ TabloidExtra(56), /** *

Representing QPageSize::ArchA

*/ ArchA(57), /** *

Representing QPageSize::ArchB

*/ ArchB(58), /** *

Representing QPageSize::ArchC

*/ ArchC(59), /** *

Representing QPageSize::ArchD

*/ ArchD(60), /** *

Representing QPageSize::ArchE

*/ ArchE(61), /** *

Representing QPageSize::Imperial7x9

*/ Imperial7x9(62), /** *

Representing QPageSize::Imperial8x10

*/ Imperial8x10(63), /** *

Representing QPageSize::Imperial9x11

*/ Imperial9x11(64), /** *

Representing QPageSize::Imperial9x12

*/ Imperial9x12(65), /** *

Representing QPageSize::Imperial10x11

*/ Imperial10x11(66), /** *

Representing QPageSize::Imperial10x13

*/ Imperial10x13(67), /** *

Representing QPageSize::Imperial10x14

*/ Imperial10x14(68), /** *

Representing QPageSize::Imperial12x11

*/ Imperial12x11(69), /** *

Representing QPageSize::Imperial15x11

*/ Imperial15x11(70), /** *

Representing QPageSize::ExecutiveStandard

*/ ExecutiveStandard(71), /** *

Representing QPageSize::Note

*/ Note(72), /** *

Representing QPageSize::Quarto

*/ Quarto(73), /** *

Representing QPageSize::Statement

*/ Statement(74), /** *

Representing QPageSize::SuperA

*/ SuperA(75), /** *

Representing QPageSize::SuperB

*/ SuperB(76), /** *

Representing QPageSize::Postcard

*/ Postcard(77), /** *

Representing QPageSize::DoublePostcard

*/ DoublePostcard(78), /** *

Representing QPageSize::Prc16K

*/ Prc16K(79), /** *

Representing QPageSize::Prc32K

*/ Prc32K(80), /** *

Representing QPageSize::Prc32KBig

*/ Prc32KBig(81), /** *

Representing QPageSize::FanFoldUS

*/ FanFoldUS(82), /** *

Representing QPageSize::FanFoldGerman

*/ FanFoldGerman(83), /** *

Representing QPageSize::FanFoldGermanLegal

*/ FanFoldGermanLegal(84), /** *

Representing QPageSize::EnvelopeB4

*/ EnvelopeB4(85), /** *

Representing QPageSize::EnvelopeB5

*/ EnvelopeB5(86), /** *

Representing QPageSize::EnvelopeB6

*/ EnvelopeB6(87), /** *

Representing QPageSize::EnvelopeC0

*/ EnvelopeC0(88), /** *

Representing QPageSize::EnvelopeC1

*/ EnvelopeC1(89), /** *

Representing QPageSize::EnvelopeC2

*/ EnvelopeC2(90), /** *

Representing QPageSize::EnvelopeC3

*/ EnvelopeC3(91), /** *

Representing QPageSize::EnvelopeC4

*/ EnvelopeC4(92), /** *

Representing QPageSize::EnvelopeC6

*/ EnvelopeC6(93), /** *

Representing QPageSize::EnvelopeC65

*/ EnvelopeC65(94), /** *

Representing QPageSize::EnvelopeC7

*/ EnvelopeC7(95), /** *

Representing QPageSize::Envelope9

*/ Envelope9(96), /** *

Representing QPageSize::Envelope11

*/ Envelope11(97), /** *

Representing QPageSize::Envelope12

*/ Envelope12(98), /** *

Representing QPageSize::Envelope14

*/ Envelope14(99), /** *

Representing QPageSize::EnvelopeMonarch

*/ EnvelopeMonarch(100), /** *

Representing QPageSize::EnvelopePersonal

*/ EnvelopePersonal(101), /** *

Representing QPageSize::EnvelopeChou3

*/ EnvelopeChou3(102), /** *

Representing QPageSize::EnvelopeChou4

*/ EnvelopeChou4(103), /** *

Representing QPageSize::EnvelopeInvite

*/ EnvelopeInvite(104), /** *

Representing QPageSize::EnvelopeItalian

*/ EnvelopeItalian(105), /** *

Representing QPageSize::EnvelopeKaku2

*/ EnvelopeKaku2(106), /** *

Representing QPageSize::EnvelopeKaku3

*/ EnvelopeKaku3(107), /** *

Representing QPageSize::EnvelopePrc1

*/ EnvelopePrc1(108), /** *

Representing QPageSize::EnvelopePrc2

*/ EnvelopePrc2(109), /** *

Representing QPageSize::EnvelopePrc3

*/ EnvelopePrc3(110), /** *

Representing QPageSize::EnvelopePrc4

*/ EnvelopePrc4(111), /** *

Representing QPageSize::EnvelopePrc5

*/ EnvelopePrc5(112), /** *

Representing QPageSize::EnvelopePrc6

*/ EnvelopePrc6(113), /** *

Representing QPageSize::EnvelopePrc7

*/ EnvelopePrc7(114), /** *

Representing QPageSize::EnvelopePrc8

*/ EnvelopePrc8(115), /** *

Representing QPageSize::EnvelopePrc9

*/ EnvelopePrc9(116), /** *

Representing QPageSize::EnvelopePrc10

*/ EnvelopePrc10(117), /** *

Representing QPageSize::EnvelopeYou4

*/ EnvelopeYou4(118), /** *

Representing QPageSize::LastPageSize

*/ LastPageSize(118), /** *

Representing QPageSize::AnsiA

*/ AnsiA(0), /** *

Representing QPageSize::AnsiB

*/ AnsiB(29), /** *

Representing QPageSize::EnvelopeC5

*/ EnvelopeC5(25), /** *

Representing QPageSize::EnvelopeDL

*/ EnvelopeDL(27), /** *

Representing QPageSize::Envelope10

*/ Envelope10(26); static { QtJambi_LibraryUtilities.initialize(); } private PageSizeId(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 PageSizeId resolve(int value) { switch (value) { case 1: return Legal; case 2: return Executive; case 3: return A0; case 4: return A1; case 5: return A2; case 6: return A3; case 7: return A4; case 8: return A5; case 9: return A6; case 10: return A7; case 11: return A8; case 12: return A9; case 13: return A10; case 14: return B0; case 15: return B1; case 16: return B2; case 17: return B3; case 18: return B4; case 19: return B5; case 20: return B6; case 21: return B7; case 22: return B8; case 23: return B9; case 24: return B10; case 28: return Folio; case 30: return Tabloid; case 31: return Custom; case 32: return A3Extra; case 33: return A4Extra; case 34: return A4Plus; case 35: return A4Small; case 36: return A5Extra; case 37: return B5Extra; case 38: return JisB0; case 39: return JisB1; case 40: return JisB2; case 41: return JisB3; case 42: return JisB4; case 43: return JisB5; case 44: return JisB6; case 45: return JisB7; case 46: return JisB8; case 47: return JisB9; case 48: return JisB10; case 49: return AnsiC; case 50: return AnsiD; case 51: return AnsiE; case 52: return LegalExtra; case 53: return LetterExtra; case 54: return LetterPlus; case 55: return LetterSmall; case 56: return TabloidExtra; case 57: return ArchA; case 58: return ArchB; case 59: return ArchC; case 60: return ArchD; case 61: return ArchE; case 62: return Imperial7x9; case 63: return Imperial8x10; case 64: return Imperial9x11; case 65: return Imperial9x12; case 66: return Imperial10x11; case 67: return Imperial10x13; case 68: return Imperial10x14; case 69: return Imperial12x11; case 70: return Imperial15x11; case 71: return ExecutiveStandard; case 72: return Note; case 73: return Quarto; case 74: return Statement; case 75: return SuperA; case 76: return SuperB; case 77: return Postcard; case 78: return DoublePostcard; case 79: return Prc16K; case 80: return Prc32K; case 81: return Prc32KBig; case 82: return FanFoldUS; case 83: return FanFoldGerman; case 84: return FanFoldGermanLegal; case 85: return EnvelopeB4; case 86: return EnvelopeB5; case 87: return EnvelopeB6; case 88: return EnvelopeC0; case 89: return EnvelopeC1; case 90: return EnvelopeC2; case 91: return EnvelopeC3; case 92: return EnvelopeC4; case 93: return EnvelopeC6; case 94: return EnvelopeC65; case 95: return EnvelopeC7; case 96: return Envelope9; case 97: return Envelope11; case 98: return Envelope12; case 99: return Envelope14; case 100: return EnvelopeMonarch; case 101: return EnvelopePersonal; case 102: return EnvelopeChou3; case 103: return EnvelopeChou4; case 104: return EnvelopeInvite; case 105: return EnvelopeItalian; case 106: return EnvelopeKaku2; case 107: return EnvelopeKaku3; case 108: return EnvelopePrc1; case 109: return EnvelopePrc2; case 110: return EnvelopePrc3; case 111: return EnvelopePrc4; case 112: return EnvelopePrc5; case 113: return EnvelopePrc6; case 114: return EnvelopePrc7; case 115: return EnvelopePrc8; case 116: return EnvelopePrc9; case 117: return EnvelopePrc10; case 118: return EnvelopeYou4; case 0: return AnsiA; case 29: return AnsiB; case 25: return EnvelopeC5; case 27: return EnvelopeDL; case 26: return Envelope10; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPageSize::SizeMatchPolicy

*/ public enum SizeMatchPolicy implements QtEnumerator { /** *

Representing QPageSize::FuzzyMatch

*/ FuzzyMatch(0), /** *

Representing QPageSize::FuzzyOrientationMatch

*/ FuzzyOrientationMatch(1), /** *

Representing QPageSize::ExactMatch

*/ ExactMatch(2); static { QtJambi_LibraryUtilities.initialize(); } private SizeMatchPolicy(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 SizeMatchPolicy resolve(int value) { switch (value) { case 0: return FuzzyMatch; case 1: return FuzzyOrientationMatch; case 2: return ExactMatch; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPageSize::Unit

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

Representing QPageSize::Millimeter

*/ Millimeter(0), /** *

Representing QPageSize::Point

*/ Point(1), /** *

Representing QPageSize::Inch

*/ Inch(2), /** *

Representing QPageSize::Pica

*/ Pica(3), /** *

Representing QPageSize::Didot

*/ Didot(4), /** *

Representing QPageSize::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 QPageSize::QPageSize()

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

See QPageSize::QPageSize(QPageSize)

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

See QPageSize::QPageSize(QPageSize::PageSizeId)

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

See QPageSize::QPageSize(QSize,QString,QPageSize::SizeMatchPolicy)

*/ public QPageSize(io.qt.core.@NonNull QSize pointSize, java.lang.@NonNull String name, io.qt.gui.QPageSize.@NonNull SizeMatchPolicy matchPolicy){ super((QPrivateConstructor)null); initialize_native(this, pointSize, name, matchPolicy); } private native static void initialize_native(QPageSize instance, io.qt.core.QSize pointSize, java.lang.String name, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy); /** *

See QPageSize::QPageSize(QSizeF,QPageSize::Unit,QString,QPageSize::SizeMatchPolicy)

*/ public QPageSize(io.qt.core.@NonNull QSizeF size, io.qt.gui.QPageSize.@NonNull Unit units, java.lang.@NonNull String name, io.qt.gui.QPageSize.@NonNull SizeMatchPolicy matchPolicy){ super((QPrivateConstructor)null); initialize_native(this, size, units, name, matchPolicy); } private native static void initialize_native(QPageSize instance, io.qt.core.QSizeF size, io.qt.gui.QPageSize.Unit units, java.lang.String name, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy); /** *

See QPageSize::definitionSize()const

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

See QPageSize::definitionUnits()const

*/ @QtUninvokable public final io.qt.gui.QPageSize.@NonNull Unit definitionUnits(){ return io.qt.gui.QPageSize.Unit.resolve(definitionUnits_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int definitionUnits_native_constfct(long __this__nativeId); /** *

See QPageSize::id()const

*/ @QtUninvokable public final io.qt.gui.QPageSize.@NonNull PageSizeId id(){ return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int id_native_constfct(long __this__nativeId); /** *

See QPageSize::isEquivalentTo(QPageSize)const

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

See QPageSize::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 QPageSize::key()const

*/ @QtUninvokable public final java.lang.@NonNull String key(){ return key_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String key_native_constfct(long __this__nativeId); /** *

See QPageSize::name()const

*/ @QtUninvokable public final java.lang.@NonNull String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See QPageSize::operator=(QPageSize)

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

See operator==(QPageSize,QPageSize)

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

See QPageSize::rect(QPageSize::Unit)const

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

See QPageSize::rectPixels(int)const

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

See QPageSize::rectPoints()const

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

See QPageSize::size(QPageSize::Unit)const

*/ @QtUninvokable public final io.qt.core.@NonNull QSizeF size(io.qt.gui.QPageSize.@NonNull Unit units){ return size_native_QPageSize_Unit_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), units.value()); } @QtUninvokable private native io.qt.core.QSizeF size_native_QPageSize_Unit_constfct(long __this__nativeId, int units); /** *

See QPageSize::sizePixels(int)const

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

See QPageSize::sizePoints()const

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

See QPageSize::swap(QPageSize&)

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

See QPageSize::windowsId()const

*/ @QtUninvokable public final int windowsId(){ return windowsId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int windowsId_native_constfct(long __this__nativeId); /** *

See QPageSize::definitionSize(QPageSize::PageSizeId)

*/ public static io.qt.core.@NonNull QSizeF definitionSize(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId){ return definitionSize_native_QPageSize_PageSizeId(pageSizeId.value()); } private native static io.qt.core.QSizeF definitionSize_native_QPageSize_PageSizeId(int pageSizeId); /** *

See QPageSize::definitionUnits(QPageSize::PageSizeId)

*/ public static io.qt.gui.QPageSize.@NonNull Unit definitionUnits(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId){ return io.qt.gui.QPageSize.Unit.resolve(definitionUnits_native_QPageSize_PageSizeId(pageSizeId.value())); } private native static int definitionUnits_native_QPageSize_PageSizeId(int pageSizeId); /** *

See QPageSize::id(QSize,QPageSize::SizeMatchPolicy)

*/ public static io.qt.gui.QPageSize.@NonNull PageSizeId id(io.qt.core.@NonNull QSize pointSize, io.qt.gui.QPageSize.@NonNull SizeMatchPolicy matchPolicy){ return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_cref_QSize_QPageSize_SizeMatchPolicy(QtJambi_LibraryUtilities.internal.checkedNativeId(pointSize), matchPolicy.value())); } private native static int id_native_cref_QSize_QPageSize_SizeMatchPolicy(long pointSize, int matchPolicy); /** *

See QPageSize::id(QSizeF,QPageSize::Unit,QPageSize::SizeMatchPolicy)

*/ public static io.qt.gui.QPageSize.@NonNull PageSizeId id(io.qt.core.@NonNull QSizeF size, io.qt.gui.QPageSize.@NonNull Unit units, io.qt.gui.QPageSize.@NonNull SizeMatchPolicy matchPolicy){ return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_cref_QSizeF_QPageSize_Unit_QPageSize_SizeMatchPolicy(QtJambi_LibraryUtilities.internal.checkedNativeId(size), units.value(), matchPolicy.value())); } private native static int id_native_cref_QSizeF_QPageSize_Unit_QPageSize_SizeMatchPolicy(long size, int units, int matchPolicy); /** *

See QPageSize::id(int)

*/ public static io.qt.gui.QPageSize.@NonNull PageSizeId id(int windowsId){ return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_int(windowsId)); } private native static int id_native_int(int windowsId); /** *

See QPageSize::key(QPageSize::PageSizeId)

*/ public static java.lang.@NonNull String key(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId){ return key_native_QPageSize_PageSizeId(pageSizeId.value()); } private native static java.lang.String key_native_QPageSize_PageSizeId(int pageSizeId); /** *

See QPageSize::name(QPageSize::PageSizeId)

*/ public static java.lang.@NonNull String name(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId){ return name_native_QPageSize_PageSizeId(pageSizeId.value()); } private native static java.lang.String name_native_QPageSize_PageSizeId(int pageSizeId); /** *

See QPageSize::size(QPageSize::PageSizeId,QPageSize::Unit)

*/ public static io.qt.core.@NonNull QSizeF size(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId, io.qt.gui.QPageSize.@NonNull Unit units){ return size_native_QPageSize_PageSizeId_QPageSize_Unit(pageSizeId.value(), units.value()); } private native static io.qt.core.QSizeF size_native_QPageSize_PageSizeId_QPageSize_Unit(int pageSizeId, int units); /** *

See QPageSize::sizePixels(QPageSize::PageSizeId,int)

*/ public static io.qt.core.@NonNull QSize sizePixels(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId, int resolution){ return sizePixels_native_QPageSize_PageSizeId_int(pageSizeId.value(), resolution); } private native static io.qt.core.QSize sizePixels_native_QPageSize_PageSizeId_int(int pageSizeId, int resolution); /** *

See QPageSize::sizePoints(QPageSize::PageSizeId)

*/ public static io.qt.core.@NonNull QSize sizePoints(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId){ return sizePoints_native_QPageSize_PageSizeId(pageSizeId.value()); } private native static io.qt.core.QSize sizePoints_native_QPageSize_PageSizeId(int pageSizeId); /** *

See QPageSize::windowsId(QPageSize::PageSizeId)

*/ public static int windowsId(io.qt.gui.QPageSize.@NonNull PageSizeId pageSizeId){ return windowsId_native_QPageSize_PageSizeId(pageSizeId.value()); } private native static int windowsId_native_QPageSize_PageSizeId(int pageSizeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPageSize(QPrivateConstructor p) { super(p); } /** *

See operator==(QPageSize,QPageSize)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QPageSize) { return equals((io.qt.gui.QPageSize) other); } return false; } /** * Returns the objects's hash code computed by qHash(QPageSize). */ @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,QPageSize)

*/ @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 QPageSize::QPageSize(QPageSize)

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

Overloaded constructor for {@link #QPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)} * with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch.

*/ public QPageSize(io.qt.core.@NonNull QSize pointSize, java.lang.@NonNull String name) { this(pointSize, name, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded constructor for {@link #QPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}

*

with:

    *
  • name = (String)null
  • *
  • matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
  • *
*/ public QPageSize(io.qt.core.@NonNull QSize pointSize) { this(pointSize, (String)null, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded constructor for {@link #QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)} * with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch.

*/ public QPageSize(io.qt.core.@NonNull QSizeF size, io.qt.gui.QPageSize.@NonNull Unit units, java.lang.@NonNull String name) { this(size, units, name, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded constructor for {@link #QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}

*

with:

    *
  • name = (String)null
  • *
  • matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
  • *
*/ public QPageSize(io.qt.core.@NonNull QSizeF size, io.qt.gui.QPageSize.@NonNull Unit units) { this(size, units, (String)null, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded constructor for {@link #QPageSize(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)} * with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch.

*/ public QPageSize(io.qt.core.@NonNull QSize size, io.qt.gui.QPageSize.@NonNull Unit units, java.lang.@NonNull String name) { this(size, units, name, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded constructor for {@link #QPageSize(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}

*

with:

    *
  • name = (String)null
  • *
  • matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
  • *
*/ public QPageSize(io.qt.core.@NonNull QSize size, io.qt.gui.QPageSize.@NonNull Unit units) { this(size, units, (String)null, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded constructor for {@link #QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}.

*/ public QPageSize(io.qt.core.@NonNull QSize size, io.qt.gui.QPageSize.@NonNull Unit units, java.lang.@NonNull String name, io.qt.gui.QPageSize.@NonNull SizeMatchPolicy matchPolicy) { this(new io.qt.core.QSizeF(size), units, name, matchPolicy); } /** *

Overloaded function for {@link #isEquivalentTo(io.qt.gui.QPageSize)}.

*/ @QtUninvokable public final boolean isEquivalentTo(io.qt.gui.QPageSize.@NonNull PageSizeId other) { return isEquivalentTo(new io.qt.gui.QPageSize(other)); } /** *

Overloaded function for {@link #assign(io.qt.gui.QPageSize)}.

*/ @QtUninvokable public final void assign(io.qt.gui.QPageSize.@NonNull PageSizeId other) { assign(new io.qt.gui.QPageSize(other)); } /** *

Overloaded function for {@link #equals(io.qt.gui.QPageSize)}.

*/ @QtUninvokable public final boolean equals(io.qt.gui.QPageSize.@NonNull PageSizeId rhs) { return equals(new io.qt.gui.QPageSize(rhs)); } /** *

Overloaded function for {@link #id(io.qt.core.QSize, io.qt.gui.QPageSize.SizeMatchPolicy)} * with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch.

*/ public static io.qt.gui.QPageSize.@NonNull PageSizeId id(io.qt.core.@NonNull QSize pointSize) { return id(pointSize, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded function for {@link #id(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)} * with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch.

*/ public static io.qt.gui.QPageSize.@NonNull PageSizeId id(io.qt.core.@NonNull QSizeF size, io.qt.gui.QPageSize.@NonNull Unit units) { return id(size, units, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded function for {@link #id(io.qt.core.QSize, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)} * with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch.

*/ public static io.qt.gui.QPageSize.@NonNull PageSizeId id(io.qt.core.@NonNull QSize size, io.qt.gui.QPageSize.@NonNull Unit units) { return id(size, units, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch); } /** *

Overloaded function for {@link #id(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)}.

*/ public static io.qt.gui.QPageSize.@NonNull PageSizeId id(io.qt.core.@NonNull QSize size, io.qt.gui.QPageSize.@NonNull Unit units, io.qt.gui.QPageSize.@NonNull SizeMatchPolicy matchPolicy) { return id(new io.qt.core.QSizeF(size), units, matchPolicy); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy