java.lang.Object
io.qt.QtObject
io.qt.printsupport.QPrinterInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Gives access to information about existing printers
Java wrapper for Qt class QPrinterInfo
- Since:
- This class was introduced in Qt 4.4.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QPrinterInfo other) static QStringList
static QList<QPrinterInfo>
clone()
Creates and returns a copy of this object.final QPrinter.ColorMode
final QPrinter.DuplexMode
final QPageSize
static QPrinterInfo
static String
final String
final boolean
final boolean
isNull()
final boolean
isRemote()
final String
location()
final String
final QPageSize
final QPageSize
static QPrinterInfo
printerInfo
(String printerName) final String
final QPrinter.PrinterState
state()
final QList<QPrinter.ColorMode>
final QList<QPrinter.DuplexMode>
final QList<QPagedPaintDevice.PageSize>
final QList<@QtPrimitiveType Integer>
final boolean
toString()
Seeoperator<<(QDebug,
QPrinterInfo) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QPrinterInfo
public QPrinterInfo() -
QPrinterInfo
- Parameters:
printer
-
-
QPrinterInfo
- Parameters:
other
-
-
-
Method Details
-
defaultColorMode
- Returns:
- Since:
- This function was introduced in Qt 5.13.
-
defaultDuplexMode
- Returns:
- Since:
- This function was introduced in Qt 5.4.
-
defaultPageSize
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
description
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
isDefault
- Returns:
-
isNull
- Returns:
-
isRemote
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
location
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
makeAndModel
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
maximumPhysicalPageSize
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
minimumPhysicalPageSize
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
assign
- Parameters:
other
-
-
printerName
- Returns:
-
state
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
supportedColorModes
- Returns:
- Since:
- This function was introduced in Qt 5.13.
-
supportedDuplexModes
- Returns:
- Since:
- This function was introduced in Qt 5.4.
-
supportedPageSizes
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
supportedPaperSizes
- Returns:
- Since:
- This function was introduced in Qt 4.4.
-
supportedResolutions
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
supportedSizesWithNames
- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
supportsCustomPageSizes
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
availablePrinterNames
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
availablePrinters
- Returns:
-
defaultPrinter
- Returns:
-
defaultPrinterName
- Returns:
- Since:
- This function was introduced in Qt 5.3.
-
printerInfo
- Parameters:
printerName
-- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
toString
See
operator<<(QDebug,
QPrinterInfo) -
clone
Creates and returns a copy of this object.
-