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

API reference - Class QTextEdit

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QTextEdit

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

Sub-classes: AutoFormattingFlag, QFlags_AutoFormattingFlag, LineWrapMode, QFlags_LineWrapMode, ExtraSelection

Public constructors

new QTextEditnew(QWidget ptr parent = nullptr)Constructor QTextEdit::QTextEdit(QWidget *parent)
new QTextEditnew(string text,
QWidget ptr parent = nullptr)
Constructor QTextEdit::QTextEdit(const QString &text, QWidget *parent)

Public methods

[const]QTextEdit 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.
[const]boolacceptRichTextMethod bool QTextEdit::acceptRichText()
voidacceptRichText=(bool accept)Method void QTextEdit::setAcceptRichText(bool accept)
[const]Qt_QFlags_AlignmentFlagalignmentMethod QFlags<Qt::AlignmentFlag> QTextEdit::alignment()
voidalignment=(Qt_QFlags_AlignmentFlag a)Method void QTextEdit::setAlignment(QFlags<Qt::AlignmentFlag> a)
[const]stringanchorAt(const QPoint pos)Method QString QTextEdit::anchorAt(const QPoint &pos)
voidappend(string text)Method void QTextEdit::append(const QString &text)
[const]QTextEdit_QFlags_AutoFormattingFlagautoFormattingMethod QFlags<QTextEdit::AutoFormattingFlag> QTextEdit::autoFormatting()
voidautoFormatting=(QTextEdit_QFlags_AutoFormattingFlag features)Method void QTextEdit::setAutoFormatting(QFlags<QTextEdit::AutoFormattingFlag> features)
[const]boolcanPasteMethod bool QTextEdit::canPaste()
voidclearMethod void QTextEdit::clear()
voidcopyMethod void QTextEdit::copy()
[signal]voidcopyAvailable(bool b)Signal declaration for QTextEdit::copyAvailable(bool b)
QMenu ptrcreateStandardContextMenuMethod QMenu *QTextEdit::createStandardContextMenu()
QMenu ptrcreateStandardContextMenu(const QPoint position)Method QMenu *QTextEdit::createStandardContextMenu(const QPoint &position)
[const]QTextCharFormatcurrentCharFormatMethod QTextCharFormat QTextEdit::currentCharFormat()
voidcurrentCharFormat=(const QTextCharFormat format)Method void QTextEdit::setCurrentCharFormat(const QTextCharFormat &format)
[signal]voidcurrentCharFormatChanged(const QTextCharFormat format)Signal declaration for QTextEdit::currentCharFormatChanged(const QTextCharFormat &format)
[const]QFontcurrentFontMethod QFont QTextEdit::currentFont()
voidcurrentFont=(const QFont f)Method void QTextEdit::setCurrentFont(const QFont &f)
[const]QTextCursorcursorForPosition(const QPoint pos)Method QTextCursor QTextEdit::cursorForPosition(const QPoint &pos)
[signal]voidcursorPositionChangedSignal declaration for QTextEdit::cursorPositionChanged()
[const]QRectcursorRect(const QTextCursor cursor)Method QRect QTextEdit::cursorRect(const QTextCursor &cursor)
[const]QRectcursorRectMethod QRect QTextEdit::cursorRect()
[const]intcursorWidthMethod int QTextEdit::cursorWidth()
voidcursorWidth=(int width)Method void QTextEdit::setCursorWidth(int width)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QTextEdit::customContextMenuRequested(const QPoint &pos)
voidcutMethod void QTextEdit::cut()
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QTextEdit::destroyed(QObject *)
[const]QTextDocument ptrdocumentMethod QTextDocument *QTextEdit::document()
voiddocument=(QTextDocument ptr document)Method void QTextEdit::setDocument(QTextDocument *document)
[const]stringdocumentTitleMethod QString QTextEdit::documentTitle()
voiddocumentTitle=(string title)Method void QTextEdit::setDocumentTitle(const QString &title)
voidemit_copyAvailable(bool b)Emitter for signal void QTextEdit::copyAvailable(bool b)
voidemit_currentCharFormatChanged(const QTextCharFormat format)Emitter for signal void QTextEdit::currentCharFormatChanged(const QTextCharFormat &format)
voidemit_cursorPositionChangedEmitter for signal void QTextEdit::cursorPositionChanged()
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QTextEdit::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QTextEdit::destroyed(QObject *)
voidemit_objectNameChanged(string objectName)Emitter for signal void QTextEdit::objectNameChanged(const QString &objectName)
voidemit_redoAvailable(bool b)Emitter for signal void QTextEdit::redoAvailable(bool b)
voidemit_selectionChangedEmitter for signal void QTextEdit::selectionChanged()
voidemit_textChangedEmitter for signal void QTextEdit::textChanged()
voidemit_undoAvailable(bool b)Emitter for signal void QTextEdit::undoAvailable(bool b)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QTextEdit::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QTextEdit::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QTextEdit::windowTitleChanged(const QString &title)
voidensureCursorVisibleMethod void QTextEdit::ensureCursorVisible()
[const]QTextEdit_ExtraSelection[]extraSelectionsMethod QList<QTextEdit::ExtraSelection> QTextEdit::extraSelections()
voidextraSelections=(QTextEdit_ExtraSelection[] selections)Method void QTextEdit::setExtraSelections(const QList<QTextEdit::ExtraSelection> &selections)
boolfind(string exp,
QTextDocument_QFlags_FindFlag options = QTextDocument::FindFlags())
Method bool QTextEdit::find(const QString &exp, QFlags<QTextDocument::FindFlag> options)
boolfind(const QRegExp exp,
QTextDocument_QFlags_FindFlag options = QTextDocument::FindFlags())
Method bool QTextEdit::find(const QRegExp &exp, QFlags<QTextDocument::FindFlag> options)
[const]stringfontFamilyMethod QString QTextEdit::fontFamily()
voidfontFamily=(string fontFamily)Method void QTextEdit::setFontFamily(const QString &fontFamily)
[const]boolfontItalicMethod bool QTextEdit::fontItalic()
voidfontItalic=(bool b)Method void QTextEdit::setFontItalic(bool b)
[const]doublefontPointSizeMethod double QTextEdit::fontPointSize()
voidfontPointSize=(double s)Method void QTextEdit::setFontPointSize(double s)
[const]boolfontUnderlineMethod bool QTextEdit::fontUnderline()
voidfontUnderline=(bool b)Method void QTextEdit::setFontUnderline(bool b)
[const]intfontWeightMethod int QTextEdit::fontWeight()
voidfontWeight=(int w)Method void QTextEdit::setFontWeight(int w)
[const]boolhasHeightForWidthVirtual method bool QTextEdit::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QTextEdit::heightForWidth(int)
voidhtml=(string text)Method void QTextEdit::setHtml(const QString &text)
[const]variantinputMethodQuery(const Qt_InputMethodQuery property)Virtual method QVariant QTextEdit::inputMethodQuery(Qt::InputMethodQuery property)
voidinsertHtml(string text)Method void QTextEdit::insertHtml(const QString &text)
voidinsertPlainText(string text)Method void QTextEdit::insertPlainText(const QString &text)
[const]boolisReadOnly?Method bool QTextEdit::isReadOnly()
[const]boolisUndoRedoEnabled?Method bool QTextEdit::isUndoRedoEnabled()
[const]intlineWrapColumnOrWidthMethod int QTextEdit::lineWrapColumnOrWidth()
voidlineWrapColumnOrWidth=(int w)Method void QTextEdit::setLineWrapColumnOrWidth(int w)
[const]QTextEdit_LineWrapModelineWrapModeMethod QTextEdit::LineWrapMode QTextEdit::lineWrapMode()
voidlineWrapMode=(const QTextEdit_LineWrapMode mode)Method void QTextEdit::setLineWrapMode(QTextEdit::LineWrapMode mode)
variantloadResource(int type,
const QUrl name)
Virtual method QVariant QTextEdit::loadResource(int type, const QUrl &name)
voidmergeCurrentCharFormat(const QTextCharFormat modifier)Method void QTextEdit::mergeCurrentCharFormat(const QTextCharFormat &modifier)
[const]QSizeminimumSizeHintVirtual method QSize QTextEdit::minimumSizeHint()
voidmoveCursor(const QTextCursor_MoveOperation operation,
const QTextCursor_MoveMode mode = QTextCursor::MoveAnchor)
Method void QTextEdit::moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QTextEdit::objectNameChanged(const QString &objectName)
[const]booloverwriteModeMethod bool QTextEdit::overwriteMode()
voidoverwriteMode=(bool overwrite)Method void QTextEdit::setOverwriteMode(bool overwrite)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QTextEdit::paintEngine()
voidpasteMethod void QTextEdit::paste()
[const]stringplaceholderTextMethod QString QTextEdit::placeholderText()
voidplaceholderText=(string placeholderText)Method void QTextEdit::setPlaceholderText(const QString &placeholderText)
voidplainText=(string text)Method void QTextEdit::setPlainText(const QString &text)
[const]voidprint(QPagedPaintDevice ptr printer)Method void QTextEdit::print(QPagedPaintDevice *printer)
[const]boolreadOnlyMethod bool QTextEdit::isReadOnly()
voidreadOnly=(bool ro)Method void QTextEdit::setReadOnly(bool ro)
voidredoMethod void QTextEdit::redo()
[signal]voidredoAvailable(bool b)Signal declaration for QTextEdit::redoAvailable(bool b)
voidscrollToAnchor(string name)Method void QTextEdit::scrollToAnchor(const QString &name)
voidselectAllMethod void QTextEdit::selectAll()
[signal]voidselectionChangedSignal declaration for QTextEdit::selectionChanged()
voidsetAcceptRichText(bool accept)Method void QTextEdit::setAcceptRichText(bool accept)
voidsetAlignment(Qt_QFlags_AlignmentFlag a)Method void QTextEdit::setAlignment(QFlags<Qt::AlignmentFlag> a)
voidsetAutoFormatting(QTextEdit_QFlags_AutoFormattingFlag features)Method void QTextEdit::setAutoFormatting(QFlags<QTextEdit::AutoFormattingFlag> features)
voidsetCurrentCharFormat(const QTextCharFormat format)Method void QTextEdit::setCurrentCharFormat(const QTextCharFormat &format)
voidsetCurrentFont(const QFont f)Method void QTextEdit::setCurrentFont(const QFont &f)
voidsetCursorWidth(int width)Method void QTextEdit::setCursorWidth(int width)
voidsetDocument(QTextDocument ptr document)Method void QTextEdit::setDocument(QTextDocument *document)
voidsetDocumentTitle(string title)Method void QTextEdit::setDocumentTitle(const QString &title)
voidsetExtraSelections(QTextEdit_ExtraSelection[] selections)Method void QTextEdit::setExtraSelections(const QList<QTextEdit::ExtraSelection> &selections)
voidsetFontFamily(string fontFamily)Method void QTextEdit::setFontFamily(const QString &fontFamily)
voidsetFontItalic(bool b)Method void QTextEdit::setFontItalic(bool b)
voidsetFontPointSize(double s)Method void QTextEdit::setFontPointSize(double s)
voidsetFontUnderline(bool b)Method void QTextEdit::setFontUnderline(bool b)
voidsetFontWeight(int w)Method void QTextEdit::setFontWeight(int w)
voidsetHtml(string text)Method void QTextEdit::setHtml(const QString &text)
voidsetLineWrapColumnOrWidth(int w)Method void QTextEdit::setLineWrapColumnOrWidth(int w)
voidsetLineWrapMode(const QTextEdit_LineWrapMode mode)Method void QTextEdit::setLineWrapMode(QTextEdit::LineWrapMode mode)
voidsetOverwriteMode(bool overwrite)Method void QTextEdit::setOverwriteMode(bool overwrite)
voidsetPlaceholderText(string placeholderText)Method void QTextEdit::setPlaceholderText(const QString &placeholderText)
voidsetPlainText(string text)Method void QTextEdit::setPlainText(const QString &text)
voidsetReadOnly(bool ro)Method void QTextEdit::setReadOnly(bool ro)
voidsetTabChangesFocus(bool b)Method void QTextEdit::setTabChangesFocus(bool b)
voidsetTabStopDistance(double distance)Method void QTextEdit::setTabStopDistance(double distance)
voidsetTabStopWidth(int width)Method void QTextEdit::setTabStopWidth(int width)
voidsetText(string text)Method void QTextEdit::setText(const QString &text)
voidsetTextBackgroundColor(const QColor c)Method void QTextEdit::setTextBackgroundColor(const QColor &c)
voidsetTextColor(const QColor c)Method void QTextEdit::setTextColor(const QColor &c)
voidsetTextCursor(const QTextCursor cursor)Method void QTextEdit::setTextCursor(const QTextCursor &cursor)
voidsetTextInteractionFlags(Qt_QFlags_TextInteractionFlag flags)Method void QTextEdit::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)
voidsetUndoRedoEnabled(bool enable)Method void QTextEdit::setUndoRedoEnabled(bool enable)
voidsetVisible(bool visible)Virtual method void QTextEdit::setVisible(bool visible)
voidsetWordWrapMode(const QTextOption_WrapMode policy)Method void QTextEdit::setWordWrapMode(QTextOption::WrapMode policy)
voidsetupViewport(QWidget ptr viewport)Virtual method void QTextEdit::setupViewport(QWidget *viewport)
[const]QSizesizeHintVirtual method QSize QTextEdit::sizeHint()
[const]booltabChangesFocusMethod bool QTextEdit::tabChangesFocus()
voidtabChangesFocus=(bool b)Method void QTextEdit::setTabChangesFocus(bool b)
[const]doubletabStopDistanceMethod double QTextEdit::tabStopDistance()
voidtabStopDistance=(double distance)Method void QTextEdit::setTabStopDistance(double distance)
[const]inttabStopWidthMethod int QTextEdit::tabStopWidth()
voidtabStopWidth=(int width)Method void QTextEdit::setTabStopWidth(int width)
[const]QColortextBackgroundColorMethod QColor QTextEdit::textBackgroundColor()
voidtextBackgroundColor=(const QColor c)Method void QTextEdit::setTextBackgroundColor(const QColor &c)
[signal]voidtextChangedSignal declaration for QTextEdit::textChanged()
[const]QColortextColorMethod QColor QTextEdit::textColor()
voidtextColor=(const QColor c)Method void QTextEdit::setTextColor(const QColor &c)
[const]QTextCursortextCursorMethod QTextCursor QTextEdit::textCursor()
voidtextCursor=(const QTextCursor cursor)Method void QTextEdit::setTextCursor(const QTextCursor &cursor)
[const]Qt_QFlags_TextInteractionFlagtextInteractionFlagsMethod QFlags<Qt::TextInteractionFlag> QTextEdit::textInteractionFlags()
voidtextInteractionFlags=(Qt_QFlags_TextInteractionFlag flags)Method void QTextEdit::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)
[const]stringtoHtmlMethod QString QTextEdit::toHtml()
[const]stringtoPlainTextMethod QString QTextEdit::toPlainText()
voidundoMethod void QTextEdit::undo()
[signal]voidundoAvailable(bool b)Signal declaration for QTextEdit::undoAvailable(bool b)
[const]boolundoRedoEnabledMethod bool QTextEdit::isUndoRedoEnabled()
voidundoRedoEnabled=(bool enable)Method void QTextEdit::setUndoRedoEnabled(bool enable)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QTextEdit::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QTextEdit::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QTextEdit::windowTitleChanged(const QString &title)
[const]QTextOption_WrapModewordWrapModeMethod QTextOption::WrapMode QTextEdit::wordWrapMode()
voidwordWrapMode=(const QTextOption_WrapMode policy)Method void QTextEdit::setWordWrapMode(QTextOption::WrapMode policy)
voidzoomIn(int range = 1)Method void QTextEdit::zoomIn(int range)
voidzoomOut(int range = 1)Method void QTextEdit::zoomOut(int range)

