API reference - Class QPlainTextEdit

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QPlainTextEdit

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

Sub-classes: LineWrapMode, QFlags_LineWrapMode

Public constructors

new QPlainTextEditnew(QWidget ptr parent = 0)Constructor QPlainTextEdit::QPlainTextEdit(QWidget *parent)
new QPlainTextEditnew(string text,
QWidget ptr parent = 0)
Constructor QPlainTextEdit::QPlainTextEdit(const QString &text, QWidget *parent)

Public methods

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]stringanchorAt(const QPoint pos)Method QString QPlainTextEdit::anchorAt(const QPoint &pos)
voidappendHtml(string html)Method void QPlainTextEdit::appendHtml(const QString &html)
voidappendPlainText(string text)Method void QPlainTextEdit::appendPlainText(const QString &text)
[const]boolbackgroundVisibleMethod bool QPlainTextEdit::backgroundVisible()
voidbackgroundVisible=(bool visible)Method void QPlainTextEdit::setBackgroundVisible(bool visible)
[const]intblockCountMethod int QPlainTextEdit::blockCount()
[signal]voidblockCountChanged(int newBlockCount)Signal declaration for QPlainTextEdit::blockCountChanged(int newBlockCount)
[const]boolcanPasteMethod bool QPlainTextEdit::canPaste()
voidcenterCursorMethod void QPlainTextEdit::centerCursor()
[const]boolcenterOnScrollMethod bool QPlainTextEdit::centerOnScroll()
voidcenterOnScroll=(bool enabled)Method void QPlainTextEdit::setCenterOnScroll(bool enabled)
voidclearMethod void QPlainTextEdit::clear()
voidcopyMethod void QPlainTextEdit::copy()
[signal]voidcopyAvailable(bool b)Signal declaration for QPlainTextEdit::copyAvailable(bool b)
QMenu ptrcreateStandardContextMenuMethod QMenu *QPlainTextEdit::createStandardContextMenu()
QMenu ptrcreateStandardContextMenu(const QPoint position)Method QMenu *QPlainTextEdit::createStandardContextMenu(const QPoint &position)
[const]QTextCharFormatcurrentCharFormatMethod QTextCharFormat QPlainTextEdit::currentCharFormat()
voidcurrentCharFormat=(const QTextCharFormat format)Method void QPlainTextEdit::setCurrentCharFormat(const QTextCharFormat &format)
[const]QTextCursorcursorForPosition(const QPoint pos)Method QTextCursor QPlainTextEdit::cursorForPosition(const QPoint &pos)
[signal]voidcursorPositionChangedSignal declaration for QPlainTextEdit::cursorPositionChanged()
[const]QRectcursorRect(const QTextCursor cursor)Method QRect QPlainTextEdit::cursorRect(const QTextCursor &cursor)
[const]QRectcursorRectMethod QRect QPlainTextEdit::cursorRect()
[const]intcursorWidthMethod int QPlainTextEdit::cursorWidth()
voidcursorWidth=(int width)Method void QPlainTextEdit::setCursorWidth(int width)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QPlainTextEdit::customContextMenuRequested(const QPoint &pos)
voidcutMethod void QPlainTextEdit::cut()
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QPlainTextEdit::destroyed(QObject *)
[const]QTextDocument ptrdocumentMethod QTextDocument *QPlainTextEdit::document()
voiddocument=(QTextDocument ptr document)Method void QPlainTextEdit::setDocument(QTextDocument *document)
[const]stringdocumentTitleMethod QString QPlainTextEdit::documentTitle()
voiddocumentTitle=(string title)Method void QPlainTextEdit::setDocumentTitle(const QString &title)
voidemit_blockCountChanged(int newBlockCount)Emitter for signal void QPlainTextEdit::blockCountChanged(int newBlockCount)
voidemit_copyAvailable(bool b)Emitter for signal void QPlainTextEdit::copyAvailable(bool b)
voidemit_cursorPositionChangedEmitter for signal void QPlainTextEdit::cursorPositionChanged()
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QPlainTextEdit::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QPlainTextEdit::destroyed(QObject *)
voidemit_modificationChanged(bool arg1)Emitter for signal void QPlainTextEdit::modificationChanged(bool)
voidemit_objectNameChanged(string objectName)Emitter for signal void QPlainTextEdit::objectNameChanged(const QString &objectName)
voidemit_redoAvailable(bool b)Emitter for signal void QPlainTextEdit::redoAvailable(bool b)
voidemit_selectionChangedEmitter for signal void QPlainTextEdit::selectionChanged()
voidemit_textChangedEmitter for signal void QPlainTextEdit::textChanged()
voidemit_undoAvailable(bool b)Emitter for signal void QPlainTextEdit::undoAvailable(bool b)
voidemit_updateRequest(const QRect rect,
int dy)
Emitter for signal void QPlainTextEdit::updateRequest(const QRect &rect, int dy)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QPlainTextEdit::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QPlainTextEdit::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QPlainTextEdit::windowTitleChanged(const QString &title)
voidensureCursorVisibleMethod void QPlainTextEdit::ensureCursorVisible()
[const]QTextEdit_ExtraSelection[]extraSelectionsMethod QList<QTextEdit::ExtraSelection> QPlainTextEdit::extraSelections()
voidextraSelections=(QTextEdit_ExtraSelection[] selections)Method void QPlainTextEdit::setExtraSelections(const QList<QTextEdit::ExtraSelection> &selections)
boolfind(string exp,
QTextDocument_QFlags_FindFlag options = 0)
Method bool QPlainTextEdit::find(const QString &exp, QFlags<QTextDocument::FindFlag> options)
boolfind(const QRegExp exp,
QTextDocument_QFlags_FindFlag options = 0)
Method bool QPlainTextEdit::find(const QRegExp &exp, QFlags<QTextDocument::FindFlag> options)
[const]boolhasHeightForWidthVirtual method bool QPlainTextEdit::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QPlainTextEdit::heightForWidth(int)
[const]variantinputMethodQuery(const Qt_InputMethodQuery property)Virtual method QVariant QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property)
voidinsertPlainText(string text)Method void QPlainTextEdit::insertPlainText(const QString &text)
[const]boolisReadOnly?Method bool QPlainTextEdit::isReadOnly()
[const]boolisUndoRedoEnabled?Method bool QPlainTextEdit::isUndoRedoEnabled()
[const]QPlainTextEdit_LineWrapModelineWrapModeMethod QPlainTextEdit::LineWrapMode QPlainTextEdit::lineWrapMode()
voidlineWrapMode=(const QPlainTextEdit_LineWrapMode mode)Method void QPlainTextEdit::setLineWrapMode(QPlainTextEdit::LineWrapMode mode)
variantloadResource(int type,
const QUrl name)
Virtual method QVariant QPlainTextEdit::loadResource(int type, const QUrl &name)
[const]intmaximumBlockCountMethod int QPlainTextEdit::maximumBlockCount()
voidmaximumBlockCount=(int maximum)Method void QPlainTextEdit::setMaximumBlockCount(int maximum)
voidmergeCurrentCharFormat(const QTextCharFormat modifier)Method void QPlainTextEdit::mergeCurrentCharFormat(const QTextCharFormat &modifier)
[const]QSizeminimumSizeHintVirtual method QSize QPlainTextEdit::minimumSizeHint()
[signal]voidmodificationChanged(bool arg1)Signal declaration for QPlainTextEdit::modificationChanged(bool)
voidmoveCursor(const QTextCursor_MoveOperation operation,
const QTextCursor_MoveMode mode = QTextCursor::MoveAnchor)
Method void QPlainTextEdit::moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QPlainTextEdit::objectNameChanged(const QString &objectName)
[const]booloverwriteModeMethod bool QPlainTextEdit::overwriteMode()
voidoverwriteMode=(bool overwrite)Method void QPlainTextEdit::setOverwriteMode(bool overwrite)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QPlainTextEdit::paintEngine()
voidpasteMethod void QPlainTextEdit::paste()
[const]stringplaceholderTextMethod QString QPlainTextEdit::placeholderText()
voidplaceholderText=(string placeholderText)Method void QPlainTextEdit::setPlaceholderText(const QString &placeholderText)
voidplainText=(string text)Method void QPlainTextEdit::setPlainText(const QString &text)
[const]voidprint(QPagedPaintDevice ptr printer)Method void QPlainTextEdit::print(QPagedPaintDevice *printer)
[const]boolreadOnlyMethod bool QPlainTextEdit::isReadOnly()
voidreadOnly=(bool ro)Method void QPlainTextEdit::setReadOnly(bool ro)
voidredoMethod void QPlainTextEdit::redo()
[signal]voidredoAvailable(bool b)Signal declaration for QPlainTextEdit::redoAvailable(bool b)
voidselectAllMethod void QPlainTextEdit::selectAll()
[signal]voidselectionChangedSignal declaration for QPlainTextEdit::selectionChanged()
voidsetBackgroundVisible(bool visible)Method void QPlainTextEdit::setBackgroundVisible(bool visible)
voidsetCenterOnScroll(bool enabled)Method void QPlainTextEdit::setCenterOnScroll(bool enabled)
voidsetCurrentCharFormat(const QTextCharFormat format)Method void QPlainTextEdit::setCurrentCharFormat(const QTextCharFormat &format)
voidsetCursorWidth(int width)Method void QPlainTextEdit::setCursorWidth(int width)
voidsetDocument(QTextDocument ptr document)Method void QPlainTextEdit::setDocument(QTextDocument *document)
voidsetDocumentTitle(string title)Method void QPlainTextEdit::setDocumentTitle(const QString &title)
voidsetExtraSelections(QTextEdit_ExtraSelection[] selections)Method void QPlainTextEdit::setExtraSelections(const QList<QTextEdit::ExtraSelection> &selections)
voidsetLineWrapMode(const QPlainTextEdit_LineWrapMode mode)Method void QPlainTextEdit::setLineWrapMode(QPlainTextEdit::LineWrapMode mode)
voidsetMaximumBlockCount(int maximum)Method void QPlainTextEdit::setMaximumBlockCount(int maximum)
voidsetOverwriteMode(bool overwrite)Method void QPlainTextEdit::setOverwriteMode(bool overwrite)
voidsetPlaceholderText(string placeholderText)Method void QPlainTextEdit::setPlaceholderText(const QString &placeholderText)
voidsetPlainText(string text)Method void QPlainTextEdit::setPlainText(const QString &text)
voidsetReadOnly(bool ro)Method void QPlainTextEdit::setReadOnly(bool ro)
voidsetTabChangesFocus(bool b)Method void QPlainTextEdit::setTabChangesFocus(bool b)
voidsetTabStopWidth(int width)Method void QPlainTextEdit::setTabStopWidth(int width)
voidsetTextCursor(const QTextCursor cursor)Method void QPlainTextEdit::setTextCursor(const QTextCursor &cursor)
voidsetTextInteractionFlags(Qt_QFlags_TextInteractionFlag flags)Method void QPlainTextEdit::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)
voidsetUndoRedoEnabled(bool enable)Method void QPlainTextEdit::setUndoRedoEnabled(bool enable)
voidsetVisible(bool visible)Virtual method void QPlainTextEdit::setVisible(bool visible)
voidsetWordWrapMode(const QTextOption_WrapMode policy)Method void QPlainTextEdit::setWordWrapMode(QTextOption::WrapMode policy)
voidsetupViewport(QWidget ptr viewport)Virtual method void QPlainTextEdit::setupViewport(QWidget *viewport)
[const]QSizesizeHintVirtual method QSize QPlainTextEdit::sizeHint()
[const]booltabChangesFocusMethod bool QPlainTextEdit::tabChangesFocus()
voidtabChangesFocus=(bool b)Method void QPlainTextEdit::setTabChangesFocus(bool b)
[const]inttabStopWidthMethod int QPlainTextEdit::tabStopWidth()
voidtabStopWidth=(int width)Method void QPlainTextEdit::setTabStopWidth(int width)
[signal]voidtextChangedSignal declaration for QPlainTextEdit::textChanged()
[const]QTextCursortextCursorMethod QTextCursor QPlainTextEdit::textCursor()
voidtextCursor=(const QTextCursor cursor)Method void QPlainTextEdit::setTextCursor(const QTextCursor &cursor)
[const]Qt_QFlags_TextInteractionFlagtextInteractionFlagsMethod QFlags<Qt::TextInteractionFlag> QPlainTextEdit::textInteractionFlags()
voidtextInteractionFlags=(Qt_QFlags_TextInteractionFlag flags)Method void QPlainTextEdit::setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)
[const]stringtoPlainTextMethod QString QPlainTextEdit::toPlainText()
voidundoMethod void QPlainTextEdit::undo()
[signal]voidundoAvailable(bool b)Signal declaration for QPlainTextEdit::undoAvailable(bool b)
[const]boolundoRedoEnabledMethod bool QPlainTextEdit::isUndoRedoEnabled()
voidundoRedoEnabled=(bool enable)Method void QPlainTextEdit::setUndoRedoEnabled(bool enable)
[signal]voidupdateRequest(const QRect rect,
int dy)
Signal declaration for QPlainTextEdit::updateRequest(const QRect &rect, int dy)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QPlainTextEdit::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QPlainTextEdit::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QPlainTextEdit::windowTitleChanged(const QString &title)
[const]QTextOption_WrapModewordWrapModeMethod QTextOption::WrapMode QPlainTextEdit::wordWrapMode()
voidwordWrapMode=(const QTextOption_WrapMode policy)Method void QPlainTextEdit::setWordWrapMode(QTextOption::WrapMode policy)
voidzoomIn(int range = 1)Method void QPlainTextEdit::zoomIn(int range)
voidzoomOut(int range = 1)Method void QPlainTextEdit::zoomOut(int range)

