41 void setPrinter(QPrinter *printer, QPrintDevice *printDevice,
42 QPrinter::OutputFormat outputFormat,
const QString &printerName);
56 void pageOrientationChanged();
57 void pagesPerSheetChanged();
59 void topMarginChanged(
double newValue);
60 void bottomMarginChanged(
double newValue);
61 void leftMarginChanged(
double newValue);
62 void rightMarginChanged(
double newValue);
69 void initPagesPerSheet();
72 Ui::QPageSetupWidget m_ui;
75 QPrintDevice *m_printDevice;
79 QPrinter::OutputFormat m_outputFormat;
80 QString m_printerName;
81 QPageLayout m_pageLayout;
82 QPageLayout m_savedPageLayout;
83 QPageLayout::Unit m_units;
84 QPageLayout::Unit m_savedUnits;
85 int m_savedPagesPerSheet;
86 int m_savedPagesPerSheetLayout;
88 int m_realCustomPageSizeIndex;
void setPageLayout(const QPageLayout &layout)
void setPagePreviewLayout(int columns, int rows)
QPagePreview(QWidget *parent)
void paintEvent(QPaintEvent *) override
This event handler can be reimplemented in a subclass to receive paint events passed in event.
QPageSetupWidget * widget
~QUnixPageSetupDialogPrivate()
QMarginsF qt_convertMargins(const QMarginsF &margins, QPageLayout::Unit fromUnits, QPageLayout::Unit toUnits)