Uses of Enum
io.qt.printsupport.QPrinter.Unit
-
Uses of QPrinter.Unit in io.qt.printsupport
Modifier and TypeMethodDescriptionstatic QPrinter.Unit
QPrinter.Unit.resolve
(int value) Returns the corresponding enum entry for the given value.static QPrinter.Unit
Returns 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.Modifier and TypeMethodDescriptionfinal QMarginsF
QPrinter.getPageMargins
(QPrinter.Unit unit) Deprecated.Use pageLayout().margins() instead.final QRectF
QPrinter.pageRect
(QPrinter.Unit arg__1) final QRectF
QPrinter.paperRect
(QPrinter.Unit arg__1) final QSizeF
QPrinter.paperSize
(QPrinter.Unit unit) Deprecated.Use pageLayout().pageSize().size() or pageLayout().fullPageSize() instead.final void
QPrinter.setPageMargins
(double left, double top, double right, double bottom, QPrinter.Unit unit) Deprecated.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.final void
QPrinter.setPaperSize
(QSizeF paperSize, QPrinter.Unit unit) Deprecated.Use setPageSize(QPageSize) instead.