Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickTextControlPrivate Class Reference

#include <qquicktextcontrol_p_p.h>

+ Inheritance diagram for QQuickTextControlPrivate:
+ Collaboration diagram for QQuickTextControlPrivate:

Public Member Functions

 QQuickTextControlPrivate ()
 
bool cursorMoveKeyEvent (QKeyEvent *e)
 
void updateCurrentCharFormat ()
 
void setContent (Qt::TextFormat format, const QString &text)
 
void paste (const QMimeData *source)
 
void setCursorPosition (const QPointF &pos)
 
void setCursorPosition (int pos, QTextCursor::MoveMode mode=QTextCursor::MoveAnchor)
 
void repaintCursor ()
 
void repaintSelection ()
 
void repaintOldAndNewSelection (const QTextCursor &oldSelection)
 
void selectionChanged (bool forceEmitSelectionChanged=false)
 
void _q_updateCurrentCharFormatAndSelection ()
 
void _q_updateCursorPosChanged (const QTextCursor &someCursor)
 
void setBlinkingCursorEnabled (bool enable)
 
void updateCursorFlashTime ()
 
void extendWordwiseSelection (int suggestedNewPosition, qreal mouseXPosition)
 
void extendBlockwiseSelection (int suggestedNewPosition)
 
void _q_setCursorAfterUndoRedo (int undoPosition, int charsAdded, int charsRemoved)
 
QRectF rectForPosition (int position) const
 
void keyPressEvent (QKeyEvent *e)
 
void keyReleaseEvent (QKeyEvent *e)
 
void mousePressEvent (QMouseEvent *event, const QPointF &pos)
 
void mouseMoveEvent (QMouseEvent *event, const QPointF &pos)
 
void mouseReleaseEvent (QMouseEvent *event, const QPointF &pos)
 
void mouseDoubleClickEvent (QMouseEvent *event, const QPointF &pos)
 
bool sendMouseEventToInputContext (QMouseEvent *event, const QPointF &pos)
 
void focusEvent (QFocusEvent *e)
 
void hoverEvent (QHoverEvent *e, const QPointF &pos)
 
void activateLinkUnderCursor (QString href=QString())
 
void _q_copyLink ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QPointF tripleClickPoint
 
QPointF mousePressPos
 
QTextCharFormat lastCharFormat
 
QTextDocumentdoc
 
QTextCursor cursor
 
QTextCursor selectedWordOnDoubleClick
 
QTextCursor selectedBlockOnTripleClick
 
QString anchorOnMousePress
 
QString linkToCopy
 
QString hoveredLink
 
QTextBlock blockWithMarkerUnderMousePress
 
QBasicTimer cursorBlinkTimer
 
ulong timestampAtLastDoubleClick = 0
 
Qt::TextInteractionFlags interactionFlags
 
bool cursorOn: 1
 
bool cursorIsFocusIndicator: 1
 
bool mousePressed: 1
 
bool lastSelectionState: 1
 
bool ignoreAutomaticScrollbarAdjustement: 1
 
bool overwriteMode: 1
 
bool acceptRichText: 1
 
bool cursorVisible: 1
 
bool cursorBlinkingEnabled: 1
 
bool hasFocus: 1
 
bool hadSelectionOnMousePress: 1
 
bool wordSelectionEnabled: 1
 
bool hasImState: 1
 
bool cursorRectangleChanged: 1
 
bool hoveredMarker: 1
 
bool selectByTouchDrag: 1
 
int lastSelectionStart
 
int lastSelectionEnd
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint unused: 21
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Detailed Description

Definition at line 32 of file qquicktextcontrol_p_p.h.

Constructor & Destructor Documentation

◆ QQuickTextControlPrivate()

QQuickTextControlPrivate::QQuickTextControlPrivate ( )

Definition at line 62 of file qquicktextcontrol.cpp.

Member Function Documentation

◆ _q_copyLink()

void QQuickTextControlPrivate::_q_copyLink ( )

