retype.ui.book_view.BookDisplay

class retype.ui.book_view.BookDisplay(font_family, font_size=12, parent=None)[source]
__init__(font_family, font_size=12, parent=None)[source]

Methods

__init__(font_family[, font_size, parent])

acceptDrops(self)

acceptRichText(self)

accessibleDescription(self)

accessibleName(self)

actionEvent(self, a0)

actions(self)

activateWindow(self)

addAction(self, action)

addActions(self, actions)

addScrollBarWidget(self, widget, alignment)

adjustSize(self)

alignment(self)

anchorAt(self, pos)

append(self, text)

autoFillBackground(self)

autoFormatting(self)

backgroundRole(self)

backward(self)

backwardHistoryCount(self)

baseSize(self)

blockSignals(self, b)

canInsertFromMimeData(self, source)

canPaste(self)

centreAroundCursor()

changeEvent(self, e)

childAt(-> QWidget)

childEvent(self, a0)

children(self)

childrenRect(self)

childrenRegion(self)

clear(self)

clearFocus(self)

clearHistory(self)

clearMask(self)

close(self)

closeEvent(self, a0)

colorCount(self)

connectNotify(self, signal)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, e)

contextMenuPolicy(self)

copy(self)

cornerWidget(self)

create(self[, window, initializeWindow, ...])

createMimeDataFromSelection(self)

createStandardContextMenu(-> QMenu)

createWindowContainer(window[, parent, flags])

currentCharFormat(self)

currentFont(self)

cursor(self)

cursorForPosition(self, pos)

cursorRect(-> QRect)

cursorWidth(self)

customEvent(self, a0)

cut(self)

deleteLater(self)

depth(self)

destroy(self[, destroyWindow, destroySubWindows])

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

disconnect(-> bool)

disconnectNotify(self, signal)

doSetSource(self, name[, type])

document(self)

documentTitle(self)

dragEnterEvent(self, e)

dragLeaveEvent(self, e)

dragMoveEvent(self, e)

drawFrame(self, a0)

dropEvent(self, e)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

effectiveWinId(self)

ensureCursorVisible(self)

ensurePolished(self)

enterEvent(self, a0)

event(self, e)

eventFilter(self, a0, a1)

extraSelections(self)

find() -> bool ) -> bool ))

findChild(-> QObject)

findChildren(...)

focusInEvent(self, e)

focusNextChild(self)

focusNextPrevChild(self, next)

focusOutEvent(self, ev)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontFamily(self)

fontInfo(self)

fontItalic(self)

fontMetrics(self)

fontPointSize(self)

fontUnderline(self)

fontWeight(self)

foregroundRole(self)

forward(self)

forwardHistoryCount(self)

frameGeometry(self)

frameRect(self)

frameShadow(self)

frameShape(self)

frameSize(self)

frameStyle(self)

frameWidth(self)

geometry(self)

getContentsMargins(self)

grab(self[, rectangle])

grabGesture(self, type[, flags])

grabKeyboard(self)

grabMouse()

grabShortcut(self, key[, context])

graphicsEffect(self)

graphicsProxyWidget(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

height(self)

heightForWidth(self, a0)

heightMM(self)

hide(self)

hideEvent(self, a0)

historyTitle(self, a0)

historyUrl(self, a0)

home(self)

horizontalScrollBar(self)

horizontalScrollBarPolicy(self)

inherits(self, classname)

initPainter(self, painter)

initStyleOption(self, option)

inputMethodEvent(self, a0)

inputMethodHints(self)

inputMethodQuery(-> Any)

insertAction(self, before, action)

insertActions(self, before, actions)

insertFromMimeData(self, source)

insertHtml(self, text)

insertPlainText(self, text)

installEventFilter(self, a0)

isActiveWindow(self)

isAncestorOf(self, child)

isBackwardAvailable(self)

isEnabled(self)

isEnabledTo(self, a0)

isForwardAvailable(self)

isFullScreen(self)

isHidden(self)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isReadOnly(self)

isRightToLeft(self)

isSignalConnected(self, signal)

isUndoRedoEnabled(self)

isVisible(self)

isVisibleTo(self, a0)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

keyPressEvent(self, ev)

keyReleaseEvent(self, e)

keyboardGrabber()

killTimer(self, id)

layout(self)

layoutDirection(self)

leaveEvent(self, a0)

lineWidth(self)

lineWrapColumnOrWidth(self)

lineWrapMode(self)

loadResource(self, type, name)

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

mapFrom(self, a0, a1)

mapFromGlobal(self, a0)

mapFromParent(self, a0)

mapTo(self, a0, a1)

mapToGlobal(self, a0)

mapToParent(self, a0)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumViewportSize(self)

maximumWidth(self)

mergeCurrentCharFormat(self, modifier)

metaObject(self)

metric(self, a0)

midLineWidth(self)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

mouseDoubleClickEvent(self, e)

mouseGrabber()

mouseMoveEvent(self, ev)

mousePressEvent(self, ev)

mouseReleaseEvent(self, ev)

move()

moveCursor(self, operation[, mode])

moveEvent(self, a0)

moveToThread(self, thread)

nativeEvent(self, eventType, message)

nativeParentWidget(self)

nextInFocusChain(self)

normalGeometry(self)

objectName(self)

openExternalLinks(self)

openLinks(self)

overrideWindowFlags(self, type)

overrideWindowState(self, state)

overwriteMode(self)

paintEngine(self)

paintEvent(self, e)

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

paste(self)

physicalDpiX(self)

physicalDpiY(self)

placeholderText(self)

pos(self)

previousInFocusChain(self)

print(self, printer)

print_(self, printer)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

raise_(self)

receivers(self, signal)

rect(self)

redo(self)

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, id)

