QPlainTextEdit

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QPlainTextEdit : QAbstractScrollArea {}

Constructors

this
this(QWidget parent)
Undocumented in source.
this
this(const(QString) text, QWidget parent)
Undocumented in source.
this
this(QPlainTextEditPrivate dd, QWidget parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

LineWrapMode
enum LineWrapMode
Undocumented in source.

Functions

anchorAt
QString anchorAt(const(QPoint) pos)
Undocumented in source.
appendHtml
void appendHtml(const(QString) html)
Undocumented in source.
appendPlainText
void appendPlainText(const(QString) text)
Undocumented in source.
appendPlainText
void appendPlainText(const(QString) text)
Undocumented in source. Be warned that the author may not have intended to support it.
backgroundVisible
bool backgroundVisible()
Undocumented in source.
blockBoundingGeometry
QRectF blockBoundingGeometry(const(QTextBlock) block)
Undocumented in source.
blockBoundingRect
QRectF blockBoundingRect(const(QTextBlock) block)
Undocumented in source.
blockCount
int blockCount()
Undocumented in source.
blockCountChanged
void blockCountChanged(int newBlockCount)
Undocumented in source.
canPaste
bool canPaste()
Undocumented in source.
centerCursor
void centerCursor()
Undocumented in source.
centerOnScroll
bool centerOnScroll()
Undocumented in source.
changeEvent
void changeEvent(QEvent e)
Undocumented in source.
clear
void clear()
Undocumented in source.
contentOffset
QPointF contentOffset()
Undocumented in source.
contextMenuEvent
void contextMenuEvent(QContextMenuEvent e)
Undocumented in source.
copyAvailable
void copyAvailable(bool b)
Undocumented in source.
createMimeDataFromSelection
QMimeData createMimeDataFromSelection()
Undocumented in source.
createStandardContextMenu
QMenu createStandardContextMenu()
Undocumented in source.
createStandardContextMenu
QMenu createStandardContextMenu(const(QPoint) position)
Undocumented in source.
currentCharFormat
QTextCharFormat currentCharFormat()
Undocumented in source.
cursorForPosition
QTextCursor cursorForPosition(const(QPoint) pos)
Undocumented in source.
cursorPositionChanged
void cursorPositionChanged()
Undocumented in source.
cursorRect
QRect cursorRect(const(QTextCursor) cursor)
Undocumented in source.
cursorRect
QRect cursorRect()
Undocumented in source.
cursorWidth
int cursorWidth()
Undocumented in source.
cut
void cut()
Undocumented in source.
doSetTextCursor
void doSetTextCursor(const(QTextCursor) cursor)
Undocumented in source.
document
QTextDocument document()
Undocumented in source.
documentTitle
QString documentTitle()
Undocumented in source. Be warned that the author may not have intended to support it.
dragEnterEvent
void dragEnterEvent(QDragEnterEvent e)
Undocumented in source.
dragLeaveEvent
void dragLeaveEvent(QDragLeaveEvent e)
Undocumented in source.
dragMoveEvent
void dragMoveEvent(QDragMoveEvent e)
Undocumented in source.
dropEvent
void dropEvent(QDropEvent e)
Undocumented in source.
ensureCursorVisible
void ensureCursorVisible()
Undocumented in source.
event
bool event(QEvent e)
Undocumented in source.
extraSelections
QList!(QTextEdit.ExtraSelection) extraSelections()
Undocumented in source.
firstVisibleBlock
QTextBlock firstVisibleBlock()
Undocumented in source.
focusInEvent
void focusInEvent(QFocusEvent e)
Undocumented in source.
focusNextPrevChild
bool focusNextPrevChild(bool next)
Undocumented in source.
focusOutEvent
void focusOutEvent(QFocusEvent e)
Undocumented in source.
getPaintContext
QAbstractTextDocumentLayout.PaintContext getPaintContext()
Undocumented in source.
inputMethodEvent
void inputMethodEvent(QInputMethodEvent )
Undocumented in source.
inputMethodQuery
QVariant inputMethodQuery(qt.core.namespace.InputMethodQuery property)
Undocumented in source.
inputMethodQuery
QVariant inputMethodQuery(qt.core.namespace.InputMethodQuery query, QVariant argument)
Undocumented in source.
insertPlainText
void insertPlainText(const(QString) text)
Undocumented in source.
isReadOnly
bool isReadOnly()
Undocumented in source.
isUndoRedoEnabled
bool isUndoRedoEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
keyPressEvent
void keyPressEvent(QKeyEvent e)
Undocumented in source.
keyReleaseEvent
void keyReleaseEvent(QKeyEvent e)
Undocumented in source.
lineWrapMode
LineWrapMode lineWrapMode()
Undocumented in source.
loadResource
QVariant loadResource(int type, const(QUrl) name)
Undocumented in source.
maximumBlockCount
int maximumBlockCount()
Undocumented in source. Be warned that the author may not have intended to support it.
mergeCurrentCharFormat
void mergeCurrentCharFormat(const(QTextCharFormat) modifier)
Undocumented in source.
modificationChanged
void modificationChanged(bool )
Undocumented in source.
mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent e)
Undocumented in source.
mouseMoveEvent
void mouseMoveEvent(QMouseEvent e)
Undocumented in source.
mousePressEvent
void mousePressEvent(QMouseEvent e)
Undocumented in source.
mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent e)
Undocumented in source.
moveCursor
void moveCursor(QTextCursor.MoveOperation operation, QTextCursor.MoveMode mode)
Undocumented in source.
overwriteMode
bool overwriteMode()
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent e)
Undocumented in source.
paste
void paste()
Undocumented in source.
placeholderText
QString placeholderText()
Undocumented in source.
print
void print(QPagedPaintDevice printer)
Undocumented in source.
redo
void redo()
Undocumented in source.
redoAvailable
void redoAvailable(bool b)
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent e)
Undocumented in source.
scrollContentsBy
void scrollContentsBy(int dx, int dy)
Undocumented in source.
selectAll
void selectAll()
Undocumented in source.
selectionChanged
void selectionChanged()
Undocumented in source.
setBackgroundVisible
void setBackgroundVisible(bool visible)
Undocumented in source.
setCenterOnScroll
void setCenterOnScroll(bool enabled)
Undocumented in source.
setCurrentCharFormat
void setCurrentCharFormat(const(QTextCharFormat) format)
Undocumented in source.
setCursorWidth
void setCursorWidth(int width)
Undocumented in source.
setDocument
void setDocument(QTextDocument document)
Undocumented in source.
setDocumentTitle
void setDocumentTitle(const(QString) title)
Undocumented in source. Be warned that the author may not have intended to support it.
setExtraSelections
void setExtraSelections(const(QList!(QTextEdit.ExtraSelection)) selections)
Undocumented in source.
setLineWrapMode
void setLineWrapMode(LineWrapMode mode)
Undocumented in source.
setMaximumBlockCount
void setMaximumBlockCount(int maximum)
Undocumented in source. Be warned that the author may not have intended to support it.
setOverwriteMode
void setOverwriteMode(bool overwrite)
Undocumented in source.
setPlaceholderText
void setPlaceholderText(const(QString) placeholderText)
Undocumented in source.
setPlainText
void setPlainText(const(QString) text)
Undocumented in source.
setPlainText
void setPlainText(QString s)
Undocumented in source. Be warned that the author may not have intended to support it.
setReadOnly
void setReadOnly(bool ro)
Undocumented in source.
setTabChangesFocus
void setTabChangesFocus(bool b)
Undocumented in source.
setTabStopDistance
void setTabStopDistance(qreal distance)
Undocumented in source.
setTabStopWidth
void setTabStopWidth(int width)
Undocumented in source.
setTextCursor
void setTextCursor(const(QTextCursor) cursor)
Undocumented in source.
setTextInteractionFlags
void setTextInteractionFlags(qt.core.namespace.TextInteractionFlags flags)
Undocumented in source.
setUndoRedoEnabled
void setUndoRedoEnabled(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
setWordWrapMode
void setWordWrapMode(QTextOption.WrapMode policy)
Undocumented in source.
showEvent
void showEvent(QShowEvent )
Undocumented in source.
tabChangesFocus
bool tabChangesFocus()
Undocumented in source.
tabStopDistance
qreal tabStopDistance()
Undocumented in source.
tabStopWidth
int tabStopWidth()
Undocumented in source.
textChanged
void textChanged()
Undocumented in source.
textCursor
QTextCursor textCursor()
Undocumented in source.
textInteractionFlags
qt.core.namespace.TextInteractionFlags textInteractionFlags()
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent e)
Undocumented in source.
toPlainText
QString toPlainText()
Undocumented in source. Be warned that the author may not have intended to support it.
undo
void undo()
Undocumented in source.
undoAvailable
void undoAvailable(bool b)
Undocumented in source.
updateRequest
void updateRequest(const(QRect) rect, int dy)
Undocumented in source.
wheelEvent
void wheelEvent(QWheelEvent e)
Undocumented in source.
wordWrapMode
QTextOption.WrapMode wordWrapMode()
Undocumented in source.
zoomIn
void zoomIn(int range)
Undocumented in source.
zoomInF
void zoomInF(float range)
Undocumented in source.
zoomOut
void zoomOut(int range)
Undocumented in source.