Public static methods and constants

[static,const]QTextEdit_AutoFormattingFlagAutoAllEnum constant QTextEdit::AutoAll
[static,const]QTextEdit_AutoFormattingFlagAutoBulletListEnum constant QTextEdit::AutoBulletList
[static,const]QTextEdit_AutoFormattingFlagAutoNoneEnum constant QTextEdit::AutoNone
[static,const]QTextEdit_LineWrapModeFixedColumnWidthEnum constant QTextEdit::FixedColumnWidth
[static,const]QTextEdit_LineWrapModeFixedPixelWidthEnum constant QTextEdit::FixedPixelWidth
[static,const]QTextEdit_LineWrapModeNoWrapEnum constant QTextEdit::NoWrap
[static,const]QTextEdit_LineWrapModeWidgetWidthEnum constant QTextEdit::WidgetWidth
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QTextEdit::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QTextEdit::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

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

Detailed description

AutoAll

Signature: [static,const] QTextEdit_AutoFormattingFlag AutoAll

Description: Enum constant QTextEdit::AutoAll

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

AutoBulletList

Signature: [static,const] QTextEdit_AutoFormattingFlag AutoBulletList

Description: Enum constant QTextEdit::AutoBulletList

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

AutoNone

Signature: [static,const] QTextEdit_AutoFormattingFlag AutoNone

