KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QTextBrowser

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QTextBrowser

Class hierarchy: QTextBrowser » QTextEdit » QAbstractScrollArea » QFrame » QWidget » QObject

Public constructors

new QTextBrowsernew(QWidget ptr parent = nullptr)Constructor QTextBrowser::QTextBrowser(QWidget *parent)

Public methods

[const]QTextBrowser ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidanchorClicked(const QUrl arg1)Signal declaration for QTextBrowser::anchorClicked(const QUrl &)
voidbackwardVirtual method void QTextBrowser::backward()
[signal]voidbackwardAvailable(bool arg1)Signal declaration for QTextBrowser::backwardAvailable(bool)
[const]intbackwardHistoryCountMethod int QTextBrowser::backwardHistoryCount()
voidclearHistoryMethod void QTextBrowser::clearHistory()
[signal]voidcopyAvailable(bool b)Signal declaration for QTextBrowser::copyAvailable(bool b)
[signal]voidcurrentCharFormatChanged(const QTextCharFormat format)Signal declaration for QTextBrowser::currentCharFormatChanged(const QTextCharFormat &format)
[signal]voidcursorPositionChangedSignal declaration for QTextBrowser::cursorPositionChanged()
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QTextBrowser::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QTextBrowser::destroyed(QObject *)
voidemit_anchorClicked(const QUrl arg1)Emitter for signal void QTextBrowser::anchorClicked(const QUrl &)
voidemit_backwardAvailable(bool arg1)Emitter for signal void QTextBrowser::backwardAvailable(bool)
voidemit_copyAvailable(bool b)Emitter for signal void QTextBrowser::copyAvailable(bool b)
voidemit_currentCharFormatChanged(const QTextCharFormat format)Emitter for signal void QTextBrowser::currentCharFormatChanged(const QTextCharFormat &format)
voidemit_cursorPositionChangedEmitter for signal void QTextBrowser::cursorPositionChanged()
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QTextBrowser::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QTextBrowser::destroyed(QObject *)
voidemit_forwardAvailable(bool arg1)Emitter for signal void QTextBrowser::forwardAvailable(bool)
voidemit_highlighted(const QUrl arg1)Emitter for signal void QTextBrowser::highlighted(const QUrl &)
voidemit_highlighted_qs(string arg1)Emitter for signal void QTextBrowser::highlighted(const QString &)
voidemit_historyChangedEmitter for signal void QTextBrowser::historyChanged()
voidemit_objectNameChanged(string objectName)Emitter for signal void QTextBrowser::objectNameChanged(const QString &objectName)
voidemit_redoAvailable(bool b)Emitter for signal void QTextBrowser::redoAvailable(bool b)
voidemit_selectionChangedEmitter for signal void QTextBrowser::selectionChanged()
voidemit_sourceChanged(const QUrl arg1)Emitter for signal void QTextBrowser::sourceChanged(const QUrl &)
voidemit_textChangedEmitter for signal void QTextBrowser::textChanged()
voidemit_undoAvailable(bool b)Emitter for signal void QTextBrowser::undoAvailable(bool b)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QTextBrowser::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QTextBrowser::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QTextBrowser::windowTitleChanged(const QString &title)
voidforwardVirtual method void QTextBrowser::forward()
[signal]voidforwardAvailable(bool arg1)Signal declaration for QTextBrowser::forwardAvailable(bool)
[const]intforwardHistoryCountMethod int QTextBrowser::forwardHistoryCount()
[const]boolhasHeightForWidthVirtual method bool QTextBrowser::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QTextBrowser::heightForWidth(int)
[signal]voidhighlighted(const QUrl arg1)Signal declaration for QTextBrowser::highlighted(const QUrl &)
[signal]voidhighlighted_qs(string arg1)Signal declaration for QTextBrowser::highlighted(const QString &)
[signal]voidhistoryChangedSignal declaration for QTextBrowser::historyChanged()
[const]stringhistoryTitle(int arg1)Method QString QTextBrowser::historyTitle(int)
[const]QUrlhistoryUrl(int arg1)Method QUrl QTextBrowser::historyUrl(int)
voidhomeVirtual method void QTextBrowser::home()
[const]variantinputMethodQuery(const Qt_InputMethodQuery property)Virtual method QVariant QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property)
[const]boolisBackwardAvailable?Method bool QTextBrowser::isBackwardAvailable()
[const]boolisForwardAvailable?Method bool QTextBrowser::isForwardAvailable()
variantloadResource(int type,
const QUrl name)
Virtual method QVariant QTextBrowser::loadResource(int type, const QUrl &name)
[const]QSizeminimumSizeHintVirtual method QSize QTextBrowser::minimumSizeHint()
[signal]voidobjectNameChanged(string objectName)Signal declaration for QTextBrowser::objectNameChanged(const QString &objectName)
[const]boolopenExternalLinksMethod bool QTextBrowser::openExternalLinks()
voidopenExternalLinks=(bool open)Method void QTextBrowser::setOpenExternalLinks(bool open)
[const]boolopenLinksMethod bool QTextBrowser::openLinks()
voidopenLinks=(bool open)Method void QTextBrowser::setOpenLinks(bool open)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QTextBrowser::paintEngine()
[signal]voidredoAvailable(bool b)Signal declaration for QTextBrowser::redoAvailable(bool b)
voidreloadVirtual method void QTextBrowser::reload()
[const]string[]searchPathsMethod QStringList QTextBrowser::searchPaths()
voidsearchPaths=(string[] paths)Method void QTextBrowser::setSearchPaths(const QStringList &paths)
[signal]voidselectionChangedSignal declaration for QTextBrowser::selectionChanged()
voidsetOpenExternalLinks(bool open)Method void QTextBrowser::setOpenExternalLinks(bool open)
voidsetOpenLinks(bool open)Method void QTextBrowser::setOpenLinks(bool open)
voidsetSearchPaths(string[] paths)Method void QTextBrowser::setSearchPaths(const QStringList &paths)
voidsetSource(const QUrl name)Virtual method void QTextBrowser::setSource(const QUrl &name)
voidsetVisible(bool visible)Virtual method void QTextBrowser::setVisible(bool visible)
voidsetupViewport(QWidget ptr viewport)Virtual method void QTextBrowser::setupViewport(QWidget *viewport)
[const]QSizesizeHintVirtual method QSize QTextBrowser::sizeHint()
[const]QUrlsourceMethod QUrl QTextBrowser::source()
voidsource=(const QUrl name)Method void QTextBrowser::setSource(const QUrl &name)
[signal]voidsourceChanged(const QUrl arg1)Signal declaration for QTextBrowser::sourceChanged(const QUrl &)
[signal]voidtextChangedSignal declaration for QTextBrowser::textChanged()
[signal]voidundoAvailable(bool b)Signal declaration for QTextBrowser::undoAvailable(bool b)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QTextBrowser::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QTextBrowser::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QTextBrowser::windowTitleChanged(const QString &title)

