Home · All Classes · Modules

QPrintPreviewWidget Class Reference
[QtGui module]

Inherits QWidget.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QPrintPreviewWidget.ViewMode

QPrintPreviewWidget.ZoomMode


Method Documentation

QPrintPreviewWidget.__init__ (self, QPrinter, QWidget parent = None, Qt.WindowFlags flags = 0)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QPrintPreviewWidget.__init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

int QPrintPreviewWidget.currentPage (self)

QPrintPreviewWidget.fitInView (self)

This method is also a Qt slot with the C++ signature void fitInView().

QPrintPreviewWidget.fitToWidth (self)

This method is also a Qt slot with the C++ signature void fitToWidth().

int QPrintPreviewWidget.numPages (self)

QPrinter.Orientation QPrintPreviewWidget.orientation (self)

int QPrintPreviewWidget.pageCount (self)

QPrintPreviewWidget.print_ (self)

This method is also a Qt slot with the C++ signature void print().

QPrintPreviewWidget.setAllPagesViewMode (self)

This method is also a Qt slot with the C++ signature void setAllPagesViewMode().

QPrintPreviewWidget.setCurrentPage (self, int)

This method is also a Qt slot with the C++ signature void setCurrentPage(int).

QPrintPreviewWidget.setFacingPagesViewMode (self)

This method is also a Qt slot with the C++ signature void setFacingPagesViewMode().

QPrintPreviewWidget.setLandscapeOrientation (self)

This method is also a Qt slot with the C++ signature void setLandscapeOrientation().

QPrintPreviewWidget.setOrientation (self, QPrinter.Orientation)

This method is also a Qt slot with the C++ signature void setOrientation(QPrinter::Orientation).

QPrintPreviewWidget.setPortraitOrientation (self)

This method is also a Qt slot with the C++ signature void setPortraitOrientation().

QPrintPreviewWidget.setSinglePageViewMode (self)

This method is also a Qt slot with the C++ signature void setSinglePageViewMode().

QPrintPreviewWidget.setViewMode (self, ViewMode)

This method is also a Qt slot with the C++ signature void setViewMode(QPrintPreviewWidget::ViewMode).

QPrintPreviewWidget.setVisible (self, bool)

This method is also a Qt slot with the C++ signature void setVisible(bool).

QPrintPreviewWidget.setZoomFactor (self, float)

This method is also a Qt slot with the C++ signature void setZoomFactor(qreal).

QPrintPreviewWidget.setZoomMode (self, ZoomMode)

This method is also a Qt slot with the C++ signature void setZoomMode(QPrintPreviewWidget::ZoomMode).

QPrintPreviewWidget.updatePreview (self)

This method is also a Qt slot with the C++ signature void updatePreview().

ViewMode QPrintPreviewWidget.viewMode (self)

float QPrintPreviewWidget.zoomFactor (self)

QPrintPreviewWidget.zoomIn (self, float factor = 1.1)

This method is also a Qt slot with the C++ signature void zoomIn(qreal = 1.1).

ZoomMode QPrintPreviewWidget.zoomMode (self)

QPrintPreviewWidget.zoomOut (self, float factor = 1.1)

This method is also a Qt slot with the C++ signature void zoomOut(qreal = 1.1).


Qt Signal Documentation

void paintRequested (QPrinter *)

This is the default overload of this signal.

void previewChanged ()

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0