QtGui/qprintpreviewwidget.h Source File
Go to the documentation of this file.
42 #ifndef QPRINTPREVIEWWIDGET_H
43 #define QPRINTPREVIEWWIDGET_H
48 #ifndef QT_NO_PRINTPREVIEWWIDGET
56 class QPrintPreviewWidgetPrivate;
80 qreal zoomFactor()
const;
82 ViewMode viewMode()
const;
83 ZoomMode zoomMode()
const;
84 int currentPage()
const;
86 QT_DEPRECATED
int numPages()
const;
88 int pageCount()
const;
89 void setVisible(
bool visible);
94 void zoomIn(qreal zoom = 1.1);
95 void zoomOut(qreal zoom = 1.1);
96 void setZoomFactor(qreal zoomFactor);
98 void setViewMode(ViewMode viewMode);
99 void setZoomMode(ZoomMode zoomMode);
100 void setCurrentPage(
int pageNumber);
104 void setLandscapeOrientation();
105 void setPortraitOrientation();
106 void setSinglePageViewMode();
107 void setFacingPagesViewMode();
108 void setAllPagesViewMode();
110 void updatePreview();
113 void paintRequested(
QPrinter *printer);
114 void previewChanged();
126 #endif // QT_NO_PRINTPREVIEWWIDGET
127 #endif // QPRINTPREVIEWWIDGET_H
#define Q_PRIVATE_SLOT(d, signature)
#define QT_BEGIN_NAMESPACE