Uses of Enum
io.qt.printsupport.QPrinter.Unit
-
Uses of QPrinter.Unit in io.qt.printsupport
Methods in io.qt.printsupport that return QPrinter.UnitModifier and TypeMethodDescriptionstatic QPrinter.UnitQPrinter.Unit.resolve(int value) Returns the corresponding enum entry for the given value.static QPrinter.UnitReturns the enum constant of this type with the specified name.static QPrinter.Unit[]QPrinter.Unit.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.qt.printsupport with parameters of type QPrinter.UnitModifier and TypeMethodDescriptionfinal QMarginsFQPrinter.getPageMargins(QPrinter.Unit unit) Deprecated.Use pageLayout().margins() instead.final QRectFQPrinter.pageRect(QPrinter.Unit arg__1) final QRectFQPrinter.paperRect(QPrinter.Unit arg__1) final QSizeFQPrinter.paperSize(QPrinter.Unit unit) Deprecated.Use pageLayout().pageSize().size() or pageLayout().fullPageSize() instead.final voidQPrinter.setPageMargins(double left, double top, double right, double bottom, QPrinter.Unit unit) Deprecated.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.final voidQPrinter.setPaperSize(QSizeF paperSize, QPrinter.Unit unit) Deprecated.Use setPageSize(QPageSize) instead.