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"
65 {
return q_func()->isRightToLeft() ? (hbar->maximum() - hbar->value()) : hbar->value(); }
67 {
return vbar->value(); }
107#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
void repaintContents(const QRectF &contentsRect)
QTextEdit::LineWrapMode lineWrap
virtual QUrl resolveUrl(const QUrl &url) const
void hoveredBlockWithMarkerChanged(const QTextBlock &block)
QString anchorToScrollToWhenVisible
QBasicTimer autoScrollTimer
void pageUpDown(QTextCursor::MoveOperation op, QTextCursor::MoveMode moveMode)
Qt::CursorShape cursorToRestoreAfterHover
void sendControlEvent(QEvent *e)
int horizontalOffset() const
int lineWrapColumnOrWidth
uint ignoreAutomaticScrollbarAdjustment
QPoint mapToContents(const QPoint &point) const
void ensureVisible(const QRectF &rect)
int verticalOffset() const
void createAutoBulletList()
void cursorPositionChanged()
std::array< QMetaObject::Connection, 13 > connections
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.
#define QT_REQUIRE_CONFIG(feature)
QUrl url("example.com")
[constructor-url-reference]
view viewport() -> scroll(dx, dy, deviceRect)