Description: Enum constant QTextEdit::AutoNone

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

FixedColumnWidth

Signature: [static,const] QTextEdit_LineWrapMode FixedColumnWidth

Description: Enum constant QTextEdit::FixedColumnWidth

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

FixedPixelWidth

Signature: [static,const] QTextEdit_LineWrapMode FixedPixelWidth

Description: Enum constant QTextEdit::FixedPixelWidth

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

NoWrap

Signature: [static,const] QTextEdit_LineWrapMode NoWrap

Description: Enum constant QTextEdit::NoWrap

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

WidgetWidth

Signature: [static,const] QTextEdit_LineWrapMode WidgetWidth

Description: Enum constant QTextEdit::WidgetWidth

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

_const_cast

Signature: [const] QTextEdit 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.

acceptRichText

Signature: [const] bool acceptRichText

Description: Method bool QTextEdit::acceptRichText()

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

acceptRichText=

Signature: void acceptRichText= (bool accept)

Description: Method void QTextEdit::setAcceptRichText(bool accept)

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

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

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

This method can be reimplemented in a derived class.

alignment

Signature: [const] Qt_QFlags_AlignmentFlag alignment

Description: Method QFlags<Qt::AlignmentFlag> QTextEdit::alignment()

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

alignment=

Signature: void alignment= (Qt_QFlags_AlignmentFlag a)