Public static methods and constants

[static,const]QPlainTextEdit_LineWrapModeNoWrapEnum constant QPlainTextEdit::NoWrap
[static,const]QPlainTextEdit_LineWrapModeWidgetWidthEnum constant QPlainTextEdit::WidgetWidth
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QPlainTextEdit::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QPlainTextEdit::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

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

Detailed description

NoWrap

Signature: [static,const] QPlainTextEdit_LineWrapMode NoWrap

Description: Enum constant QPlainTextEdit::NoWrap

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

WidgetWidth

Signature: [static,const] QPlainTextEdit_LineWrapMode WidgetWidth

Description: Enum constant QPlainTextEdit::WidgetWidth

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

_create

Signature: void _create

Description: Ensures the C++ object is created

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

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

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

_destroyed?

Signature: [const] bool _destroyed?

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

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

_is_const_object?

Signature: [const] bool _is_const_object?

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

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

_manage

Signature: void _manage

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

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

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

_unmanage

Signature: void _unmanage

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

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

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

actionEvent

Signature: void actionEvent (QActionEvent ptr arg1)

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

This method can be reimplemented in a derived class.

anchorAt

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

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

appendHtml

Signature: void appendHtml (string html)

Description: Method void QPlainTextEdit::appendHtml(const QString &html)

