KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QTextEdit

Notation used in Ruby API documentation

Module: QtGui

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 = 0)Constructor QTextEdit::QTextEdit(QWidget *parent)
new QTextEditnew(string text,
QWidget ptr parent = 0)
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 = 0)Emitter for signal void QTextEdit::destroyed(QObject *)
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)
voidensureCursorVisibleMethod void QTextEdit::ensureCursorVisible()
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QTextEdit::eventFilter(QObject *, QEvent *)
[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 = 0)
Method bool QTextEdit::find(const QString &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]intheightForWidth(int arg1)Virtual method int QTextEdit::heightForWidth(int)
voidhtml=(string text)Method void QTextEdit::setHtml(const QString &text)
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)
[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()
voidplainText=(string text)Method void QTextEdit::setPlainText(const QString &text)
[const]voidprint(QPrinter ptr printer)Method void QTextEdit::print(QPrinter *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)
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)
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)
[const]QSizesizeHintVirtual method QSize QTextEdit::sizeHint()
[const]booltabChangesFocusMethod bool QTextEdit::tabChangesFocus()
voidtabChangesFocus=(bool b)Method void QTextEdit::setTabChangesFocus(bool b)
[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)
[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 = 0)
Static method QString QTextEdit::tr(const char *s, const char *c)
stringtr(string s,
string c,
int n)
Static method QString QTextEdit::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = 0)
Static method QString QTextEdit::trUtf8(const char *s, const char *c)
stringtrUtf8(string s,
string c,
int n)
Static method QString QTextEdit::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr arg1)Virtual method void QTextEdit::actionEvent(QActionEvent *)
[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 arg1)Virtual method void QTextEdit::childEvent(QChildEvent *)
voidcloseEvent(QCloseEvent ptr arg1)Virtual method void QTextEdit::closeEvent(QCloseEvent *)
voidcontextMenuEvent(QContextMenuEvent ptr e)Virtual method void QTextEdit::contextMenuEvent(QContextMenuEvent *e)
[const]QMimeData ptrcreateMimeDataFromSelectionVirtual method QMimeData *QTextEdit::createMimeDataFromSelection()
voidcustomEvent(QEvent ptr arg1)Virtual method void QTextEdit::customEvent(QEvent *)
voiddisconnectNotify(string signal)Virtual method void QTextEdit::disconnectNotify(const char *signal)
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)
voidenabledChange(bool arg1)Virtual method void QTextEdit::enabledChange(bool)
voidenterEvent(QEvent ptr arg1)Virtual method void QTextEdit::enterEvent(QEvent *)
boolevent(QEvent ptr e)Virtual method bool QTextEdit::event(QEvent *e)
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()
voidfontChange(const QFont arg1)Virtual method void QTextEdit::fontChange(const QFont &)
voidhideEvent(QHideEvent ptr arg1)Virtual method void QTextEdit::hideEvent(QHideEvent *)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QTextEdit::inputMethodEvent(QInputMethodEvent *)
[const]variantinputMethodQuery(const Qt_InputMethodQuery property)Virtual method QVariant QTextEdit::inputMethodQuery(Qt::InputMethodQuery property)
voidinsertFromMimeData(const QMimeData ptr source)Virtual method void QTextEdit::insertFromMimeData(const QMimeData *source)
voidkeyPressEvent(QKeyEvent ptr e)Virtual method void QTextEdit::keyPressEvent(QKeyEvent *e)
voidkeyReleaseEvent(QKeyEvent ptr e)Virtual method void QTextEdit::keyReleaseEvent(QKeyEvent *e)
voidlanguageChangeVirtual method void QTextEdit::languageChange()
voidleaveEvent(QEvent ptr arg1)Virtual method void QTextEdit::leaveEvent(QEvent *)
[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 arg1)Virtual method void QTextEdit::moveEvent(QMoveEvent *)
voidpaintEvent(QPaintEvent ptr e)Virtual method void QTextEdit::paintEvent(QPaintEvent *e)
voidpaletteChange(const QPalette arg1)Virtual method void QTextEdit::paletteChange(const QPalette &)
voidqt_create(unsigned 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)
voidresetInputContextMethod void QTextEdit::resetInputContext()
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()
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)
voidsetupViewport(QWidget ptr viewport)Method void QTextEdit::setupViewport(QWidget *viewport)
voidshowEvent(QShowEvent ptr arg1)Virtual method void QTextEdit::showEvent(QShowEvent *)
voidstyleChange(QStyle arg1)Virtual method void QTextEdit::styleChange(QStyle &)
voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QTextEdit::tabletEvent(QTabletEvent *)
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 *)
voidwheelEvent(QWheelEvent ptr e)Virtual method void QTextEdit::wheelEvent(QWheelEvent *e)
voidwindowActivationChange(bool arg1)Virtual method void QTextEdit::windowActivationChange(bool)

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 arg1)

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

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 arg1)

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

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QTextEdit::clear()

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

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

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.

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 arg1)

Description: Virtual method void QTextEdit::customEvent(QEvent *)

This method can be reimplemented in a derived class.

cut

Signature: void cut

Description: Method void QTextEdit::cut()

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 (string signal)

Description: Virtual method void QTextEdit::disconnectNotify(const char *signal)

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 = 0)

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

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.

enabledChange

Signature: void enabledChange (bool arg1)

Description: Virtual method void QTextEdit::enabledChange(bool)

This method can be reimplemented in a derived class.

ensureCursorVisible

Signature: void ensureCursorVisible

Description: Method void QTextEdit::ensureCursorVisible()

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

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

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

Signature: bool find (string exp, QTextDocument_QFlags_FindFlag options = 0)

Description: Method bool QTextEdit::find(const QString &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.

fontChange

Signature: void fontChange (const QFont arg1)

Description: Virtual method void QTextEdit::fontChange(const QFont &)

This method can be reimplemented in 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.

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 arg1)

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

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.

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.

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.

languageChange

Signature: void languageChange

Description: Virtual method void QTextEdit::languageChange()

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

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

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 arg1)

Description: Virtual method void QTextEdit::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

new

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

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 = 0)

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.

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.

paletteChange

Signature: void paletteChange (const QPalette arg1)

Description: Virtual method void QTextEdit::paletteChange(const QPalette &)

This method can be reimplemented in a derived class.

paste

Signature: void paste

Description: Method void QTextEdit::paste()

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 (QPrinter ptr printer)

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

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

qt_create

Signature: void qt_create (unsigned 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.

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.

resetInputContext

Signature: void resetInputContext

Description: Method void QTextEdit::resetInputContext()

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

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.

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.

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.

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: Method void QTextEdit::setupViewport(QWidget *viewport)

This method is protected and can only be called from inside 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.

styleChange

Signature: void styleChange (QStyle arg1)

Description: Virtual method void QTextEdit::styleChange(QStyle &)

This method can be reimplemented in a derived 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.

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 arg1)

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

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

(1) Signature: [static] string tr (string s, string c = 0)

Description: Static method QString QTextEdit::tr(const char *s, const char *c)

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

(2) Signature: [static] string tr (string s, string c, int n)

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

(1) Signature: [static] string trUtf8 (string s, string c = 0)

Description: Static method QString QTextEdit::trUtf8(const char *s, const char *c)

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

(2) Signature: [static] string trUtf8 (string s, string c, int n)

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.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr e)

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

This method can be reimplemented in a derived class.

windowActivationChange

Signature: void windowActivationChange (bool arg1)

Description: Virtual method void QTextEdit::windowActivationChange(bool)

This method can be reimplemented in a derived class.

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)

zoomOut

Signature: void zoomOut (int range = 1)

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