Description: Method void QTextEdit::setAlignment(QFlags<Qt::AlignmentFlag> a)

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

anchorAt

Signature: [const] string anchorAt (const QPoint pos)

Description: Method QString QTextEdit::anchorAt(const QPoint &pos)

append

Signature: void append (string text)

Description: Method void QTextEdit::append(const QString &text)

autoFormatting

Signature: [const] QTextEdit_QFlags_AutoFormattingFlag autoFormatting

Description: Method QFlags<QTextEdit::AutoFormattingFlag> QTextEdit::autoFormatting()

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

autoFormatting=

Signature: void autoFormatting= (QTextEdit_QFlags_AutoFormattingFlag features)

Description: Method void QTextEdit::setAutoFormatting(QFlags<QTextEdit::AutoFormattingFlag> features)

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

canInsertFromMimeData

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

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

This method can be reimplemented in a derived class.

canPaste

Signature: [const] bool canPaste

Description: Method bool QTextEdit::canPaste()

changeEvent

Signature: void changeEvent (QEvent ptr e)

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

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

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

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QTextEdit::clear()

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

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

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr e)

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

This method can be reimplemented in a derived class.

copy

Signature: void copy

Description: Method void QTextEdit::copy()

copyAvailable

Signature: [signal] void copyAvailable (bool b)

Description: Signal declaration for QTextEdit::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 QTextEdit::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 *QTextEdit::createMimeDataFromSelection()

This method can be reimplemented in a derived class.

createStandardContextMenu

(1) Signature: QMenu ptr createStandardContextMenu

Description: Method QMenu *QTextEdit::createStandardContextMenu()

(2) Signature: QMenu ptr createStandardContextMenu (const QPoint position)