appendPlainText

Signature: void appendPlainText (string text)

Description: Method void QPlainTextEdit::appendPlainText(const QString &text)

backgroundVisible

Signature: [const] bool backgroundVisible

Description: Method bool QPlainTextEdit::backgroundVisible()

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

backgroundVisible=

Signature: void backgroundVisible= (bool visible)

Description: Method void QPlainTextEdit::setBackgroundVisible(bool visible)

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

blockBoundingGeometry

Signature: [const] QRectF blockBoundingGeometry (const QTextBlock block)

Description: Method QRectF QPlainTextEdit::blockBoundingGeometry(const QTextBlock &block)

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

blockBoundingRect

Signature: [const] QRectF blockBoundingRect (const QTextBlock block)

Description: Method QRectF QPlainTextEdit::blockBoundingRect(const QTextBlock &block)

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

blockCount

Signature: [const] int blockCount

Description: Method int QPlainTextEdit::blockCount()

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

blockCountChanged

Signature: [signal] void blockCountChanged (int newBlockCount)

Description: Signal declaration for QPlainTextEdit::blockCountChanged(int newBlockCount)

You can bind a procedure to this signal.

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

canInsertFromMimeData

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

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

This method can be reimplemented in a derived class.

canPaste

Signature: [const] bool canPaste