◆ _q_setCursorAfterUndoRedo()

void QQuickTextControlPrivate::_q_setCursorAfterUndoRedo ( int  undoPosition,
int  charsAdded,
int  charsRemoved 
)

◆ _q_updateCurrentCharFormatAndSelection()

void QQuickTextControlPrivate::_q_updateCurrentCharFormatAndSelection ( )

Definition at line 410 of file qquicktextcontrol.cpp.

References selectionChanged(), and updateCurrentCharFormat().

Referenced by mouseMoveEvent(), mousePressEvent(), and setContent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_updateCursorPosChanged()

void QQuickTextControlPrivate::_q_updateCursorPosChanged ( const QTextCursor someCursor)

Definition at line 428 of file qquicktextcontrol.cpp.

References cursor, emit, and QTextCursor::isCopyOf().

+ Here is the call graph for this function:

◆ activateLinkUnderCursor()

void QQuickTextControlPrivate::activateLinkUnderCursor ( QString  href = QString())

Definition at line 1685 of file qquicktextcontrol.cpp.

References QTextCharFormat::anchorHref(), QTextBlock::iterator::atEnd(), QTextBlock::begin(), QTextCursor::block(), QTextCursor::charFormat(), QTextFragment::charFormat(), QTextCursor::clearSelection(), cursor, cursorIsFocusIndicator, emit, hasFocus, QTextCursor::hasSelection(), QString::isEmpty(), it, QTextCursor::KeepAnchor, QTextFragment::length(), QTextCursor::movePosition(), QTextCursor::NextCharacter, QTextCursor::position(), QTextFragment::position(), repaintOldAndNewSelection(), QTextCursor::selectionStart(), and QTextCursor::setPosition().

Referenced by mouseReleaseEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cursorMoveKeyEvent()

bool QQuickTextControlPrivate::cursorMoveKeyEvent ( QKeyEvent e)

Definition at line 88 of file qquicktextcontrol.cpp.

References QTextCursor::anchor(), QTextCursor::block(), currentTextLine(), cursor, QTextCursor::Down, e, emit, QTextCursor::End, QTextCursor::EndOfBlock, QTextCursor::EndOfLine, QTextCursor::isNull(), QTextBlock::isValid(), QTextCursor::KeepAnchor, Qt::Key_Down, Qt::Key_Left, Qt::Key_Right, Qt::Key_Up, QTextBlock::layout(), QTextCursor::Left, line, QTextLayout::lineCount(), QTextCursor::MoveAnchor, QTextCursor::movePosition(), QKeySequence::MoveToEndOfBlock, QKeySequence::MoveToEndOfDocument, QKeySequence::MoveToEndOfLine, QKeySequence::MoveToNextChar, QKeySequence::MoveToNextLine, QKeySequence::MoveToNextWord, QKeySequence::MoveToPreviousChar, QKeySequence::MoveToPreviousLine, QKeySequence::MoveToPreviousWord, QKeySequence::MoveToStartOfBlock, QKeySequence::MoveToStartOfDocument, QKeySequence::MoveToStartOfLine, QTextBlock::next(), QTextCursor::NoMove, QTextCursor::position(), Q_UNUSED, repaintOldAndNewSelection(), QTextCursor::Right, QKeySequence::SelectEndOfBlock, QKeySequence::SelectEndOfDocument, QKeySequence::SelectEndOfLine, selectionChanged(), QKeySequence::SelectNextChar, QKeySequence::SelectNextLine, QKeySequence::SelectNextWord, QKeySequence::SelectPreviousChar, QKeySequence::SelectPreviousLine, QKeySequence::SelectPreviousWord, QKeySequence::SelectStartOfBlock, QKeySequence::SelectStartOfDocument, QKeySequence::SelectStartOfLine, QTextCursor::setVisualNavigation(), QTextCursor::Start, QTextCursor::StartOfBlock, QTextCursor::StartOfLine, QTextCursor::Up, QTextCursor::visualNavigation(), QTextCursor::WordLeft, and QTextCursor::WordRight.

