QPageSetupDialog Class The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer. More...  
 Header:
 #include <QPageSetupDialog> 


 qmake:
 QT += printsupport


 Inherits:
 QDialog



 List of all members, including inherited members  Public Functions
  
 

QPageSetupDialog(QWidget *parent = nullptr)
 
 

QPageSetupDialog(QPrinter *printer, QWidget *parent = nullptr)
 
 virtual 

~QPageSetupDialog()
 
 void 

open(QObject *receiver, const char *member)
 
 QPrinter *

printer()
  Reimplemented Public Functions
  
 virtual void 

done(int result) override
 
 virtual int 

exec() override
  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. See also QPrinter and QPrintDialog. Member Function Documentation 
QPageSetupDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069QPageSetupDialog(QWidget *parent = nullptr)
 Constructs a page setup dialog that configures a default-constructed QPrinter with parent as the parent widget. This function was introduced in Qt 4.5. See also printer(). 
QPageSetupDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069QPageSetupDialog(QPrinter *printer, QWidget *parent = nullptr)
 Constructs a page setup dialog that configures printer with parent as the parent widget. 
[virtual] QPageSetupDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069~QPageSetupDialog()
 Destroys the page setup dialog. 
[override virtual] void QPageSetupDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069one(int result)
 Reimplements: QDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069one(int r). 
[override virtual] int QPageSetupDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069xec()
 Reimplements: QDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069xec(). This virtual function is called to pop up the dialog. It must be reimplemented in subclasses. 
void QPageSetupDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069open(QObject *receiver, const char *member)
 This is an overloaded function. Opens the dialog and connects its accepted() signal to the slot specified by receiver and member. The signal will be disconnected from the slot when the dialog is closed. This function was introduced in Qt 4.5. 
QPrinter *QPageSetupDialog8b7c:f320:99b9:690f:4595:cd17:293a:c069printer()
 Returns the printer that was passed to the QPageSetupDialog constructor.

    
{'path': 'public/docs/qt~5.14/qpagesetupdialog.html', 'source': 'DevDocs.IO'}