Compatibility Members for QPrinterInfo
The following members of class QPrinterInfoare part of the Qt compatibility layer. We advise against using them in new code.
Public Functions
QList<QPrinter::PaperSize> | supportedPaperSizes() const |
QList<QPair<QString, QSizeF> > | supportedSizesWithNames() const |
Member Function Documentation
QList<QPrinter::PaperSize> QPrinterInfo::supportedPaperSizes() const
Returns a list of supported paper sizes by the printer.
Not all printer drivers support this query, so the list may be empty.
This function was introduced in Qt 4.4.
QList<QPair<QString, QSizeF> > QPrinterInfo::supportedSizesWithNames() const
Returns a list of all the paper names supported by the driver with the corresponding size in millimeters.
Not all printer drivers support this query, so the list may be empty.
This function was introduced in Qt 5.1.