Referenced by keyPressEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extendBlockwiseSelection()

void QQuickTextControlPrivate::extendBlockwiseSelection ( int  suggestedNewPosition)

Definition at line 524 of file qquicktextcontrol.cpp.

References cursor, QTextCursor::EndOfBlock, interactionFlags, QTextCursor::KeepAnchor, QTextCursor::movePosition(), QTextCursor::NextCharacter, QTextCursor::position(), selectedBlockOnTripleClick, selectionChanged(), QTextCursor::selectionEnd(), QTextCursor::selectionStart(), QTextCursor::setPosition(), QTextCursor::StartOfBlock, and Qt::TextSelectableByMouse.

Referenced by mouseMoveEvent(), and mousePressEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ extendWordwiseSelection()

void QQuickTextControlPrivate::extendWordwiseSelection ( int  suggestedNewPosition,
qreal  mouseXPosition 
)

Definition at line 467 of file qquicktextcontrol.cpp.

References QTextCursor::block(), currentTextLine(), cursor, QTextCursor::EndOfWord, interactionFlags, QTextCursor::KeepAnchor, line, QTextCursor::movePosition(), QTextCursor::position(), QTextBlock::position(), selectedWordOnDoubleClick, selectionChanged(), QTextCursor::selectionEnd(), QTextCursor::selectionStart(), setCursorPosition(), QTextCursor::setPosition(), QTextCursor::StartOfWord, Qt::TextSelectableByMouse, QTextLine::textStart(), wordSelectionEnabled, and QPointF::x().

Referenced by mouseMoveEvent(), and mousePressEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ focusEvent()

void QQuickTextControlPrivate::focusEvent ( QFocusEvent e)

Definition at line 1460 of file qquicktextcontrol.cpp.

References Qt::ActiveWindowFocusReason, QTextCursor::clearSelection(), cursor, cursorIsFocusIndicator, e, emit, hasFocus, QTextCursor::hasSelection(), interactionFlags, Qt::PopupFocusReason, setBlinkingCursorEnabled(), Qt::TextEditable, and Qt::TextSelectableByKeyboard.

+ Here is the call graph for this function:

◆ hoverEvent()

void QQuickTextControlPrivate::hoverEvent ( QHoverEvent e,
const QPointF pos 
)

Definition at line 1480 of file qquicktextcontrol.cpp.

References QTextBlock::blockFormat(), e, emit, hoveredLink, hoveredMarker, QEvent::HoverLeave, QTextBlock::isValid(), QTextBlockFormat::marker(), pos, qCDebug, and QTextBlock::text().

+ Here is the call graph for this function:

◆ keyPressEvent()

void QQuickTextControlPrivate::keyPressEvent ( QKeyEvent e)

Definition at line 792 of file qquicktextcontrol.cpp.

References QTextCursor::atBlockEnd(), QTextCursor::atBlockStart(), QTextCursor::block(), QTextCursor::blockFormat(), QClipboard::Clipboard, QKeySequence::Copy, QTextCursor::currentList(), cursor, cursorMoveKeyEvent(), cursorOn, QKeySequence::Cut, QKeySequence::Delete, QTextCursor::deleteChar(), QKeySequence::DeleteEndOfLine, QKeySequence::DeleteEndOfWord, QTextCursor::deletePreviousChar(), QKeySequence::DeleteStartOfWord, e, QTextCursor::EndOfBlock, fmt, QTextCursor::hasSelection(), QTextBlockFormat::indent(), QTextCursor::insertBlock(), QKeySequence::InsertLineSeparator, QKeySequence::InsertParagraphSeparator, QTextCursor::insertText(), interactionFlags, QTextCursor::KeepAnchor, Qt::Key_Back, Qt::Key_Backspace, Qt::Key_Direction_L, Qt::Key_Direction_R, Qt::LeftToRight, QTextBlock::length(), QChar::LineSeparator, list, QTextCursor::mergeBlockFormat(), QTextCursor::movePosition(), QTextCursor::NextWord, overwriteMode, QKeySequence::Paste, QTextCursor::position(), QTextBlock::position(), QTextCursor::PreviousWord, QKeySequence::Redo, QList< T >::remove(), QTextCursor::removeSelectedText(), repaintSelection(), QTextCursor::Right, Qt::RightToLeft, QKeySequence::SelectAll, selectionChanged(), QTextCursor::setBlockFormat(), QTextBlockFormat::setIndent(), Qt::ShiftModifier, Qt::TextEditable, Qt::TextSelectableByKeyboard, QKeySequence::Undo, and updateCurrentCharFormat().