Description: Method bool QPlainTextEdit::canPaste()

centerCursor

Signature: void centerCursor

Description: Method void QPlainTextEdit::centerCursor()

centerOnScroll

Signature: [const] bool centerOnScroll

Description: Method bool QPlainTextEdit::centerOnScroll()

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

centerOnScroll=

Signature: void centerOnScroll= (bool enabled)

Description: Method void QPlainTextEdit::setCenterOnScroll(bool enabled)

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

changeEvent

Signature: void changeEvent (QEvent ptr e)

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

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

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

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QPlainTextEdit::clear()

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

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

This method can be reimplemented in a derived class.

contentOffset

Signature: [const] QPointF contentOffset

Description: Method QPointF QPlainTextEdit::contentOffset()

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

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr e)

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

This method can be reimplemented in a derived class.

copy

Signature: void copy

Description: Method void QPlainTextEdit::copy()

copyAvailable

Signature: [signal] void copyAvailable (bool b)

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

This method can be reimplemented in a derived class.

createStandardContextMenu

(1) Signature: QMenu ptr createStandardContextMenu

Description: Method QMenu *QPlainTextEdit::createStandardContextMenu()

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

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

currentCharFormat

Signature: [const] QTextCharFormat currentCharFormat

Description: Method QTextCharFormat QPlainTextEdit::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 QPlainTextEdit::setCurrentCharFormat(const QTextCharFormat &format)

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

