Uses of Class
io.qt.printsupport.QPrinter.Unit
Package | Description |
---|---|
io.qt.printsupport |
-
Uses of QPrinter.Unit in io.qt.printsupport
Methods in io.qt.printsupport that return QPrinter.Unit Modifier and Type Method Description static QPrinter.Unit
QPrinter.Unit. resolve(int value)
Returns the corresponding enum entry for the given value.static QPrinter.Unit
QPrinter.Unit. valueOf(String name)
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.Methods in io.qt.printsupport with parameters of type QPrinter.Unit Modifier and Type Method Description QMarginsF
QPrinter. getPageMargins(QPrinter.Unit unit)
Deprecated.Use pageLayout().margins() instead.QRectF
QPrinter. pageRect(QPrinter.Unit arg__1)
QRectF
QPrinter. paperRect(QPrinter.Unit arg__1)
QSizeF
QPrinter. paperSize(QPrinter.Unit unit)
Deprecated.Use pageLayout().pageSize().size() or pageLayout().fullPageSize() instead.void
QPrinter. setPageMargins(double left, double top, double right, double bottom, QPrinter.Unit unit)
Deprecated.Use setPageMargins(QMarginsF, QPageLayout::Unit) instead.void
QPrinter. setPaperSize(QSizeF paperSize, QPrinter.Unit unit)
Deprecated.Use setPageSize(QPageSize) instead.