QPageSetupDialog

The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer. More

Inheritance diagram of PySide6.QtPrintSupport.QPageSetupDialog

Synopsis

Functions

Detailed Description

On Windows and macOS the page setup dialog is implemented using the native page setup dialogs.

Note that on Windows and macOS custom paper sizes won’t be reflected in the native page setup dialogs. Additionally, custom page margins set on a QPrinter won’t show in the native macOS page setup dialog.

class PySide6.QtPrintSupport.QPageSetupDialog(printer[, parent=None])

PySide6.QtPrintSupport.QPageSetupDialog([parent=None])

Parameters
PySide6.QtPrintSupport.QPageSetupDialog.open(receiver, member)
Parameters

This is an overloaded function.

Opens the dialog and connects its signal to the slot specified by receiver and member.

The signal will be disconnected from the slot when the dialog is closed.

PySide6.QtPrintSupport.QPageSetupDialog.printer()
Return type

PySide6.QtPrintSupport.QPrinter