Description: Method QMenu *QTextEdit::createStandardContextMenu(const QPoint &position)

currentCharFormat

Signature: [const] QTextCharFormat currentCharFormat

Description: Method QTextCharFormat QTextEdit::currentCharFormat()

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

currentCharFormat=

Signature: void currentCharFormat= (const QTextCharFormat format)

Description: Method void QTextEdit::setCurrentCharFormat(const QTextCharFormat &format)

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

currentCharFormatChanged

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

Description: Signal declaration for QTextEdit::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.

currentFont

Signature: [const] QFont currentFont

Description: Method QFont QTextEdit::currentFont()

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

currentFont=

Signature: void currentFont= (const QFont f)

Description: Method void QTextEdit::setCurrentFont(const QFont &f)

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

cursorForPosition

Signature: [const] QTextCursor cursorForPosition (const QPoint pos)

Description: Method QTextCursor QTextEdit::cursorForPosition(const QPoint &pos)

cursorPositionChanged

Signature: [signal] void cursorPositionChanged

Description: Signal declaration for QTextEdit::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.

cursorRect

(1) Signature: [const] QRect cursorRect (const QTextCursor cursor)

Description: Method QRect QTextEdit::cursorRect(const QTextCursor &cursor)

(2) Signature: [const] QRect cursorRect

Description: Method QRect QTextEdit::cursorRect()

cursorWidth

Signature: [const] int cursorWidth

Description: Method int QTextEdit::cursorWidth()

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

cursorWidth=

Signature: void cursorWidth= (int width)

Description: Method void QTextEdit::setCursorWidth(int width)

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

customContextMenuRequested

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

Description: Signal declaration for QTextEdit::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 QTextEdit::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

cut

Signature: void cut

Description: Method void QTextEdit::cut()

destroy

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

Description: Method void QTextEdit::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 QTextEdit::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 QTextEdit::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doSetTextCursor

Signature: void doSetTextCursor (const QTextCursor cursor)

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

This method can be reimplemented in a derived class.

document

Signature: [const] QTextDocument ptr document

Description: Method QTextDocument *QTextEdit::document()

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

document=

Signature: void document= (QTextDocument ptr document)

Description: Method void QTextEdit::setDocument(QTextDocument *document)

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

documentTitle

Signature: [const] string documentTitle

Description: Method QString QTextEdit::documentTitle()

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

documentTitle=

Signature: void documentTitle= (string title)

Description: Method void QTextEdit::setDocumentTitle(const QString &title)

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

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr e)

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

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr e)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr e)

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

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

Description: Method void QTextEdit::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 QTextEdit::dropEvent(QDropEvent *e)

This method can be reimplemented in a derived class.

emit_copyAvailable

Signature: void emit_copyAvailable (bool b)

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

Call this method to emit this signal.

emit_currentCharFormatChanged

Signature: void emit_currentCharFormatChanged (const QTextCharFormat format)

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

Call this method to emit this signal.

emit_cursorPositionChanged

Signature: void emit_cursorPositionChanged

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

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QTextEdit::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 QTextEdit::destroyed(QObject *)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

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

Call this method to emit this signal.

emit_redoAvailable

Signature: void emit_redoAvailable (bool b)

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

Call this method to emit this signal.

emit_selectionChanged

Signature: void emit_selectionChanged

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

Call this method to emit this signal.

emit_textChanged

Signature: void emit_textChanged

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

Call this method to emit this signal.

emit_undoAvailable

Signature: void emit_undoAvailable (bool b)

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

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

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

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

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

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

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

Call this method to emit this signal.

ensureCursorVisible

Signature: void ensureCursorVisible

Description: Method void QTextEdit::ensureCursorVisible()

enterEvent

Signature: void enterEvent (QEvent ptr event)

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

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr e)

Description: Virtual method bool QTextEdit::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 QTextEdit::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

extraSelections

Signature: [const] QTextEdit_ExtraSelection[] extraSelections

Description: Method QList<QTextEdit::ExtraSelection> QTextEdit::extraSelections()

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

extraSelections=

Signature: void extraSelections= (QTextEdit_ExtraSelection[] selections)

Description: Method void QTextEdit::setExtraSelections(const QList<QTextEdit::ExtraSelection> &selections)

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

find

(1) Signature: bool find (string exp, QTextDocument_QFlags_FindFlag options = QTextDocument::FindFlags())

Description: Method bool QTextEdit::find(const QString &exp, QFlags<QTextDocument::FindFlag> options)

(2) Signature: bool find (const QRegExp exp, QTextDocument_QFlags_FindFlag options = QTextDocument::FindFlags())

Description: Method bool QTextEdit::find(const QRegExp &exp, QFlags<QTextDocument::FindFlag> options)

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr e)

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

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QTextEdit::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 QTextEdit::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr e)

Description: Virtual method void QTextEdit::focusOutEvent(QFocusEvent *e)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QTextEdit::focusPreviousChild()

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

fontFamily

Signature: [const] string fontFamily

Description: Method QString QTextEdit::fontFamily()

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

fontFamily=

Signature: void fontFamily= (string fontFamily)

Description: Method void QTextEdit::setFontFamily(const QString &fontFamily)

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

fontItalic

