eric7.PdfViewer.PdfZoomSelector

Module implementing a widget to select a PDF zoom factor.

Global Attributes

None

Classes

PdfZoomSelector Class implementing a widget to select a PDF zoom factor.

Functions

None


PdfZoomSelector

Class implementing a widget to select a PDF zoom factor.

Signals

zoomFactorChanged(factor)
emitted to indicate the selected zoom factor
zoomModeChanged(zoomMode)
emitted to indicate the selected zoom mode

Derived from

QComboBox

Class Attributes

ZoomValues

Class Methods

None

Methods

PdfZoomSelector Constructor
__editingFinished Private slot handling the end of entering a zoom factor.
__processText Private slot to handle the change of the entered zoom factor.
reset Public slot to reset the zoom factor to 100%.
setZoomFactor Public slot to set the current zoom factor.
setZoomMode Public slot to set the zoom value iaw.

Static Methods

None

PdfZoomSelector (Constructor)

PdfZoomSelector(parent=None)

Constructor

parent (QWidget (optional))
reference to the parent widget (defaults to None)

PdfZoomSelector.__editingFinished

__editingFinished()

Private slot handling the end of entering a zoom factor.

PdfZoomSelector.__processText

__processText(text)

Private slot to handle the change of the entered zoom factor.

text (str)
text to be handled

PdfZoomSelector.reset

reset()

Public slot to reset the zoom factor to 100%.

PdfZoomSelector.setZoomFactor

setZoomFactor(zoomFactor)

Public slot to set the current zoom factor.

zoomFactor (float)
current zoom factor

PdfZoomSelector.setZoomMode

setZoomMode(zoomMode)

Public slot to set the zoom value iaw. the zoom mode.

zoomMode (QPdfView.ZoomMode)
current zoom mode
Up