+ Here is the call graph for this function:

◆ keyReleaseEvent()

void QQuickTextControlPrivate::keyReleaseEvent ( QKeyEvent e)

Definition at line 787 of file qquicktextcontrol.cpp.

References e.

◆ mouseDoubleClickEvent()

void QQuickTextControlPrivate::mouseDoubleClickEvent ( QMouseEvent event,
const QPointF pos 
)

◆ mouseMoveEvent()

◆ mousePressEvent()

◆ mouseReleaseEvent()

◆ paste()

void QQuickTextControlPrivate::paste ( const QMimeData source)

◆ rectForPosition()

QRectF QQuickTextControlPrivate::rectForPosition ( int  position) const

Definition at line 950 of file qquicktextcontrol.cpp.

References doc, QTextDocument::findBlock(), QTextLayout::font(), QFontMetrics::horizontalAdvance(), QTextBlock::isValid(), layout, QTextBlock::layout(), line, overwriteMode, QTextBlock::position(), position(), textCursorWidth, QPointF::x(), and QPointF::y().

+ Here is the call graph for this function:

◆ repaintCursor()

void QQuickTextControlPrivate::repaintCursor ( )

Definition at line 341 of file qquicktextcontrol.cpp.

References emit.

Referenced by updateCursorFlashTime().

+ Here is the caller graph for this function:

◆ repaintOldAndNewSelection()

void QQuickTextControlPrivate::repaintOldAndNewSelection ( const QTextCursor oldSelection)

Definition at line 347 of file qquicktextcontrol.cpp.

References QTextCursor::anchor(), QTextCursor::currentFrame(), cursor, doc, emit, QTextCursor::hasComplexSelection(), QTextCursor::hasSelection(), QTextCursor::isNull(), QTextCursor::KeepAnchor, QTextCursor::position(), and QTextCursor::setPosition().

Referenced by activateLinkUnderCursor(), cursorMoveKeyEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and repaintSelection().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ repaintSelection()

void QQuickTextControlPrivate::repaintSelection ( )
inline

Definition at line 50 of file qquicktextcontrol_p_p.h.

References repaintOldAndNewSelection().

Referenced by keyPressEvent(), and mousePressEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ selectionChanged()

void QQuickTextControlPrivate::selectionChanged ( bool  forceEmitSelectionChanged = false)

Definition at line 375 of file qquicktextcontrol.cpp.

References cursor, emit, hasFocus, QTextCursor::hasSelection(), Qt::ImCurrentSelection, lastSelectionEnd, lastSelectionStart, lastSelectionState, qGuiApp, QTextCursor::selectionEnd(), and QTextCursor::selectionStart().

Referenced by _q_updateCurrentCharFormatAndSelection(), cursorMoveKeyEvent(), extendBlockwiseSelection(), extendWordwiseSelection(), keyPressEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sendMouseEventToInputContext()

bool QQuickTextControlPrivate::sendMouseEventToInputContext ( QMouseEvent event,
const QPointF pos 
)

Definition at line 1263 of file qquicktextcontrol.cpp.

References QTextCursor::block(), QInputMethod::Click, cursor, e, Qt::FuzzyHit, QGuiApplication::inputMethod(), QInputMethod::invokeAction(), layout, QTextBlock::layout(), QEvent::MouseButtonRelease, pos, QTextCursor::position(), and Q_UNUSED.