cursorForPosition

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

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

cursorPositionChanged

Signature: [signal] void cursorPositionChanged

Description: Signal declaration for QPlainTextEdit::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 QPlainTextEdit::cursorRect(const QTextCursor &cursor)

(2) Signature: [const] QRect cursorRect

Description: Method QRect QPlainTextEdit::cursorRect()

cursorWidth

Signature: [const] int cursorWidth

Description: Method int QPlainTextEdit::cursorWidth()

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

cursorWidth=

Signature: void cursorWidth= (int width)

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

This method can be reimplemented in a derived class.

cut

Signature: void cut

Description: Method void QPlainTextEdit::cut()

destroyed

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

Description: Signal declaration for QPlainTextEdit::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 QPlainTextEdit::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

doSetTextCursor

Signature: void doSetTextCursor (const QTextCursor cursor)

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

This method can be reimplemented in a derived class.

document

Signature: [const] QTextDocument ptr document

Description: Method QTextDocument *QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::documentTitle()

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

documentTitle=

Signature: void documentTitle= (string title)

Description: Method void QPlainTextEdit::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 QPlainTextEdit::dragEnterEvent(QDragEnterEvent *e)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr e)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr e)

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

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

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

This method can be reimplemented in a derived class.

emit_blockCountChanged

Signature: void emit_blockCountChanged (int newBlockCount)

Description: Emitter for signal void QPlainTextEdit::blockCountChanged(int newBlockCount)

Call this method to emit this signal.

emit_copyAvailable

Signature: void emit_copyAvailable (bool b)

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

Call this method to emit this signal.

emit_cursorPositionChanged

Signature: void emit_cursorPositionChanged

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

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

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

Call this method to emit this signal.

emit_modificationChanged

Signature: void emit_modificationChanged (bool arg1)

Description: Emitter for signal void QPlainTextEdit::modificationChanged(bool)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

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

Call this method to emit this signal.

emit_redoAvailable

Signature: void emit_redoAvailable (bool b)

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

Call this method to emit this signal.

emit_selectionChanged

