4#ifndef QABSTRACTPRINTDIALOG_H
5#define QABSTRACTPRINTDIALOG_H
7#include <QtPrintSupport/qtprintsupportglobal.h>
9#include <QtWidgets/qdialog.h>
34 PrintSelection = 0x0002,
35 PrintPageRange = 0x0004,
36 PrintShowPageSize = 0x0008,
37 PrintCollateCopies = 0x0010,
38 PrintCurrentPage = 0x0040
48 void setOptionTabs(
const QList<QWidget*> &tabs);
50 void setPrintRange(PrintRange
range);
51 PrintRange printRange()
const;
53 void setMinMax(
int min,
int max);
57 void setFromTo(
int fromPage,
int toPage);
The QAbstractPrintDialog class provides a base implementation for print dialogs used to configure pri...
PrintDialogOption
Used to specify which parts of the print dialog should be visible.
PrintRange
Used to specify the print range selection option.
The QDialog class is the base class of dialog windows.
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
static ControlElement< T > * ptr(QWidget *widget)
#define QT_REQUIRE_CONFIG(feature)