Skip to content

PythonQt.Qt.QPrinterInfo

QPrinterInfo

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

Use the static functions to generate a list of QPrinterInfo objects. Each QPrinterInfo object in the list represents a single printer and can be queried for name, supported paper sizes, and whether or not it is the default printer.

Source: https://doc.qt.io/archives/qt-5.15/qprinterinfo.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
availablePrinterNames function (self) -> tuple X.availablePrinterNames() -> tuple (shared captured text)
availablePrinters function (self) -> tuple X.availablePrinters() -> tuple (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
defaultDuplexMode function (self) -> Any Returns the default duplex mode of this printer. (shared captured text)
defaultPageSize function (self) -> Any X.defaultPageSize() -> PythonQt.QtGui.QPageSize (shared captured text)
defaultPrinter function (self) -> Any X.defaultPrinter() -> PythonQt.QtGui.QPrinterInfo (shared captured text)
defaultPrinterName function (self) -> str X.defaultPrinterName() -> str (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
description function (self) -> str X.description() -> str (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isDefault function (self) -> bool X.isDefault() -> bool (shared captured text)
isNull function (self) -> bool X.isNull() -> bool (shared captured text)
isRemote function (self) -> bool X.isRemote() -> bool (shared captured text)
location function (self) -> str X.location() -> str (shared captured text)
makeAndModel function (self) -> str X.makeAndModel() -> str (shared captured text)
maximumPhysicalPageSize function (self) -> Any X.maximumPhysicalPageSize() -> PythonQt.QtGui.QPageSize (shared captured text)
minimumPhysicalPageSize function (self) -> Any X.minimumPhysicalPageSize() -> PythonQt.QtGui.QPageSize (shared captured text)
printerInfo function (self, printerName: str) -> Any X.printerInfo(printerName) -> PythonQt.QtGui.QPrinterInfo (shared captured text)
printerName function (self) -> str X.printerName() -> str (shared captured text)
state function (self) -> Any Returns the current state of this printer. (shared captured text)
supportedDuplexModes function (self) -> tuple X.supportedDuplexModes() -> tuple (shared captured text)
supportedPageSizes function (self) -> tuple X.supportedPageSizes() -> tuple (shared captured text)
supportedPaperSizes function (self) -> tuple X.supportedPaperSizes() -> tuple (shared captured text)
supportedResolutions function (self) -> tuple X.supportedResolutions() -> tuple (shared captured text)
supportedSizesWithNames function (self) -> tuple X.supportedSizesWithNames() -> tuple (shared captured text)
supportsCustomPageSizes function (self) -> bool X.supportsCustomPageSizes() -> bool (shared captured text)