Signature: [const] bool fontItalic

Description: Method bool QTextEdit::fontItalic()

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

fontItalic=

Signature: void fontItalic= (bool b)

Description: Method void QTextEdit::setFontItalic(bool b)

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

fontPointSize

Signature: [const] double fontPointSize

Description: Method double QTextEdit::fontPointSize()

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

fontPointSize=

Signature: void fontPointSize= (double s)

Description: Method void QTextEdit::setFontPointSize(double s)

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

fontUnderline

Signature: [const] bool fontUnderline

Description: Method bool QTextEdit::fontUnderline()

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

fontUnderline=

Signature: void fontUnderline= (bool b)

Description: Method void QTextEdit::setFontUnderline(bool b)

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

fontWeight

Signature: [const] int fontWeight

Description: Method int QTextEdit::fontWeight()

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

fontWeight=

Signature: void fontWeight= (int w)

Description: Method void QTextEdit::setFontWeight(int w)

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

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QTextEdit::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

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

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

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

This method can be reimplemented in a derived class.

html=

Signature: void html= (string text)

Description: Method void QTextEdit::setHtml(const QString &text)

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

initPainter

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

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

This method can be reimplemented in a derived class.

initStyleOption

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

Description: Method void QTextEdit::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 QTextEdit::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

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

Description: Virtual method QVariant QTextEdit::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 QTextEdit::insertFromMimeData(const QMimeData *source)

This method can be reimplemented in a derived class.

insertHtml

Signature: void insertHtml (string text)

Description: Method void QTextEdit::insertHtml(const QString &text)

insertPlainText

Signature: void insertPlainText (string text)

Description: Method void QTextEdit::insertPlainText(const QString &text)

isReadOnly?

Signature: [const] bool isReadOnly?

Description: Method bool QTextEdit::isReadOnly()

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

isSignalConnected

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

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

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

isUndoRedoEnabled?

Signature: [const] bool isUndoRedoEnabled?

Description: Method bool QTextEdit::isUndoRedoEnabled()

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

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr e)

Description: Virtual method void QTextEdit::keyPressEvent(QKeyEvent *e)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr e)

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

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

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

This method can be reimplemented in a derived class.

lineWrapColumnOrWidth

Signature: [const] int lineWrapColumnOrWidth

Description: Method int QTextEdit::lineWrapColumnOrWidth()

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

lineWrapColumnOrWidth=

Signature: void lineWrapColumnOrWidth= (int w)

Description: Method void QTextEdit::setLineWrapColumnOrWidth(int w)

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

lineWrapMode

Signature: [const] QTextEdit_LineWrapMode lineWrapMode

Description: Method QTextEdit::LineWrapMode QTextEdit::lineWrapMode()

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

lineWrapMode=

Signature: void lineWrapMode= (const QTextEdit_LineWrapMode mode)

Description: Method void QTextEdit::setLineWrapMode(QTextEdit::LineWrapMode mode)

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

loadResource

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

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

This method can be reimplemented in a derived class.

mergeCurrentCharFormat

Signature: void mergeCurrentCharFormat (const QTextCharFormat modifier)

Description: Method void QTextEdit::mergeCurrentCharFormat(const QTextCharFormat &modifier)

metric

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

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

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QTextEdit::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr e)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr e)

Description: Virtual method void QTextEdit::mouseMoveEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr e)

Description: Virtual method void QTextEdit::mousePressEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr e)

Description: Virtual method void QTextEdit::mouseReleaseEvent(QMouseEvent *e)

This method can be reimplemented in a derived class.

moveCursor

Signature: void moveCursor (const QTextCursor_MoveOperation operation, const QTextCursor_MoveMode mode = QTextCursor::MoveAnchor)

Description: Method void QTextEdit::moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode)

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QTextEdit::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 QTextEdit::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

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

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

This method creates an object of class QTextEdit.

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

(2) Signature: [static] new QTextEdit new (string text, QWidget ptr parent = nullptr)

Description: Constructor QTextEdit::QTextEdit(const QString &text, QWidget *parent)

This method creates an object of class QTextEdit.

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

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QTextEdit::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.

overwriteMode

Signature: [const] bool overwriteMode

Description: Method bool QTextEdit::overwriteMode()

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

overwriteMode=

Signature: void overwriteMode= (bool overwrite)

Description: Method void QTextEdit::setOverwriteMode(bool overwrite)

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

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

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

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

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

This method can be reimplemented in a derived class.

paste

Signature: void paste

Description: Method void QTextEdit::paste()

placeholderText

Signature: [const] string placeholderText

Description: Method QString QTextEdit::placeholderText()

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

placeholderText=

Signature: void placeholderText= (string placeholderText)

Description: Method void QTextEdit::setPlaceholderText(const QString &placeholderText)

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

plainText=

Signature: void plainText= (string text)

Description: Method void QTextEdit::setPlainText(const QString &text)

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

print

Signature: [const] void print (QPagedPaintDevice ptr printer)

Description: Method void QTextEdit::print(QPagedPaintDevice *printer)

Python specific notes:
This attribute is available as 'print_' in Python.

qt_create

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