Referenced by mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setBlinkingCursorEnabled()

void QQuickTextControlPrivate::setBlinkingCursorEnabled ( bool  enable)

Definition at line 437 of file qquicktextcontrol.cpp.

References QObjectPrivate::connect(), cursorBlinkingEnabled, QStyleHints::cursorFlashTimeChanged(), disconnect(), qApp, and updateCursorFlashTime().

Referenced by focusEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setContent()

◆ setCursorPosition() [1/2]

void QQuickTextControlPrivate::setCursorPosition ( const QPointF pos)

Definition at line 322 of file qquicktextcontrol.cpp.

References cursor, Qt::FuzzyHit, pos, and QTextCursor::setPosition().

Referenced by extendWordwiseSelection(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCursorPosition() [2/2]

void QQuickTextControlPrivate::setCursorPosition ( int  pos,
QTextCursor::MoveMode  mode = QTextCursor::MoveAnchor 
)

Definition at line 331 of file qquicktextcontrol.cpp.

References cursor, QTextCursor::KeepAnchor, pos, selectedBlockOnTripleClick, selectedWordOnDoubleClick, and QTextCursor::setPosition().

+ Here is the call graph for this function:

◆ updateCurrentCharFormat()

void QQuickTextControlPrivate::updateCurrentCharFormat ( )

Definition at line 240 of file qquicktextcontrol.cpp.

References QTextCursor::charFormat(), cursor, cursorRectangleChanged, emit, fmt, and lastCharFormat.

Referenced by _q_updateCurrentCharFormatAndSelection(), and keyPressEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateCursorFlashTime()

void QQuickTextControlPrivate::updateCursorFlashTime ( )

Definition at line 451 of file qquicktextcontrol.cpp.

References cursorBlinkingEnabled, cursorBlinkTimer, QStyleHints::cursorFlashTime, cursorOn, repaintCursor(), QBasicTimer::start(), QBasicTimer::stop(), and QGuiApplication::styleHints().

Referenced by setBlinkingCursorEnabled().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ acceptRichText

bool QQuickTextControlPrivate::acceptRichText

Definition at line 124 of file qquicktextcontrol_p_p.h.

◆ anchorOnMousePress

QString QQuickTextControlPrivate::anchorOnMousePress

Definition at line 104 of file qquicktextcontrol_p_p.h.

Referenced by mousePressEvent(), and mouseReleaseEvent().

◆ blockWithMarkerUnderMousePress

QTextBlock QQuickTextControlPrivate::blockWithMarkerUnderMousePress

Definition at line 107 of file qquicktextcontrol_p_p.h.

Referenced by mousePressEvent(), and mouseReleaseEvent().

◆ cursor

◆ cursorBlinkingEnabled

bool QQuickTextControlPrivate::cursorBlinkingEnabled

Definition at line 126 of file qquicktextcontrol_p_p.h.

Referenced by setBlinkingCursorEnabled(), and updateCursorFlashTime().

◆ cursorBlinkTimer

QBasicTimer QQuickTextControlPrivate::cursorBlinkTimer

Definition at line 109 of file qquicktextcontrol_p_p.h.

Referenced by updateCursorFlashTime().

◆ cursorIsFocusIndicator

bool QQuickTextControlPrivate::cursorIsFocusIndicator

◆ cursorOn

bool QQuickTextControlPrivate::cursorOn

Definition at line 118 of file qquicktextcontrol_p_p.h.

Referenced by keyPressEvent(), and updateCursorFlashTime().

◆ cursorRectangleChanged

bool QQuickTextControlPrivate::cursorRectangleChanged

Definition at line 131 of file qquicktextcontrol_p_p.h.

Referenced by updateCurrentCharFormat().

◆ cursorVisible

bool QQuickTextControlPrivate::cursorVisible

Definition at line 125 of file qquicktextcontrol_p_p.h.

◆ doc

QTextDocument* QQuickTextControlPrivate::doc

Definition at line 100 of file qquicktextcontrol_p_p.h.

Referenced by rectForPosition(), repaintOldAndNewSelection(), and setContent().

◆ hadSelectionOnMousePress

bool QQuickTextControlPrivate::hadSelectionOnMousePress

Definition at line 128 of file qquicktextcontrol_p_p.h.

Referenced by mousePressEvent(), and mouseReleaseEvent().

◆ hasFocus

bool QQuickTextControlPrivate::hasFocus

Definition at line 127 of file qquicktextcontrol_p_p.h.

Referenced by activateLinkUnderCursor(), focusEvent(), and selectionChanged().

◆ hasImState

bool QQuickTextControlPrivate::hasImState

Definition at line 130 of file qquicktextcontrol_p_p.h.

◆ hoveredLink

QString QQuickTextControlPrivate::hoveredLink

Definition at line 106 of file qquicktextcontrol_p_p.h.

Referenced by hoverEvent().

◆ hoveredMarker

bool QQuickTextControlPrivate::hoveredMarker

Definition at line 132 of file qquicktextcontrol_p_p.h.

Referenced by hoverEvent().

◆ ignoreAutomaticScrollbarAdjustement

bool QQuickTextControlPrivate::ignoreAutomaticScrollbarAdjustement

Definition at line 122 of file qquicktextcontrol_p_p.h.

◆ interactionFlags

Qt::TextInteractionFlags QQuickTextControlPrivate::interactionFlags

◆ lastCharFormat

QTextCharFormat QQuickTextControlPrivate::lastCharFormat

Definition at line 98 of file qquicktextcontrol_p_p.h.

Referenced by updateCurrentCharFormat().

◆ lastSelectionEnd

int QQuickTextControlPrivate::lastSelectionEnd

Definition at line 136 of file qquicktextcontrol_p_p.h.

Referenced by selectionChanged().

◆ lastSelectionStart

int QQuickTextControlPrivate::lastSelectionStart

Definition at line 135 of file qquicktextcontrol_p_p.h.

Referenced by selectionChanged().

◆ lastSelectionState

bool QQuickTextControlPrivate::lastSelectionState

Definition at line 121 of file qquicktextcontrol_p_p.h.

Referenced by selectionChanged().

◆ linkToCopy

QString QQuickTextControlPrivate::linkToCopy

Definition at line 105 of file qquicktextcontrol_p_p.h.

◆ mousePressed

bool QQuickTextControlPrivate::mousePressed

Definition at line 120 of file qquicktextcontrol_p_p.h.

Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().

◆ mousePressPos

QPointF QQuickTextControlPrivate::mousePressPos

Definition at line 96 of file qquicktextcontrol_p_p.h.

Referenced by mouseMoveEvent(), and mousePressEvent().

◆ overwriteMode

bool QQuickTextControlPrivate::overwriteMode

Definition at line 123 of file qquicktextcontrol_p_p.h.

Referenced by keyPressEvent(), and rectForPosition().

◆ selectByTouchDrag

bool QQuickTextControlPrivate::selectByTouchDrag

◆ selectedBlockOnTripleClick

QTextCursor QQuickTextControlPrivate::selectedBlockOnTripleClick

◆ selectedWordOnDoubleClick

QTextCursor QQuickTextControlPrivate::selectedWordOnDoubleClick

◆ timestampAtLastDoubleClick

ulong QQuickTextControlPrivate::timestampAtLastDoubleClick = 0

Definition at line 110 of file qquicktextcontrol_p_p.h.

Referenced by mouseDoubleClickEvent(), and mousePressEvent().

◆ tripleClickPoint

QPointF QQuickTextControlPrivate::tripleClickPoint

Definition at line 95 of file qquicktextcontrol_p_p.h.

Referenced by mouseDoubleClickEvent(), and mousePressEvent().

◆ wordSelectionEnabled

bool QQuickTextControlPrivate::wordSelectionEnabled

The documentation for this class was generated from the following files: