18#include <QtWidgets/private/qtwidgetsglobal_p.h>
19#include "private/qabstractscrollarea_p.h"
20#include "QtGui/qtextdocumentfragment.h"
21#if QT_CONFIG(scrollbar)
22#include "QtWidgets/qscrollbar.h"
24#include "QtGui/qtextcursor.h"
25#include "QtGui/qtextformat.h"
27#include "QtWidgets/qmenu.h"
29#include "QtGui/qabstracttextdocumentlayout.h"
30#include "QtCore/qbasictimer.h"
31#include "QtCore/qurl.h"
34#include "private/qwidgettextcontrol_p.h"
62 {
return q_func()->isRightToLeft() ? (hbar->maximum() - hbar->value()) : hbar->value(); }
64 {
return vbar->value(); }
106#ifdef QT_KEYPAD_NAVIGATION
The QPaintEvent class contains event parameters for paint events.
The QPainter class performs low-level painting on widgets and other paint devices.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr int x() const noexcept
Returns the x coordinate of this point.
constexpr int y() const noexcept
Returns the y coordinate of this point.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
MoveMode
\value MoveAnchor Moves the anchor to the same position as the cursor itself.
MoveOperation
\value NoMove Keep the cursor where it is
QWidgetTextControl * control
QTextEdit::LineWrapMode lineWrap
virtual QUrl resolveUrl(const QUrl &url) const
void _q_cursorPositionChanged()
QString anchorToScrollToWhenVisible
Qt::TextFormat textFormat
QBasicTimer autoScrollTimer
void _q_adjustScrollbars()
void pageUpDown(QTextCursor::MoveOperation op, QTextCursor::MoveMode moveMode)
Qt::CursorShape cursorToRestoreAfterHover
void sendControlEvent(QEvent *e)
void _q_repaintContents(const QRectF &contentsRect)
int horizontalOffset() const
int lineWrapColumnOrWidth
uint ignoreAutomaticScrollbarAdjustment
QPoint mapToContents(const QPoint &point) const
void _q_hoveredBlockWithMarkerChanged(const QTextBlock &block)
int verticalOffset() const
void _q_ensureVisible(const QRectF &rect)
void createAutoBulletList()
void _q_currentCharFormatChanged(const QTextCharFormat &format)
uint showCursorOnInitialShow
void init(const QString &html=QString())
void updateDefaultTextOption()
QTextOption::WrapMode wordWrap
QTextEdit::AutoFormatting autoFormatting
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
LineWrapMode
\value NoWrap \value WidgetWidth \value FixedPixelWidth \value FixedColumnWidth
WrapMode
This enum describes how text is wrapped in a document.
virtual void processEvent(QEvent *e, const QTransform &transform, QWidget *contextWidget=nullptr)
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum format
#define QT_REQUIRE_CONFIG(feature)
QUrl url("example.com")
[constructor-url-reference]
view viewport() -> scroll(dx, dy, deviceRect)