NAME
Qt::Gui::QPrintPreviewWidget
PUBLIC METHODS
- QPrintPreviewWidget(QWidget * parent, QFlags<Qt::WindowType> flags)
- QPrintPreviewWidget(QWidget * parent, QFlags<Qt::WindowType> flags = 0)
- QPrintPreviewWidget(QWidget * parent = 0, QFlags<Qt::WindowType> flags = 0)
- QPrintPreviewWidget(QPrinter * printer, QWidget * parent, QFlags<Qt::WindowType> flags)
- QPrintPreviewWidget(QPrinter * printer, QWidget * parent, QFlags<Qt::WindowType> flags = 0)
- QPrintPreviewWidget(QPrinter * printer, QWidget * parent = 0, QFlags<Qt::WindowType> flags = 0)
- ~QPrintPreviewWidget()
- int currentPage()
- void fitInView()
- void fitToWidth()
- int numPages()
- QPrinter::Orientation orientation()
- int pageCount()
- void print()
- void setAllPagesViewMode()
- void setCurrentPage(int pageNumber)
- void setFacingPagesViewMode()
- void setLandscapeOrientation()
- void setOrientation(QPrinter::Orientation orientation)
- void setPortraitOrientation()
- void setSinglePageViewMode()
- void setViewMode(QPrintPreviewWidget::ViewMode viewMode)
- void setVisible(bool visible)
- void setZoomFactor(qreal zoomFactor)
- void setZoomMode(QPrintPreviewWidget::ZoomMode zoomMode)
- void updatePreview()
- QPrintPreviewWidget::ViewMode viewMode()
- qreal zoomFactor()
- void zoomIn(qreal zoom)
- void zoomIn(qreal zoom = 1.1)
- QPrintPreviewWidget::ZoomMode zoomMode()
- void zoomOut(qreal zoom)
- void zoomOut(qreal zoom = 1.1)
ENUM VALUES
- SinglePageView
- FacingPagesView
- AllPagesView
- CustomZoom
- FitToWidth
- FitInView
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.