reload(self)

removeAction(self, action)

removeEventFilter(self, a0)

render(, sourceRegion, flags, ...)

repaint(-> None  -> None)

resize()

resizeEvent(self, a0)

restoreGeometry(self, geometry)

saveGeometry(self)

screen(self)

scroll()

scrollBarWidgets(self, alignment)

scrollContentsBy(self, dx, dy)

scrollToAnchor(self, name)

searchPaths(self)

selectAll(self)

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, on)

setAcceptRichText(self, accept)

setAccessibleDescription(self, description)

setAccessibleName(self, name)

setAlignment(self, a)

setAttribute(self, attribute[, on])

setAutoFillBackground(self, enabled)

setAutoFormatting(self, features)

setBackgroundRole(self, a0)

setBaseSize()

setContentsMargins()

setContextMenuPolicy(self, policy)

setCornerWidget(self, widget)

setCurrentCharFormat(self, format)

setCurrentFont(self, f)

setCursor(self, a0)

setCursorWidth(self, width)

setDisabled(self, a0)

setDocument(self, document)

setDocumentTitle(self, title)

setEnabled(self, a0)

setExtraSelections(self, selections)

setFixedHeight(self, h)

setFixedSize()

setFixedWidth(self, w)

setFocus()

setFocusPolicy(self, policy)

setFocusProxy(self, a0)

setFont(self, a0)

setFontFamily(self, fontFamily)

setFontItalic(self, b)

setFontPointSize(self, s)

setFontUnderline(self, b)

setFontWeight(self, w)

setForegroundRole(self, a0)

setFrameRect(self, a0)

setFrameShadow(self, a0)

setFrameShape(self, a0)

setFrameStyle(self, a0)

setGeometry()

setGraphicsEffect(self, effect)

setHidden(self, hidden)

setHorizontalScrollBar(self, scrollbar)

setHorizontalScrollBarPolicy(self, a0)

setHtml(self, text)

setInputMethodHints(self, hints)

setLayout(self, a0)

setLayoutDirection(self, direction)

setLineWidth(self, a0)

setLineWrapColumnOrWidth(self, w)

setLineWrapMode(self, mode)

setLocale(self, locale)

setMarkdown(self, markdown)

setMask()

setMaximumHeight(self, maxh)

setMaximumSize()

setMaximumWidth(self, maxw)

setMidLineWidth(self, a0)

setMinimumHeight(self, minh)

setMinimumSize()

setMinimumWidth(self, minw)

setMouseTracking(self, enable)

setObjectName(self, name)

setOpenExternalLinks(self, open)

setOpenLinks(self, open)

setOverwriteMode(self, overwrite)

setPalette(self, a0)

setParent()

setPlaceholderText(self, placeholderText)

setPlainText(self, text)

setProperty(self, name, value)

setReadOnly(self, ro)

setSearchPaths(self, paths)

setShortcutAutoRepeat(self, id[, enabled])

setShortcutEnabled(self, id[, enabled])

setSizeAdjustPolicy(self, policy)

setSizeIncrement()

setSizePolicy()

setSource()

setStatusTip(self, a0)

setStyle(self, a0)

setStyleSheet(self, styleSheet)

setTabChangesFocus(self, b)

setTabOrder(a0, a1)

setTabStopDistance(self, distance)

setTabStopWidth(self, width)

setTabletTracking(self, enable)

setText(self, text)

setTextBackgroundColor(self, c)

setTextColor(self, c)

setTextCursor(self, cursor)

setTextInteractionFlags(self, flags)

setToolTip(self, a0)

setToolTipDuration(self, msec)