Signature: void emit_selectionChanged

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

Call this method to emit this signal.

emit_textChanged

Signature: void emit_textChanged

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

Call this method to emit this signal.

emit_undoAvailable

Signature: void emit_undoAvailable (bool b)

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

Call this method to emit this signal.

emit_updateRequest

Signature: void emit_updateRequest (const QRect rect, int dy)

Description: Emitter for signal void QPlainTextEdit::updateRequest(const QRect &rect, int dy)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

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

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

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

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

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

Call this method to emit this signal.

ensureCursorVisible

Signature: void ensureCursorVisible

Description: Method void QPlainTextEdit::ensureCursorVisible()

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr e)

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

This method can be reimplemented in a derived class.

extraSelections

Signature: [const] QTextEdit_ExtraSelection[] extraSelections

Description: Method QList<QTextEdit::ExtraSelection> QPlainTextEdit::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 QPlainTextEdit::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 = 0)

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

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

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

firstVisibleBlock

Signature: [const] QTextBlock firstVisibleBlock

Description: Method QTextBlock QPlainTextEdit::firstVisibleBlock()

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

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr e)

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

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

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

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr e)

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

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QPlainTextEdit::focusPreviousChild()

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

getPaintContext

Signature: [const] QAbstractTextDocumentLayout_PaintContext getPaintContext

Description: Method QAbstractTextDocumentLayout::PaintContext QPlainTextEdit::getPaintContext()

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

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QPlainTextEdit::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

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

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

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

This method can be reimplemented in a derived class.

initPainter

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

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

This method can be reimplemented in a derived class.

initStyleOption

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

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

This method can be reimplemented in a derived class.

inputMethodQuery

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

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

This method can be reimplemented in a derived class.

insertPlainText

Signature: void insertPlainText (string text)

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

isReadOnly?

Signature: [const] bool isReadOnly?

Description: Method bool QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::keyPressEvent(QKeyEvent *e)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr e)

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

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

lineWrapMode

Signature: [const] QPlainTextEdit_LineWrapMode lineWrapMode

Description: Method QPlainTextEdit::LineWrapMode QPlainTextEdit::lineWrapMode()

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

lineWrapMode=

Signature: void lineWrapMode= (const QPlainTextEdit_LineWrapMode mode)

Description: Method void QPlainTextEdit::setLineWrapMode(QPlainTextEdit::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 QPlainTextEdit::loadResource(int type, const QUrl &name)

This method can be reimplemented in a derived class.

maximumBlockCount

Signature: [const] int maximumBlockCount

Description: Method int QPlainTextEdit::maximumBlockCount()

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

maximumBlockCount=

Signature: void maximumBlockCount= (int maximum)

Description: Method void QPlainTextEdit::setMaximumBlockCount(int maximum)

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

mergeCurrentCharFormat

Signature: void mergeCurrentCharFormat (const QTextCharFormat modifier)

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

metric

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

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

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QPlainTextEdit::minimumSizeHint()

This method can be reimplemented in a derived class.

modificationChanged

Signature: [signal] void modificationChanged (bool arg1)

Description: Signal declaration for QPlainTextEdit::modificationChanged(bool)

You can bind a procedure to this signal.

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

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr e)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr e)

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr e)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr e)

Description: Virtual method void QPlainTextEdit::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 QPlainTextEdit::moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode)

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

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

This method can be reimplemented in a derived class.

nativeEvent

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

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

This method can be reimplemented in a derived class.

new

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

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

This method creates an object of class QPlainTextEdit.

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

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

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

This method creates an object of class QPlainTextEdit.

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

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QPlainTextEdit::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 QPlainTextEdit::overwriteMode()

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

overwriteMode=

Signature: void overwriteMode= (bool overwrite)

Description: Method void QPlainTextEdit::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 *QPlainTextEdit::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr e)

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

This method can be reimplemented in a derived class.

paste

Signature: void paste

Description: Method void QPlainTextEdit::paste()

placeholderText

Signature: [const] string placeholderText

