Obsolete Members for QPrinterInfo
The following members of class QPrinterInfo are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(obsolete) QList<QPrinter::PaperSize> | supportedPaperSizes() const |
(obsolete) 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.
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.