Public static methods and constants

QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QTextBrowser::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QTextBrowser::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QTextBrowser::actionEvent(QActionEvent *event)
[const]boolcanInsertFromMimeData(const QMimeData ptr source)Virtual method bool QTextBrowser::canInsertFromMimeData(const QMimeData *source)
voidchangeEvent(QEvent ptr e)Virtual method void QTextBrowser::changeEvent(QEvent *e)
voidchildEvent(QChildEvent ptr event)Virtual method void QTextBrowser::childEvent(QChildEvent *event)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QTextBrowser::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QContextMenuEvent ptr e)Virtual method void QTextBrowser::contextMenuEvent(QContextMenuEvent *e)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTextBrowser::create(WId, bool initializeWindow, bool destroyOldWindow)
[const]QMimeData ptrcreateMimeDataFromSelectionVirtual method QMimeData *QTextBrowser::createMimeDataFromSelection()
voidcustomEvent(QEvent ptr event)Virtual method void QTextBrowser::customEvent(QEvent *event)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTextBrowser::destroy(bool destroyWindow, bool destroySubWindows)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QTextBrowser::disconnectNotify(const QMetaMethod &signal)
voiddoSetTextCursor(const QTextCursor cursor)Virtual method void QTextBrowser::doSetTextCursor(const QTextCursor &cursor)
voiddragEnterEvent(QDragEnterEvent ptr e)Virtual method void QTextBrowser::dragEnterEvent(QDragEnterEvent *e)
voiddragLeaveEvent(QDragLeaveEvent ptr e)Virtual method void QTextBrowser::dragLeaveEvent(QDragLeaveEvent *e)
voiddragMoveEvent(QDragMoveEvent ptr e)Virtual method void QTextBrowser::dragMoveEvent(QDragMoveEvent *e)
voiddrawFrame(QPainter ptr arg1)Method void QTextBrowser::drawFrame(QPainter *)
voiddropEvent(QDropEvent ptr e)Virtual method void QTextBrowser::dropEvent(QDropEvent *e)
voidenterEvent(QEvent ptr event)Virtual method void QTextBrowser::enterEvent(QEvent *event)
boolevent(QEvent ptr e)Virtual method bool QTextBrowser::event(QEvent *e)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QTextBrowser::eventFilter(QObject *, QEvent *)
voidfocusInEvent(QFocusEvent ptr e)Virtual method void QTextBrowser::focusInEvent(QFocusEvent *e)
boolfocusNextChildMethod bool QTextBrowser::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QTextBrowser::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr ev)Virtual method void QTextBrowser::focusOutEvent(QFocusEvent *ev)
boolfocusPreviousChildMethod bool QTextBrowser::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QTextBrowser::hideEvent(QHideEvent *event)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QTextBrowser::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionFrame ptr option)Method void QTextBrowser::initStyleOption(QStyleOptionFrame *option)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QTextBrowser::inputMethodEvent(QInputMethodEvent *)
voidinsertFromMimeData(const QMimeData ptr source)Virtual method void QTextBrowser::insertFromMimeData(const QMimeData *source)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QTextBrowser::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr ev)Virtual method void QTextBrowser::keyPressEvent(QKeyEvent *ev)
voidkeyReleaseEvent(QKeyEvent ptr e)Virtual method void QTextBrowser::keyReleaseEvent(QKeyEvent *e)
voidleaveEvent(QEvent ptr event)Virtual method void QTextBrowser::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QTextBrowser::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr e)Virtual method void QTextBrowser::mouseDoubleClickEvent(QMouseEvent *e)
voidmouseMoveEvent(QMouseEvent ptr ev)Virtual method void QTextBrowser::mouseMoveEvent(QMouseEvent *ev)
voidmousePressEvent(QMouseEvent ptr ev)Virtual method void QTextBrowser::mousePressEvent(QMouseEvent *ev)
voidmouseReleaseEvent(QMouseEvent ptr ev)Virtual method void QTextBrowser::mouseReleaseEvent(QMouseEvent *ev)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QTextBrowser::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QTextBrowser::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr e)Virtual method void QTextBrowser::paintEvent(QPaintEvent *e)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QTextBrowser::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QTextBrowser::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QTextBrowser::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QTextBrowser::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr e)Virtual method void QTextBrowser::resizeEvent(QResizeEvent *e)
voidscrollContentsBy(int dx,
int dy)
Virtual method void QTextBrowser::scrollContentsBy(int dx, int dy)
[const]QObject ptrsenderMethod QObject *QTextBrowser::sender()
[const]intsenderSignalIndexMethod int QTextBrowser::senderSignalIndex()
voidsetViewportMargins(int left,
int top,
int right,
int bottom)
Method void QTextBrowser::setViewportMargins(int left, int top, int right, int bottom)
voidsetViewportMargins(const QMargins margins)Method void QTextBrowser::setViewportMargins(const QMargins &margins)
[const]QPainter ptrsharedPainterVirtual method QPainter *QTextBrowser::sharedPainter()
voidshowEvent(QShowEvent ptr arg1)Virtual method void QTextBrowser::showEvent(QShowEvent *)
voidtabletEvent(QTabletEvent ptr event)Virtual method void QTextBrowser::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr e)Virtual method void QTextBrowser::timerEvent(QTimerEvent *e)
voidupdateMicroFocusMethod void QTextBrowser::updateMicroFocus()
boolviewportEvent(QEvent ptr arg1)Virtual method bool QTextBrowser::viewportEvent(QEvent *)
[const]QMarginsviewportMarginsMethod QMargins QTextBrowser::viewportMargins()
[const]QSizeviewportSizeHintVirtual method QSize QTextBrowser::viewportSizeHint()
voidwheelEvent(QWheelEvent ptr e)Virtual method void QTextBrowser::wheelEvent(QWheelEvent *e)
voidzoomInF(float range)Method void QTextBrowser::zoomInF(float range)

