以下成員源於類 QPrinterInfo 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
QList<QPrinter::PaperSize>
|
supportedPaperSizes () const |
(obsolete)
QList<QPair<QString, QSizeF>>
|
supportedSizesWithNames () const |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
使用 supportedPageSizes () 代替。
Returns a list of supported paper sizes by the printer.
Not all printer drivers support this query, so the list may be empty.
該函數在 Qt 4.4 引入。
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
使用 supportedPageSizes () 代替。
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.
該函數在 Qt 5.1 引入。