Description: Method void QTextEdit::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 QTextEdit::destroy(bool destroyWindow, bool destroySubWindows)

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

readOnly

Signature: [const] bool readOnly

Description: Method bool QTextEdit::isReadOnly()

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

readOnly=

Signature: void readOnly= (bool ro)

Description: Method void QTextEdit::setReadOnly(bool ro)

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

receivers

Signature: [const] int receivers (string signal)

Description: Method int QTextEdit::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 *QTextEdit::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

redo

Signature: void redo

Description: Method void QTextEdit::redo()

redoAvailable

Signature: [signal] void redoAvailable (bool b)

Description: Signal declaration for QTextEdit::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.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr e)

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

This method can be reimplemented in a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

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

This method can be reimplemented in a derived class.

scrollToAnchor

Signature: void scrollToAnchor (string name)

Description: Method void QTextEdit::scrollToAnchor(const QString &name)

selectAll

Signature: void selectAll

Description: Method void QTextEdit::selectAll()

selectionChanged

Signature: [signal] void selectionChanged

Description: Signal declaration for QTextEdit::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 *QTextEdit::sender()

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

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QTextEdit::senderSignalIndex()

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

setAcceptRichText

Signature: void setAcceptRichText (bool accept)

Description: Method void QTextEdit::setAcceptRichText(bool accept)

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

setAlignment

Signature: void setAlignment (Qt_QFlags_AlignmentFlag a)

Description: Method void QTextEdit::setAlignment(QFlags<Qt::AlignmentFlag> a)

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

setAutoFormatting

Signature: void setAutoFormatting (QTextEdit_QFlags_AutoFormattingFlag features)

Description: Method void QTextEdit::setAutoFormatting(QFlags<QTextEdit::AutoFormattingFlag> features)

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

setCurrentCharFormat

Signature: void setCurrentCharFormat (const QTextCharFormat format)

Description: Method void QTextEdit::setCurrentCharFormat(const QTextCharFormat &format)

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

setCurrentFont

Signature: void setCurrentFont (const QFont f)

Description: Method void QTextEdit::setCurrentFont(const QFont &f)

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

setCursorWidth

Signature: void setCursorWidth (int width)

Description: Method void QTextEdit::setCursorWidth(int width)

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

setDocument

Signature: void setDocument (QTextDocument ptr document)

Description: Method void QTextEdit::setDocument(QTextDocument *document)

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

setDocumentTitle

Signature: void setDocumentTitle (string title)

Description: Method void QTextEdit::setDocumentTitle(const QString &title)

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

setExtraSelections

Signature: void setExtraSelections (QTextEdit_ExtraSelection[] selections)

Description: Method void QTextEdit::setExtraSelections(const QList<QTextEdit::ExtraSelection> &selections)

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

setFontFamily

Signature: void setFontFamily (string fontFamily)

Description: Method void QTextEdit::setFontFamily(const QString &fontFamily)

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

setFontItalic

Signature: void setFontItalic (bool b)

Description: Method void QTextEdit::setFontItalic(bool b)

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

setFontPointSize

Signature: void setFontPointSize (double s)

Description: Method void QTextEdit::setFontPointSize(double s)

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

setFontUnderline

Signature: void setFontUnderline (bool b)

Description: Method void QTextEdit::setFontUnderline(bool b)

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

setFontWeight

Signature: void setFontWeight (int w)

Description: Method void QTextEdit::setFontWeight(int w)

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

setHtml

Signature: void setHtml (string text)

Description: Method void QTextEdit::setHtml(const QString &text)

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

setLineWrapColumnOrWidth

Signature: void setLineWrapColumnOrWidth (int w)

Description: Method void QTextEdit::setLineWrapColumnOrWidth(int w)

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

setLineWrapMode

Signature: void setLineWrapMode (const QTextEdit_LineWrapMode mode)

Description: Method void QTextEdit::setLineWrapMode(QTextEdit::LineWrapMode mode)

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

setOverwriteMode

Signature: void setOverwriteMode (bool overwrite)

Description: Method void QTextEdit::setOverwriteMode(bool overwrite)

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

setPlaceholderText

Signature: void setPlaceholderText (string placeholderText)

Description: Method void QTextEdit::setPlaceholderText(const QString &placeholderText)

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

setPlainText

Signature: void setPlainText (string text)

Description: Method void QTextEdit::setPlainText(const QString &text)

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

setReadOnly

Signature: void setReadOnly (bool ro)

Description: Method void QTextEdit::setReadOnly(bool ro)

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

setTabChangesFocus

Signature: void setTabChangesFocus (bool b)

Description: Method void QTextEdit::setTabChangesFocus(bool b)

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

setTabStopDistance

Signature: void setTabStopDistance (double distance)

Description: Method void QTextEdit::setTabStopDistance(double distance)

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

setTabStopWidth

Signature: void setTabStopWidth (int width)

Description: Method void QTextEdit::setTabStopWidth(int width)

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

setText

Signature: void setText (string text)

Description: Method void QTextEdit::setText(const QString &text)

setTextBackgroundColor

Signature: void setTextBackgroundColor (const QColor c)

Description: Method void QTextEdit::setTextBackgroundColor(const QColor &c)

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

setTextColor