setUndoRedoEnabled(self, enable)

setUpdatesEnabled(self, enable)

setVerticalScrollBar(self, scrollbar)

setVerticalScrollBarPolicy(self, a0)

setViewport(self, widget)

setViewportMargins()

setVisible(self, visible)

setWhatsThis(self, a0)

setWindowFilePath(self, filePath)

setWindowFlag(self, a0[, on])

setWindowFlags(self, type)

setWindowIcon(self, icon)

setWindowIconText(self, a0)

setWindowModality(self, windowModality)

setWindowModified(self, a0)

setWindowOpacity(self, level)

setWindowRole(self, a0)

setWindowState(self, state)

setWindowTitle(self, a0)

setWordWrapMode(self, policy)

setupViewport(self, viewport)

sharedPainter(self)

show(self)

showEvent(self, a0)

showFullScreen(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

signalsBlocked(self)

size(self)

sizeAdjustPolicy(self)

sizeHint(self)

sizeIncrement(self)

sizePolicy(self)

source(self)

sourceType(self)

stackUnder(self, a0)

startTimer(self, interval[, timerType])

statusTip(self)

style(self)

styleSheet(self)

tabChangesFocus(self)

tabStopDistance(self)

tabStopWidth(self)

tabletEvent(self, a0)

testAttribute(self, attribute)

textBackgroundColor(self)

textColor(self)

textCursor(self)

textInteractionFlags(self)

thread(self)

timerEvent(self, e)

toHtml(self)

toMarkdown(self[, features])

toPlainText(self)

toolTip(self)

toolTipDuration(self)

tr(self, sourceText[, disambiguation, n])

underMouse(self)

undo(self)

ungrabGesture(self, type)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update(-> None  -> None)

updateFont()

updateGeometry(self)

updateMicroFocus(self)

updatesEnabled(self)

verticalScrollBar(self)

verticalScrollBarPolicy(self)

viewport(self)

viewportEvent(self, a0)

viewportMargins(self)

viewportSizeHint(self)

visibleRegion(self)

whatsThis(self)

wheelEvent(self, e)

width(self)

widthMM(self)

winId(self)

window(self)

windowFilePath(self)

windowFlags(self)

windowHandle(self)

windowIcon(self)

windowIconText(self)

windowModality(self)

windowOpacity(self)

windowRole(self)

windowState(self)

windowTitle(self)

windowType(self)

wordWrapMode(self)

x(self)

y(self)

zoomIn(self[, range])

zoomOut(self[, range])

Attributes

AdjustIgnored

AdjustToContents

AdjustToContentsOnFirstShow

AutoAll

AutoBulletList

AutoNone

Box

DrawChildren

DrawWindowBackground

FixedColumnWidth

FixedPixelWidth

HLine

IgnoreMask

NoFrame

NoWrap

Panel

PdmDepth

PdmDevicePixelRatio

PdmDevicePixelRatioScaled

PdmDpiX

PdmDpiY

PdmHeight

PdmHeightMM

PdmNumColors

PdmPhysicalDpiX

PdmPhysicalDpiY

PdmWidth

PdmWidthMM

Plain

Raised

Shadow_Mask

Shape_Mask

StyledPanel

Sunken

VLine

WidgetWidth

WinPanel

anchorClicked

anchorClicked(self, a0: QUrl) [signal]

backwardAvailable

backwardAvailable(self, a0: bool) [signal]

copyAvailable

copyAvailable(self, b: bool) [signal]

currentCharFormatChanged

currentCharFormatChanged(self, format: QTextCharFormat) [signal]

cursorPositionChanged

cursorPositionChanged(self) [signal]

customContextMenuRequested

customContextMenuRequested(self, pos: QPoint) [signal]

destroyed

destroyed(self, object: typing.Optional[QObject] = None) [signal]

font_family

font_size

forwardAvailable

forwardAvailable(self, a0: bool) [signal]

highlighted

highlighted(self, a0: QUrl) [signal] highlighted(self, a0: str) [signal]

historyChanged

historyChanged(self) [signal]

keyPressed

objectNameChanged

objectNameChanged(self, objectName: str) [signal]

redoAvailable

redoAvailable(self, b: bool) [signal]

selectionChanged

selectionChanged(self) [signal]

sourceChanged

sourceChanged(self, a0: QUrl) [signal]

staticMetaObject

textChanged

textChanged(self) [signal]

undoAvailable

undoAvailable(self, b: bool) [signal]

windowIconChanged

windowIconChanged(self, icon: QIcon) [signal]

windowIconTextChanged

windowIconTextChanged(self, iconText: str) [signal]

windowTitleChanged

windowTitleChanged(self, title: str) [signal]