QTextEdit

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 QTextEdit : QAbstractScrollArea {}

Constructors

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

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

AutoFormatting
alias AutoFormatting = QFlags!(AutoFormattingFlag)
Undocumented in source.

Enums

AutoFormattingFlag
enum AutoFormattingFlag
Undocumented in source.
LineWrapMode
enum LineWrapMode
Undocumented in source.

Functions

acceptRichText
bool acceptRichText()
Undocumented in source.
alignment
qt.core.namespace.Alignment alignment()
Undocumented in source.
anchorAt
QString anchorAt(const(QPoint) pos)
Undocumented in source.
append
void append(const(QString) text)
Undocumented in source.
autoFormatting
AutoFormatting autoFormatting()
Undocumented in source.
canPaste
bool canPaste()
Undocumented in source.
changeEvent
void changeEvent(QEvent e)
Undocumented in source.
clear
void clear()
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.
currentCharFormatChanged
void currentCharFormatChanged(const(QTextCharFormat) format)
Undocumented in source.
currentFont
QFont currentFont()
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!(ExtraSelection) extraSelections()
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.
fontFamily
QString fontFamily()
Undocumented in source.
fontItalic
bool fontItalic()
Undocumented in source.
fontPointSize
qreal fontPointSize()
Undocumented in source.
fontUnderline
bool fontUnderline()
Undocumented in source.
fontWeight
int fontWeight()
Undocumented in source.
inputMethodEvent
void inputMethodEvent(QInputMethodEvent )
Undocumented in source.
inputMethodQuery
QVariant inputMethodQuery(qt.core.namespace.InputMethodQuery query, QVariant argument)
Undocumented in source.
inputMethodQuery
QVariant inputMethodQuery(qt.core.namespace.InputMethodQuery property)
Undocumented in source.
insertHtml
void insertHtml(const(QString) text)
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.
lineWrapColumnOrWidth
int lineWrapColumnOrWidth()
Undocumented in source.
lineWrapMode
LineWrapMode lineWrapMode()
Undocumented in source.
loadResource
QVariant loadResource(int type, const(QUrl) name)
Undocumented in source.
mergeCurrentCharFormat
void mergeCurrentCharFormat(const(QTextCharFormat) modifier)
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.
scrollToAnchor
void scrollToAnchor(const(QString) name)
Undocumented in source.
selectAll
void selectAll()
Undocumented in source.
selectionChanged
void selectionChanged()
Undocumented in source.
setAcceptRichText
void setAcceptRichText(bool accept)
Undocumented in source.
setAlignment
void setAlignment(qt.core.namespace.Alignment a)
Undocumented in source.
setAutoFormatting
void setAutoFormatting(AutoFormatting features)
Undocumented in source.
setCurrentCharFormat
void setCurrentCharFormat(const(QTextCharFormat) format)
Undocumented in source.
setCurrentFont
void setCurrentFont(const(QFont) f)
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!(ExtraSelection)) selections)
Undocumented in source.
setFontFamily
void setFontFamily(const(QString) fontFamily)
Undocumented in source.
setFontItalic
void setFontItalic(bool b)
Undocumented in source.
setFontPointSize
void setFontPointSize(qreal s)
Undocumented in source.
setFontUnderline
void setFontUnderline(bool b)
Undocumented in source.
setFontWeight
void setFontWeight(int w)
Undocumented in source.
setHtml
void setHtml(const(QString) text)
Undocumented in source.
setHtml
void setHtml(const(QString) text)
Undocumented in source. Be warned that the author may not have intended to support it.
setLineWrapColumnOrWidth
void setLineWrapColumnOrWidth(int w)
Undocumented in source.
setLineWrapMode
void setLineWrapMode(LineWrapMode mode)
Undocumented in source.
setMarkdown
void setMarkdown(const(QString) markdown)
Undocumented in source.
setMarkdown
void setMarkdown(const(QString) markdown)
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(const(QString) text)
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.
setText
void setText(const(QString) text)
Undocumented in source.
setText
void setText(const(QString) text)
Undocumented in source. Be warned that the author may not have intended to support it.
setTextBackgroundColor
void setTextBackgroundColor(const(QColor) c)
Undocumented in source.
setTextColor
void setTextColor(const(QColor) c)
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.
textBackgroundColor
QColor textBackgroundColor()
Undocumented in source.
textChanged
void textChanged()
Undocumented in source.
textColor
QColor textColor()
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.
toHtml
QString toHtml()
Undocumented in source.
toMarkdown
QString toMarkdown(QTextDocument.MarkdownFeatures features)
Undocumented in source.
toPlainText
QString toPlainText()
Undocumented in source.
undo
void undo()
Undocumented in source.
undoAvailable
void undoAvailable(bool b)
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.

Structs

ExtraSelection
struct ExtraSelection
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