Detailed description

_const_cast

Signature: [const] QTextBrowser ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QTextBrowser::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

anchorClicked

Signature: [signal] void anchorClicked (const QUrl arg1)

Description: Signal declaration for QTextBrowser::anchorClicked(const QUrl &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'anchorClicked'. This is the getter.
The object exposes a writable attribute 'anchorClicked'. This is the setter.

backward

Signature: void backward

Description: Virtual method void QTextBrowser::backward()

This method can be reimplemented in a derived class.

backwardAvailable

Signature: [signal] void backwardAvailable (bool arg1)

Description: Signal declaration for QTextBrowser::backwardAvailable(bool)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'backwardAvailable'. This is the getter.
The object exposes a writable attribute 'backwardAvailable'. This is the setter.

backwardHistoryCount

Signature: [const] int backwardHistoryCount

Description: Method int QTextBrowser::backwardHistoryCount()

canInsertFromMimeData

Signature: [const] bool canInsertFromMimeData (const QMimeData ptr source)

Description: Virtual method bool QTextBrowser::canInsertFromMimeData(const QMimeData *source)

This method can be reimplemented in a derived class.

changeEvent

Signature: void changeEvent (QEvent ptr e)

Description: Virtual method void QTextBrowser::changeEvent(QEvent *e)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QTextBrowser::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clearHistory

Signature: void clearHistory

Description: Method void QTextBrowser::clearHistory()

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QTextBrowser::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr e)

