java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.printsupport.QPrinterInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QPrinterInfo extends QtObject implements Cloneable
Gives access to information about existing printers
Java wrapper for Qt class QPrinterInfo
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QPrinterInfo()
QPrinterInfo(QPrinter printer)
QPrinterInfo(QPrinterInfo other)
protected
QPrinterInfo(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description static QStringList
availablePrinterNames()
static QList<QPrinterInfo>
availablePrinters()
QPrinterInfo
clone()
QPrinter.ColorMode
defaultColorMode()
QPrinter.DuplexMode
defaultDuplexMode()
QPageSize
defaultPageSize()
static QPrinterInfo
defaultPrinter()
static String
defaultPrinterName()
String
description()
boolean
isDefault()
boolean
isNull()
boolean
isRemote()
String
location()
String
makeAndModel()
QPageSize
maximumPhysicalPageSize()
QPageSize
minimumPhysicalPageSize()
static QPrinterInfo
printerInfo(String printerName)
String
printerName()
QPrinter.PrinterState
state()
QList<QPrinter.ColorMode>
supportedColorModes()
QList<QPrinter.DuplexMode>
supportedDuplexModes()
QList<QPageSize>
supportedPageSizes()
QList<QPagedPaintDevice.PageSize>
supportedPaperSizes()
Deprecated.QList<Integer>
supportedResolutions()
QList<QPair<String,QSizeF>>
supportedSizesWithNames()
Deprecated.boolean
supportsCustomPageSizes()
-
Constructor Details
-
QPrinterInfo
public QPrinterInfo() -
QPrinterInfo
-
QPrinterInfo
-
QPrinterInfo
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
defaultColorMode
-
defaultDuplexMode
-
defaultPageSize
-
description
-
isDefault
-
isNull
-
isRemote
-
location
-
makeAndModel
-
maximumPhysicalPageSize
-
minimumPhysicalPageSize
-
printerName
-
state
-
supportedColorModes
-
supportedDuplexModes
-
supportedPageSizes
-
supportedPaperSizes
Deprecated. -
supportedResolutions
-
supportedSizesWithNames
Deprecated. -
supportsCustomPageSizes
-
availablePrinterNames
-
availablePrinters
-
defaultPrinter
-
defaultPrinterName
-
printerInfo
-
clone
-