Signature: void setTextColor (const QColor c)

Description: Method void QTextEdit::setTextColor(const QColor &c)

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

setTextCursor

Signature: void setTextCursor (const QTextCursor cursor)

Description: Method void QTextEdit::setTextCursor(const QTextCursor &cursor)

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

setTextInteractionFlags

Signature: void setTextInteractionFlags (Qt_QFlags_TextInteractionFlag flags)

Description: Method void QTextEdit::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)

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

setUndoRedoEnabled

Signature: void setUndoRedoEnabled (bool enable)

Description: Method void QTextEdit::setUndoRedoEnabled(bool enable)

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

setViewportMargins

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

Description: Method void QTextEdit::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 QTextEdit::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 QTextEdit::setVisible(bool visible)

This method can be reimplemented in a derived class.

setWordWrapMode

Signature: void setWordWrapMode (const QTextOption_WrapMode policy)

Description: Method void QTextEdit::setWordWrapMode(QTextOption::WrapMode policy)

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

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

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

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

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

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

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

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QTextEdit::sizeHint()

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

tabChangesFocus

Signature: [const] bool tabChangesFocus

Description: Method bool QTextEdit::tabChangesFocus()

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

tabChangesFocus=

Signature: void tabChangesFocus= (bool b)

Description: Method void QTextEdit::setTabChangesFocus(bool b)

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

tabStopDistance

Signature: [const] double tabStopDistance

Description: Method double QTextEdit::tabStopDistance()

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

tabStopDistance=

Signature: void tabStopDistance= (double distance)

Description: Method void QTextEdit::setTabStopDistance(double distance)

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

tabStopWidth

Signature: [const] int tabStopWidth

Description: Method int QTextEdit::tabStopWidth()

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

tabStopWidth=

Signature: void tabStopWidth= (int width)

Description: Method void QTextEdit::setTabStopWidth(int width)

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

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

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

This method can be reimplemented in a derived class.

textBackgroundColor

Signature: [const] QColor textBackgroundColor

Description: Method QColor QTextEdit::textBackgroundColor()

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

textBackgroundColor=

Signature: void textBackgroundColor= (const QColor c)

Description: Method void QTextEdit::setTextBackgroundColor(const QColor &c)

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

textChanged

Signature: [signal] void textChanged

Description: Signal declaration for QTextEdit::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.

textColor

Signature: [const] QColor textColor

Description: Method QColor QTextEdit::textColor()

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

textColor=

Signature: void textColor= (const QColor c)

Description: Method void QTextEdit::setTextColor(const QColor &c)

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

textCursor

Signature: [const] QTextCursor textCursor

Description: Method QTextCursor QTextEdit::textCursor()

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

textCursor=

Signature: void textCursor= (const QTextCursor cursor)

Description: Method void QTextEdit::setTextCursor(const QTextCursor &cursor)

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

textInteractionFlags

Signature: [const] Qt_QFlags_TextInteractionFlag textInteractionFlags

Description: Method QFlags<Qt::TextInteractionFlag> QTextEdit::textInteractionFlags()

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

textInteractionFlags=

Signature: void textInteractionFlags= (Qt_QFlags_TextInteractionFlag flags)

Description: Method void QTextEdit::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)

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

timerEvent

Signature: void timerEvent (QTimerEvent ptr e)

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

This method can be reimplemented in a derived class.

toHtml

Signature: [const] string toHtml

Description: Method QString QTextEdit::toHtml()

toPlainText

Signature: [const] string toPlainText

Description: Method QString QTextEdit::toPlainText()

tr

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

Description: Static method QString QTextEdit::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 QTextEdit::trUtf8(const char *s, const char *c, int n)

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

undo

Signature: void undo

Description: Method void QTextEdit::undo()

undoAvailable

Signature: [signal] void undoAvailable (bool b)

Description: Signal declaration for QTextEdit::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.

undoRedoEnabled

Signature: [const] bool undoRedoEnabled

Description: Method bool QTextEdit::isUndoRedoEnabled()

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

undoRedoEnabled=

Signature: void undoRedoEnabled= (bool enable)

Description: Method void QTextEdit::setUndoRedoEnabled(bool enable)

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

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QTextEdit::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 QTextEdit::viewportEvent(QEvent *)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QTextEdit::viewportMargins()

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

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QTextEdit::viewportSizeHint()

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr e)

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

This method can be reimplemented in a derived class.

windowIconChanged

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

Description: Signal declaration for QTextEdit::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 QTextEdit::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 QTextEdit::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.

wordWrapMode

Signature: [const] QTextOption_WrapMode wordWrapMode

Description: Method QTextOption::WrapMode QTextEdit::wordWrapMode()

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

wordWrapMode=

Signature: void wordWrapMode= (const QTextOption_WrapMode policy)

Description: Method void QTextEdit::setWordWrapMode(QTextOption::WrapMode policy)

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

zoomIn

Signature: void zoomIn (int range = 1)

Description: Method void QTextEdit::zoomIn(int range)

zoomInF

Signature: void zoomInF (float range)

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

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

zoomOut

Signature: void zoomOut (int range = 1)

Description: Method void QTextEdit::zoomOut(int range)