PySide6.QtPdfWidgets.QPdfView¶
- class QPdfView¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
document()
def
pageMode()
def
pageNavigator()
def
pageSpacing()
def
searchModel()
def
setDocument()
def
setPageSpacing()
def
setSearchModel()
def
zoomFactor()
def
zoomMode()
Slots¶
def
setPageMode()
def
setZoomFactor()
def
setZoomMode()
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:
- 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:
parent –
QWidget
- currentSearchResultIndex()¶
- Return type:
int
Getter of property
currentSearchResultIndexᅟ
.- currentSearchResultIndexChanged(currentResult)¶
- Parameters:
currentResult – int
Notification signal of property
currentSearchResultIndexᅟ
.- document()¶
- Return type:
Getter of property
documentᅟ
.- documentChanged(document)¶
- Parameters:
document –
QPdfDocument
Notification signal of property
documentᅟ
.Getter of property
documentMarginsᅟ
.Notification signal of property
documentMarginsᅟ
.Getter of property
pageModeᅟ
.Notification signal of property
pageModeᅟ
.- Return type:
- pageSpacing()¶
- Return type:
int
Getter of property
pageSpacingᅟ
.- pageSpacingChanged(pageSpacing)¶
- Parameters:
pageSpacing – int
Notification signal of property
pageSpacingᅟ
.- searchModel()¶
- Return type:
Getter of property
searchModelᅟ
.- searchModelChanged(searchModel)¶
- Parameters:
searchModel –
QPdfSearchModel
Notification signal of property
searchModelᅟ
.- setCurrentSearchResultIndex(currentResult)¶
- Parameters:
currentResult – int
Setter of property
currentSearchResultIndexᅟ
.- setDocument(document)¶
- Parameters:
document –
QPdfDocument
Setter of property
documentᅟ
.Setter of property
documentMarginsᅟ
.Setter of property
pageModeᅟ
.- setPageSpacing(spacing)¶
- Parameters:
spacing – int
Setter of property
pageSpacingᅟ
.- setSearchModel(searchModel)¶
- Parameters:
searchModel –
QPdfSearchModel
Setter of property
searchModelᅟ
.- setZoomFactor(factor)¶
- Parameters:
factor – float
Setter of property
zoomFactorᅟ
.Setter of property
zoomModeᅟ
.- zoomFactor()¶
- Return type:
float
Getter of property
zoomFactorᅟ
.- zoomFactorChanged(zoomFactor)¶
- Parameters:
zoomFactor – float
Notification signal of property
zoomFactorᅟ
.Getter of property
zoomModeᅟ
.Notification signal of property
zoomModeᅟ
.