Description: Method QString QPlainTextEdit::placeholderText()

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

placeholderText=

Signature: void placeholderText= (string placeholderText)

Description: Method void QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::isReadOnly()

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

readOnly=

Signature: void readOnly= (bool ro)

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

This method can be reimplemented in a derived class.

redo

Signature: void redo

Description: Method void QPlainTextEdit::redo()

redoAvailable

Signature: [signal] void redoAvailable (bool b)

Description: Signal declaration for QPlainTextEdit::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 QPlainTextEdit::resizeEvent(QResizeEvent *e)

This method can be reimplemented in a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

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

This method can be reimplemented in a derived class.

selectAll

Signature: void selectAll

Description: Method void QPlainTextEdit::selectAll()

selectionChanged

Signature: [signal] void selectionChanged

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

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

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QPlainTextEdit::senderSignalIndex()

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

setBackgroundVisible

Signature: void setBackgroundVisible (bool visible)

Description: Method void QPlainTextEdit::setBackgroundVisible(bool visible)

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

setCenterOnScroll

Signature: void setCenterOnScroll (bool enabled)

Description: Method void QPlainTextEdit::setCenterOnScroll(bool enabled)

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

setCurrentCharFormat

Signature: void setCurrentCharFormat (const QTextCharFormat format)

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

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

setCursorWidth

Signature: void setCursorWidth (int width)

Description: Method void QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::setExtraSelections(const QList<QTextEdit::ExtraSelection> &selections)

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

setLineWrapMode

Signature: void setLineWrapMode (const QPlainTextEdit_LineWrapMode mode)

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

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

setMaximumBlockCount

Signature: void setMaximumBlockCount (int maximum)

Description: Method void QPlainTextEdit::setMaximumBlockCount(int maximum)

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

setOverwriteMode

Signature: void setOverwriteMode (bool overwrite)

Description: Method void QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::setTabStopWidth(int width)

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

setTextCursor

Signature: void setTextCursor (const QTextCursor cursor)

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

This method can be reimplemented in a derived class.

setWordWrapMode

Signature: void setWordWrapMode (const QTextOption_WrapMode policy)

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

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

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

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

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

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QPlainTextEdit::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 QPlainTextEdit::tabChangesFocus()

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

tabChangesFocus=

Signature: void tabChangesFocus= (bool b)

Description: Method void QPlainTextEdit::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 QPlainTextEdit::tabStopWidth()

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

tabStopWidth=

Signature: void tabStopWidth= (int width)

Description: Method void QPlainTextEdit::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 QPlainTextEdit::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

textChanged

Signature: [signal] void textChanged

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

textCursor

Signature: [const] QTextCursor textCursor

Description: Method QTextCursor QPlainTextEdit::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 QPlainTextEdit::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> QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::timerEvent(QTimerEvent *e)

This method can be reimplemented in a derived class.

toPlainText

Signature: [const] string toPlainText

Description: Method QString QPlainTextEdit::toPlainText()

tr

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

Description: Static method QString QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::undo()

undoAvailable

Signature: [signal] void undoAvailable (bool b)

Description: Signal declaration for QPlainTextEdit::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 QPlainTextEdit::isUndoRedoEnabled()

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

undoRedoEnabled=

Signature: void undoRedoEnabled= (bool enable)

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

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

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QPlainTextEdit::updateMicroFocus()

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

updateRequest

Signature: [signal] void updateRequest (const QRect rect, int dy)

Description: Signal declaration for QPlainTextEdit::updateRequest(const QRect &rect, int dy)

You can bind a procedure to this signal.

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

viewportEvent

Signature: bool viewportEvent (QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QPlainTextEdit::viewportMargins()

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

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QPlainTextEdit::viewportSizeHint()

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr e)

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

This method can be reimplemented in a derived class.

windowIconChanged

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

Description: Signal declaration for QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::zoomIn(int range)

zoomInF

Signature: void zoomInF (float range)

Description: Method void QPlainTextEdit::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 QPlainTextEdit::zoomOut(int range)