class QPdfView

Inheritance diagram of PySide6.QtPdfWidgets.QPdfView

Synopsis

Properties

Methods

Slots

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class PageMode
class ZoomMode

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property currentSearchResultIndexᅟ: int
Access functions:
property documentᅟ: QPdfDocument
Access functions:
property documentMarginsᅟ: QMargins
Access functions:
property pageModeᅟ: QPdfView.PageMode
Access functions:
property pageSpacingᅟ: int
Access functions:
property searchModelᅟ: QPdfSearchModel
Access functions:
property zoomFactorᅟ: float
Access functions:
property zoomModeᅟ: QPdfView.ZoomMode
Access functions:
__init__()
__init__(parent)
Parameters:

parentQWidget

currentSearchResultIndex()
Return type:

int

Getter of property currentSearchResultIndexᅟ .

currentSearchResultIndexChanged(currentResult)
Parameters:

currentResult – int

Notification signal of property currentSearchResultIndexᅟ .

document()
Return type:

QPdfDocument

Getter of property documentᅟ .

documentChanged(document)
Parameters:

documentQPdfDocument

Notification signal of property documentᅟ .

documentMargins()
Return type:

QMargins

Getter of property documentMarginsᅟ .

documentMarginsChanged(documentMargins)
Parameters:

documentMarginsQMargins

Notification signal of property documentMarginsᅟ .

pageMode()
Return type:

PageMode

Getter of property pageModeᅟ .

pageModeChanged(pageMode)
Parameters:

pageModePageMode

Notification signal of property pageModeᅟ .

pageNavigator()
Return type:

QPdfPageNavigator

pageSpacing()
Return type:

int

Getter of property pageSpacingᅟ .

pageSpacingChanged(pageSpacing)
Parameters:

pageSpacing – int

Notification signal of property pageSpacingᅟ .

searchModel()
Return type:

QPdfSearchModel

Getter of property searchModelᅟ .

searchModelChanged(searchModel)
Parameters:

searchModelQPdfSearchModel

Notification signal of property searchModelᅟ .

setCurrentSearchResultIndex(currentResult)
Parameters:

currentResult – int

Setter of property currentSearchResultIndexᅟ .

setDocument(document)
Parameters:

documentQPdfDocument

Setter of property documentᅟ .

setDocumentMargins(margins)
Parameters:

marginsQMargins

Setter of property documentMarginsᅟ .

setPageMode(mode)
Parameters:

modePageMode

Setter of property pageModeᅟ .

setPageSpacing(spacing)
Parameters:

spacing – int

Setter of property pageSpacingᅟ .

setSearchModel(searchModel)
Parameters:

searchModelQPdfSearchModel

Setter of property searchModelᅟ .

setZoomFactor(factor)
Parameters:

factor – float

Setter of property zoomFactorᅟ .

setZoomMode(mode)
Parameters:

modeZoomMode

Setter of property zoomModeᅟ .

zoomFactor()
Return type:

float

Getter of property zoomFactorᅟ .

zoomFactorChanged(zoomFactor)
Parameters:

zoomFactor – float

Notification signal of property zoomFactorᅟ .

zoomMode()
Return type:

ZoomMode

Getter of property zoomModeᅟ .

zoomModeChanged(zoomMode)
Parameters:

zoomModeZoomMode

Notification signal of property zoomModeᅟ .