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 List<String>
availablePrinterNames()
static List<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()
List<QPrinter.ColorMode>
supportedColorModes()
List<QPrinter.DuplexMode>
supportedDuplexModes()
List<QPageSize>
supportedPageSizes()
List<QPagedPaintDevice.PageSize>
supportedPaperSizes()
Deprecated.List<Integer>
supportedResolutions()
List<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
-