Inherited Members

From QAbstractScrollArea

~this
~this()
Undocumented in source.
SizeAdjustPolicy
enum SizeAdjustPolicy
Undocumented in source.
verticalScrollBarPolicy
qt.core.namespace.ScrollBarPolicy verticalScrollBarPolicy()
Undocumented in source.
setVerticalScrollBarPolicy
void setVerticalScrollBarPolicy(qt.core.namespace.ScrollBarPolicy )
Undocumented in source.
verticalScrollBar
QScrollBar verticalScrollBar()
Undocumented in source.
setVerticalScrollBar
void setVerticalScrollBar(QScrollBar scrollbar)
Undocumented in source.
horizontalScrollBarPolicy
qt.core.namespace.ScrollBarPolicy horizontalScrollBarPolicy()
Undocumented in source.
setHorizontalScrollBarPolicy
void setHorizontalScrollBarPolicy(qt.core.namespace.ScrollBarPolicy )
Undocumented in source.
horizontalScrollBar
QScrollBar horizontalScrollBar()
Undocumented in source.
setHorizontalScrollBar
void setHorizontalScrollBar(QScrollBar scrollbar)
Undocumented in source.
cornerWidget
QWidget cornerWidget()
Undocumented in source.
setCornerWidget
void setCornerWidget(QWidget widget)
Undocumented in source.
addScrollBarWidget
void addScrollBarWidget(QWidget widget, qt.core.namespace.Alignment alignment)
Undocumented in source.
scrollBarWidgets
QWidgetList scrollBarWidgets(qt.core.namespace.Alignment alignment)
Undocumented in source.
viewport
QWidget viewport()
Undocumented in source.
setViewport
void setViewport(QWidget widget)
Undocumented in source.
maximumViewportSize
QSize maximumViewportSize()
Undocumented in source.
minimumSizeHint
QSize minimumSizeHint()
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source.
setupViewport
void setupViewport(QWidget viewport)
Undocumented in source.
sizeAdjustPolicy
SizeAdjustPolicy sizeAdjustPolicy()
Undocumented in source.
setSizeAdjustPolicy
void setSizeAdjustPolicy(SizeAdjustPolicy policy)
Undocumented in source.
setViewportMargins
void setViewportMargins(int left, int top, int right, int bottom)
Undocumented in source.
setViewportMargins
void setViewportMargins(const(QMargins) margins)
Undocumented in source.
viewportMargins
QMargins viewportMargins()
Undocumented in source.
eventFilter
bool eventFilter(QObject , QEvent )
Undocumented in source.
event
bool event(QEvent )
Undocumented in source.
viewportEvent
bool viewportEvent(QEvent )
Undocumented in source.
resizeEvent
void resizeEvent(QResizeEvent )
Undocumented in source.
paintEvent
void paintEvent(QPaintEvent )
Undocumented in source.
mousePressEvent
void mousePressEvent(QMouseEvent )
Undocumented in source.
mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent )
Undocumented in source.
mouseDoubleClickEvent
void mouseDoubleClickEvent(QMouseEvent )
Undocumented in source.
mouseMoveEvent
void mouseMoveEvent(QMouseEvent )
Undocumented in source.
wheelEvent
void wheelEvent(QWheelEvent )
Undocumented in source.
contextMenuEvent
void contextMenuEvent(QContextMenuEvent )
Undocumented in source.
dragEnterEvent
void dragEnterEvent(QDragEnterEvent )
Undocumented in source.
dragMoveEvent
void dragMoveEvent(QDragMoveEvent )
Undocumented in source.
dragLeaveEvent
void dragLeaveEvent(QDragLeaveEvent )
Undocumented in source.
dropEvent
void dropEvent(QDropEvent )
Undocumented in source.
keyPressEvent
void keyPressEvent(QKeyEvent )
Undocumented in source.
scrollContentsBy
void scrollContentsBy(int dx, int dy)
Undocumented in source.
viewportSizeHint
QSize viewportSizeHint()
Undocumented in source.

Meta