PythonQt.QtGui.QTextBrowser · declarations 001
Back to PythonQt.QtGui.QTextBrowser
AutoAll
instance-attribute
AutoAll: Any
AutoBulletList
instance-attribute
AutoBulletList: Any
AutoFormatting
instance-attribute
AutoFormatting: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
AutoFormattingFlag
instance-attribute
AutoFormattingFlag: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
AutoNone
instance-attribute
AutoNone: Any
FixedColumnWidth
instance-attribute
FixedColumnWidth: Any
FixedPixelWidth
instance-attribute
FixedPixelWidth: Any
acceptRichText
instance-attribute
acceptRichText: Any
anchorClicked
anchorClicked(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTextBrowser.anchorClicked; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextBrowser::anchorClicked(const QUrl \&link)
This signal is emitted when the user clicks an anchor. The URL referred to by the anchor is passed in link.
Note that the browser will automatically handle navigation to the location specified by link unless the openLinks property is set to false or you call setSource() in a slot connected. This mechanism is used to override the default navigation features of the browser.
Source: https://doc.qt.io/archives/qt-5.15/qtextbrowser.html#anchorClicked
append
append(text: Any) -> Any
X.append(text)
autoFormatting
instance-attribute
autoFormatting: Any
backward
backward() -> None
X.backward()
Supplemental documentation: Qt 5 reference:
[virtual slot] void QTextBrowser::backward()
Changes the document displayed to the previous document in the list of documents built by navigating links. Does nothing if there is no previous document.
See also forward() and backwardAvailable().
Upstream PySide2 reference signatures (binding differences may apply):
backward(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextbrowser.html#backward
backwardAvailable
backwardAvailable(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTextBrowser.backwardAvailable; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextBrowser::backwardAvailable(bool available)
This signal is emitted when the availability of backward() changes. available is false when the user is at home(); otherwise it is true.
Source: https://doc.qt.io/archives/qt-5.15/qtextbrowser.html#backwardAvailable
backwardHistoryCount
backwardHistoryCount() -> int
X.backwardHistoryCount() -> int
Supplemental documentation: Qt 5 reference:
int QTextBrowser::backwardHistoryCount() const
Returns the number of locations backward in the history.
This function was introduced in Qt 4.4.
Upstream PySide2 reference signatures (binding differences may apply):
backwardHistoryCount(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qtextbrowser.html#backwardHistoryCount
canInsertFromMimeData
canInsertFromMimeData(source: Any) -> bool
X.canInsertFromMimeData(source) -> bool
canPaste
canPaste() -> bool
X.canPaste() -> bool
clearHistory
clearHistory() -> None
X.clearHistory()
Supplemental documentation: Qt 5 reference:
void QTextBrowser::clearHistory()
Clears the history of visited documents and disables the forward and backward navigation.
This function was introduced in Qt 4.2.
See also backward() and forward().
Upstream PySide2 reference signatures (binding differences may apply):
clearHistory(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextbrowser.html#clearHistory
copy
copy() -> Any
X.copy()
copyAvailable
copyAvailable(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTextBrowser.copyAvailable; argument details are not documented.
createMimeDataFromSelection
createMimeDataFromSelection() -> Any
X.createMimeDataFromSelection() -> PythonQt.QtCore.QMimeData
createStandardContextMenu
createStandardContextMenu(position: Any) -> Any
X.createStandardContextMenu(position) -> PythonQt.QtGui.QMenu
currentCharFormat
currentCharFormat() -> Any
X.currentCharFormat() -> PythonQt.QtGui.QTextCharFormat
currentCharFormatChanged
currentCharFormatChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTextBrowser.currentCharFormatChanged; argument details are not documented.
currentFont
currentFont() -> Any
X.currentFont() -> PythonQt.QtGui.QFont
cursorForPosition
cursorForPosition(pos: Any) -> Any
X.cursorForPosition(pos) -> PythonQt.QtGui.QTextCursor
cursorPositionChanged
cursorPositionChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTextBrowser.cursorPositionChanged; argument details are not documented.
cursorRect
cursorRect(cursor: Any) -> Any
X.cursorRect(cursor) -> PythonQt.QtCore.QRect
cursorWidth
instance-attribute
cursorWidth: Any
customContextMenuRequested
customContextMenuRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTextBrowser.customContextMenuRequested; argument details are not documented.
cut
cut() -> Any
X.cut()
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTextBrowser.destroyed; argument details are not documented.
doSetTextCursor
doSetTextCursor(cursor: Any) -> Any
X.doSetTextCursor(cursor)
documentTitle
instance-attribute
documentTitle: Any
dragEnterEvent
dragEnterEvent(e: Any) -> Any
X.dragEnterEvent(e)
dropEvent
dropEvent(e: Any) -> Any
X.dropEvent(e)
ensureCursorVisible
ensureCursorVisible() -> Any
X.ensureCursorVisible()
event
event(e: Any) -> bool
X.event(e) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual protected] bool QTextBrowser::event(QEvent *e)
Reimplements: QAbstractScrollArea::event(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
event(self, e: PySide2.QtCore.QEvent) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qtextbrowser.html#event
extraSelections
extraSelections() -> tuple
X.extraSelections() -> tuple
find
find(exp: Any, options: Any) -> bool
X.find(exp, options) -> bool