Description: Virtual method void QTextBrowser::contextMenuEvent(QContextMenuEvent *e)

This method can be reimplemented in a derived class.

copyAvailable

Signature: [signal] void copyAvailable (bool b)

Description: Signal declaration for QTextBrowser::copyAvailable(bool b)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'copyAvailable'. This is the getter.
The object exposes a writable attribute 'copyAvailable'. This is the setter.

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTextBrowser::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

createMimeDataFromSelection

Signature: [const] QMimeData ptr createMimeDataFromSelection

Description: Virtual method QMimeData *QTextBrowser::createMimeDataFromSelection()

This method can be reimplemented in a derived class.

currentCharFormatChanged

Signature: [signal] void currentCharFormatChanged (const QTextCharFormat format)

Description: Signal declaration for QTextBrowser::currentCharFormatChanged(const QTextCharFormat &format)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'currentCharFormatChanged'. This is the getter.
The object exposes a writable attribute 'currentCharFormatChanged'. This is the setter.

cursorPositionChanged

Signature: [signal] void cursorPositionChanged

Description: Signal declaration for QTextBrowser::cursorPositionChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'cursorPositionChanged'. This is the getter.
The object exposes a writable attribute 'cursorPositionChanged'. This is the setter.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QTextBrowser::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QTextBrowser::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTextBrowser::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QTextBrowser::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QTextBrowser::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doSetTextCursor

Signature: void doSetTextCursor (const QTextCursor cursor)

Description: Virtual method void QTextBrowser::doSetTextCursor(const QTextCursor &cursor)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr e)

Description: Virtual method void QTextBrowser::dragEnterEvent(QDragEnterEvent *e)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr e)

Description: Virtual method void QTextBrowser::dragLeaveEvent(QDragLeaveEvent *e)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr e)

Description: Virtual method void QTextBrowser::dragMoveEvent(QDragMoveEvent *e)

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

Description: Method void QTextBrowser::drawFrame(QPainter *)

This method is protected and can only be called from inside a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr e)

Description: Virtual method void QTextBrowser::dropEvent(QDropEvent *e)

This method can be reimplemented in a derived class.

emit_anchorClicked

Signature: void emit_anchorClicked (const QUrl arg1)

Description: Emitter for signal void QTextBrowser::anchorClicked(const QUrl &)

Call this method to emit this signal.

emit_backwardAvailable

Signature: void emit_backwardAvailable (bool arg1)

Description: Emitter for signal void QTextBrowser::backwardAvailable(bool)

Call this method to emit this signal.

emit_copyAvailable

Signature: void emit_copyAvailable (bool b)

Description: Emitter for signal void QTextBrowser::copyAvailable(bool b)

Call this method to emit this signal.

emit_currentCharFormatChanged

Signature: void emit_currentCharFormatChanged (const QTextCharFormat format)

Description: Emitter for signal void QTextBrowser::currentCharFormatChanged(const QTextCharFormat &format)

Call this method to emit this signal.

emit_cursorPositionChanged

Signature: void emit_cursorPositionChanged

Description: Emitter for signal void QTextBrowser::cursorPositionChanged()

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QTextBrowser::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QTextBrowser::destroyed(QObject *)

Call this method to emit this signal.

emit_forwardAvailable

Signature: void emit_forwardAvailable (bool arg1)

Description: Emitter for signal void QTextBrowser::forwardAvailable(bool)

Call this method to emit this signal.

emit_highlighted

Signature: void emit_highlighted (const QUrl arg1)

Description: Emitter for signal void QTextBrowser::highlighted(const QUrl &)

Call this method to emit this signal.

emit_highlighted_qs

Signature: void emit_highlighted_qs (string arg1)

Description: Emitter for signal void QTextBrowser::highlighted(const QString &)

Call this method to emit this signal.

emit_historyChanged

Signature: void emit_historyChanged

Description: Emitter for signal void QTextBrowser::historyChanged()

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QTextBrowser::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_redoAvailable

Signature: void emit_redoAvailable (bool b)

Description: Emitter for signal void QTextBrowser::redoAvailable(bool b)

Call this method to emit this signal.

emit_selectionChanged

Signature: void emit_selectionChanged

Description: Emitter for signal void QTextBrowser::selectionChanged()

Call this method to emit this signal.

emit_sourceChanged

Signature: void emit_sourceChanged (const QUrl arg1)

Description: Emitter for signal void QTextBrowser::sourceChanged(const QUrl &)

Call this method to emit this signal.

emit_textChanged

Signature: void emit_textChanged

Description: Emitter for signal void QTextBrowser::textChanged()

Call this method to emit this signal.

emit_undoAvailable

Signature: void emit_undoAvailable (bool b)

Description: Emitter for signal void QTextBrowser::undoAvailable(bool b)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QTextBrowser::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QTextBrowser::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QTextBrowser::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QTextBrowser::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr e)

Description: Virtual method bool QTextBrowser::event(QEvent *e)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QTextBrowser::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr e)

Description: Virtual method void QTextBrowser::focusInEvent(QFocusEvent *e)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QTextBrowser::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QTextBrowser::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr ev)

Description: Virtual method void QTextBrowser::focusOutEvent(QFocusEvent *ev)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QTextBrowser::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

forward

Signature: void forward

Description: Virtual method void QTextBrowser::forward()

This method can be reimplemented in a derived class.

forwardAvailable

Signature: [signal] void forwardAvailable (bool arg1)

Description: Signal declaration for QTextBrowser::forwardAvailable(bool)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'forwardAvailable'. This is the getter.
The object exposes a writable attribute 'forwardAvailable'. This is the setter.

forwardHistoryCount

Signature: [const] int forwardHistoryCount

Description: Method int QTextBrowser::forwardHistoryCount()

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QTextBrowser::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QTextBrowser::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QTextBrowser::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

highlighted

Signature: [signal] void highlighted (const QUrl arg1)

Description: Signal declaration for QTextBrowser::highlighted(const QUrl &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'highlighted'. This is the getter.
The object exposes a writable attribute 'highlighted'. This is the setter.

highlighted_qs

Signature: [signal] void highlighted_qs (string arg1)

Description: Signal declaration for QTextBrowser::highlighted(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'highlighted_qs'. This is the getter.
The object exposes a writable attribute 'highlighted_qs'. This is the setter.

historyChanged

Signature: [signal] void historyChanged

Description: Signal declaration for QTextBrowser::historyChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'historyChanged'. This is the getter.
The object exposes a writable attribute 'historyChanged'. This is the setter.

historyTitle

Signature: [const] string historyTitle (int arg1)

Description: Method QString QTextBrowser::historyTitle(int)

historyUrl

Signature: [const] QUrl historyUrl (int arg1)

Description: Method QUrl QTextBrowser::historyUrl(int)

home

Signature: void home

Description: Virtual method void QTextBrowser::home()

This method can be reimplemented in a derived class.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QTextBrowser::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionFrame ptr option)

Description: Method void QTextBrowser::initStyleOption(QStyleOptionFrame *option)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QTextBrowser::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery property)

Description: Virtual method QVariant QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property)

This method can be reimplemented in a derived class.

insertFromMimeData

Signature: void insertFromMimeData (const QMimeData ptr source)

Description: Virtual method void QTextBrowser::insertFromMimeData(const QMimeData *source)

This method can be reimplemented in a derived class.

isBackwardAvailable?

Signature: [const] bool isBackwardAvailable?

Description: Method bool QTextBrowser::isBackwardAvailable()

isForwardAvailable?

Signature: [const] bool isForwardAvailable?

Description: Method bool QTextBrowser::isForwardAvailable()

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QTextBrowser::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr ev)

Description: Virtual method void QTextBrowser::keyPressEvent(QKeyEvent *ev)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr e)

Description: Virtual method void QTextBrowser::keyReleaseEvent(QKeyEvent *e)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QTextBrowser::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

loadResource

Signature: variant loadResource (int type, const QUrl name)

Description: Virtual method QVariant QTextBrowser::loadResource(int type, const QUrl &name)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QTextBrowser::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QTextBrowser::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr e)

Description: Virtual method void QTextBrowser::mouseDoubleClickEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr ev)

Description: Virtual method void QTextBrowser::mouseMoveEvent(QMouseEvent *ev)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr ev)

Description: Virtual method void QTextBrowser::mousePressEvent(QMouseEvent *ev)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr ev)

Description: Virtual method void QTextBrowser::mouseReleaseEvent(QMouseEvent *ev)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QTextBrowser::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QTextBrowser::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QTextBrowser new (QWidget ptr parent = nullptr)

Description: Constructor QTextBrowser::QTextBrowser(QWidget *parent)

This method creates an object of class QTextBrowser.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QTextBrowser::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

openExternalLinks

Signature: [const] bool openExternalLinks

Description: Method bool QTextBrowser::openExternalLinks()

Python specific notes:
The object exposes a readable attribute 'openExternalLinks'. This is the getter.

openExternalLinks=

Signature: void openExternalLinks= (bool open)

Description: Method void QTextBrowser::setOpenExternalLinks(bool open)

Python specific notes:
The object exposes a writable attribute 'openExternalLinks'. This is the setter.

openLinks

Signature: [const] bool openLinks

Description: Method bool QTextBrowser::openLinks()

Python specific notes:
The object exposes a readable attribute 'openLinks'. This is the getter.

openLinks=

Signature: void openLinks= (bool open)

Description: Method void QTextBrowser::setOpenLinks(bool open)

Python specific notes:
The object exposes a writable attribute 'openLinks'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QTextBrowser::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

Description: Virtual method void QTextBrowser::paintEvent(QPaintEvent *e)

This method can be reimplemented in a derived class.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QTextBrowser::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QTextBrowser::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QTextBrowser::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QTextBrowser::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

redoAvailable

Signature: [signal] void redoAvailable (bool b)

Description: Signal declaration for QTextBrowser::redoAvailable(bool b)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'redoAvailable'. This is the getter.
The object exposes a writable attribute 'redoAvailable'. This is the setter.

reload

Signature: void reload

Description: Virtual method void QTextBrowser::reload()

This method can be reimplemented in a derived class.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr e)

Description: Virtual method void QTextBrowser::resizeEvent(QResizeEvent *e)

This method can be reimplemented in a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

Description: Virtual method void QTextBrowser::scrollContentsBy(int dx, int dy)

This method can be reimplemented in a derived class.

searchPaths

Signature: [const] string[] searchPaths

Description: Method QStringList QTextBrowser::searchPaths()

Python specific notes:
The object exposes a readable attribute 'searchPaths'. This is the getter.

searchPaths=

Signature: void searchPaths= (string[] paths)

Description: Method void QTextBrowser::setSearchPaths(const QStringList &paths)

Python specific notes:
The object exposes a writable attribute 'searchPaths'. This is the setter.

selectionChanged

Signature: [signal] void selectionChanged

Description: Signal declaration for QTextBrowser::selectionChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'selectionChanged'. This is the getter.
The object exposes a writable attribute 'selectionChanged'. This is the setter.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QTextBrowser::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QTextBrowser::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setOpenExternalLinks

Signature: void setOpenExternalLinks (bool open)

Description: Method void QTextBrowser::setOpenExternalLinks(bool open)

Python specific notes:
The object exposes a writable attribute 'openExternalLinks'. This is the setter.

setOpenLinks

Signature: void setOpenLinks (bool open)

Description: Method void QTextBrowser::setOpenLinks(bool open)

Python specific notes:
The object exposes a writable attribute 'openLinks'. This is the setter.

setSearchPaths

Signature: void setSearchPaths (string[] paths)

Description: Method void QTextBrowser::setSearchPaths(const QStringList &paths)

Python specific notes:
The object exposes a writable attribute 'searchPaths'. This is the setter.

setSource

Signature: void setSource (const QUrl name)

Description: Virtual method void QTextBrowser::setSource(const QUrl &name)

This method can be reimplemented in a derived class.

setViewportMargins

(1) Signature: void setViewportMargins (int left, int top, int right, int bottom)

Description: Method void QTextBrowser::setViewportMargins(int left, int top, int right, int bottom)

This method is protected and can only be called from inside a derived class.

(2) Signature: void setViewportMargins (const QMargins margins)

Description: Method void QTextBrowser::setViewportMargins(const QMargins &margins)

This method is protected and can only be called from inside a derived class.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QTextBrowser::setVisible(bool visible)

This method can be reimplemented in a derived class.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

Description: Virtual method void QTextBrowser::setupViewport(QWidget *viewport)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QTextBrowser::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

Description: Virtual method void QTextBrowser::showEvent(QShowEvent *)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QTextBrowser::sizeHint()

This method can be reimplemented in a derived class.

source

Signature: [const] QUrl source

Description: Method QUrl QTextBrowser::source()

Python specific notes:
The object exposes a readable attribute 'source'. This is the getter.

source=

Signature: void source= (const QUrl name)

Description: Method void QTextBrowser::setSource(const QUrl &name)

Python specific notes:
The object exposes a writable attribute 'source'. This is the setter.

sourceChanged

Signature: [signal] void sourceChanged (const QUrl arg1)

Description: Signal declaration for QTextBrowser::sourceChanged(const QUrl &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'sourceChanged'. This is the getter.
The object exposes a writable attribute 'sourceChanged'. This is the setter.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QTextBrowser::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

textChanged

Signature: [signal] void textChanged

Description: Signal declaration for QTextBrowser::textChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'textChanged'. This is the getter.
The object exposes a writable attribute 'textChanged'. This is the setter.

timerEvent

Signature: void timerEvent (QTimerEvent ptr e)

Description: Virtual method void QTextBrowser::timerEvent(QTimerEvent *e)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QTextBrowser::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QTextBrowser::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

undoAvailable

Signature: [signal] void undoAvailable (bool b)

Description: Signal declaration for QTextBrowser::undoAvailable(bool b)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'undoAvailable'. This is the getter.
The object exposes a writable attribute 'undoAvailable'. This is the setter.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QTextBrowser::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

viewportEvent

Signature: bool viewportEvent (QEvent ptr arg1)

Description: Virtual method bool QTextBrowser::viewportEvent(QEvent *)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QTextBrowser::viewportMargins()

This method is protected and can only be called from inside a derived class.

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QTextBrowser::viewportSizeHint()

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr e)

Description: Virtual method void QTextBrowser::wheelEvent(QWheelEvent *e)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QTextBrowser::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QTextBrowser::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QTextBrowser::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.

zoomInF

Signature: void zoomInF (float range)

Description: Method void QTextBrowser::zoomInF(float range)

This method is protected and can only be called from inside a derived class.