![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquicktextcontrol_p_p.h>
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 QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (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) |
Definition at line 33 of file qquicktextcontrol_p_p.h.
| QQuickTextControlPrivate::QQuickTextControlPrivate | ( | ) |
Definition at line 62 of file qquicktextcontrol.cpp.
References acceptRichText, beingEdited, cursorBlinkingEnabled, cursorIsFocusIndicator, cursorOn, cursorRectangleChanged, cursorVisible, doc, hadSelectionOnMousePress, hasFocus, hasImState, hoveredMarker, ignoreAutomaticScrollbarAdjustement, imSelectionAfterPress, lastSelectionEnd, lastSelectionStart, lastSelectionState, mousePressed, overwriteMode, selectByTouchDrag, and wordSelectionEnabled.
| void QQuickTextControlPrivate::_q_copyLink | ( | ) |
| void QQuickTextControlPrivate::_q_setCursorAfterUndoRedo | ( | int | undoPosition, |
| int | charsAdded, | ||
| int | charsRemoved ) |
| void QQuickTextControlPrivate::_q_updateCurrentCharFormatAndSelection | ( | ) |
Definition at line 412 of file qquicktextcontrol.cpp.
References selectionChanged(), and updateCurrentCharFormat().
Referenced by mouseMoveEvent(), mousePressEvent(), and setContent().
| void QQuickTextControlPrivate::_q_updateCursorPosChanged | ( | const QTextCursor & | someCursor | ) |
Definition at line 430 of file qquicktextcontrol.cpp.
Definition at line 1721 of file qquicktextcontrol.cpp.
References cursorIsFocusIndicator, and hasFocus.
| bool QQuickTextControlPrivate::cursorMoveKeyEvent | ( | QKeyEvent * | e | ) |
Definition at line 90 of file qquicktextcontrol.cpp.
| void QQuickTextControlPrivate::extendBlockwiseSelection | ( | int | suggestedNewPosition | ) |
Definition at line 526 of file qquicktextcontrol.cpp.
References selectionChanged().
Referenced by mouseMoveEvent(), and mousePressEvent().
| void QQuickTextControlPrivate::extendWordwiseSelection | ( | int | suggestedNewPosition, |
| qreal | mouseXPosition ) |
Definition at line 469 of file qquicktextcontrol.cpp.
References selectionChanged(), and wordSelectionEnabled.
| void QQuickTextControlPrivate::focusEvent | ( | QFocusEvent * | e | ) |
Definition at line 1496 of file qquicktextcontrol.cpp.
| void QQuickTextControlPrivate::hoverEvent | ( | QHoverEvent * | e, |
| const QPointF & | pos ) |
Definition at line 1516 of file qquicktextcontrol.cpp.
Definition at line 813 of file qquicktextcontrol.cpp.
Definition at line 808 of file qquicktextcontrol.cpp.
| void QQuickTextControlPrivate::mouseDoubleClickEvent | ( | QMouseEvent * | event, |
| const QPointF & | pos ) |
Definition at line 1251 of file qquicktextcontrol.cpp.
References cursorIsFocusIndicator, and selectionChanged().
| void QQuickTextControlPrivate::mouseMoveEvent | ( | QMouseEvent * | event, |
| const QPointF & | pos ) |
Definition at line 1105 of file qquicktextcontrol.cpp.
References _q_updateCurrentCharFormatAndSelection(), extendBlockwiseSelection(), mousePressed, and selectionChanged().
| void QQuickTextControlPrivate::mousePressEvent | ( | QMouseEvent * | event, |
| const QPointF & | pos ) |
Definition at line 1014 of file qquicktextcontrol.cpp.
References _q_updateCurrentCharFormatAndSelection(), cursorIsFocusIndicator, extendBlockwiseSelection(), imSelectionAfterPress, repaintSelection(), and selectionChanged().
| void QQuickTextControlPrivate::mouseReleaseEvent | ( | QMouseEvent * | event, |
| const QPointF & | pos ) |
Definition at line 1181 of file qquicktextcontrol.cpp.
References mousePressed.
| QRectF QQuickTextControlPrivate::rectForPosition | ( | int | position | ) | const |
Definition at line 975 of file qquicktextcontrol.cpp.
References overwriteMode.
| void QQuickTextControlPrivate::repaintCursor | ( | ) |
Definition at line 343 of file qquicktextcontrol.cpp.
Referenced by updateCursorFlashTime().
| void QQuickTextControlPrivate::repaintOldAndNewSelection | ( | const QTextCursor & | oldSelection | ) |
Definition at line 349 of file qquicktextcontrol.cpp.
|
inline |
Definition at line 51 of file qquicktextcontrol_p_p.h.
Referenced by mousePressEvent().
| void QQuickTextControlPrivate::selectionChanged | ( | bool | forceEmitSelectionChanged = false | ) |
Definition at line 377 of file qquicktextcontrol.cpp.
References lastSelectionEnd, lastSelectionStart, and lastSelectionState.
Referenced by _q_updateCurrentCharFormatAndSelection(), extendBlockwiseSelection(), extendWordwiseSelection(), mouseDoubleClickEvent(), mouseMoveEvent(), and mousePressEvent().
| bool QQuickTextControlPrivate::sendMouseEventToInputContext | ( | QMouseEvent * | event, |
| const QPointF & | pos ) |
Definition at line 1289 of file qquicktextcontrol.cpp.
| void QQuickTextControlPrivate::setBlinkingCursorEnabled | ( | bool | enable | ) |
Definition at line 439 of file qquicktextcontrol.cpp.
References cursorBlinkingEnabled, and updateCursorFlashTime().
| void QQuickTextControlPrivate::setContent | ( | Qt::TextFormat | format, |
| const QString & | text ) |
Definition at line 255 of file qquicktextcontrol.cpp.
References _q_updateCurrentCharFormatAndSelection(), and doc.
Definition at line 324 of file qquicktextcontrol.cpp.
| void QQuickTextControlPrivate::setCursorPosition | ( | int | pos, |
| QTextCursor::MoveMode | mode = QTextCursor::MoveAnchor ) |
Definition at line 333 of file qquicktextcontrol.cpp.
| void QQuickTextControlPrivate::updateCurrentCharFormat | ( | ) |
Definition at line 242 of file qquicktextcontrol.cpp.
References cursorRectangleChanged.
Referenced by _q_updateCurrentCharFormatAndSelection().
| void QQuickTextControlPrivate::updateCursorFlashTime | ( | ) |
Definition at line 453 of file qquicktextcontrol.cpp.
References cursorOn, and repaintCursor().
Referenced by setBlinkingCursorEnabled().
| bool QQuickTextControlPrivate::acceptRichText |
Definition at line 125 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| QString QQuickTextControlPrivate::anchorOnMousePress |
Definition at line 105 of file qquicktextcontrol_p_p.h.
| bool QQuickTextControlPrivate::beingEdited |
Definition at line 136 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| QTextBlock QQuickTextControlPrivate::blockWithMarkerUnderMousePress |
Definition at line 108 of file qquicktextcontrol_p_p.h.
| QTextCursor QQuickTextControlPrivate::cursor |
Definition at line 102 of file qquicktextcontrol_p_p.h.
| bool QQuickTextControlPrivate::cursorBlinkingEnabled |
Definition at line 127 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and setBlinkingCursorEnabled().
| QBasicTimer QQuickTextControlPrivate::cursorBlinkTimer |
Definition at line 110 of file qquicktextcontrol_p_p.h.
| bool QQuickTextControlPrivate::cursorIsFocusIndicator |
Definition at line 120 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), activateLinkUnderCursor(), mouseDoubleClickEvent(), and mousePressEvent().
| bool QQuickTextControlPrivate::cursorOn |
Definition at line 119 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and updateCursorFlashTime().
| bool QQuickTextControlPrivate::cursorRectangleChanged |
Definition at line 132 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and updateCurrentCharFormat().
| bool QQuickTextControlPrivate::cursorVisible |
Definition at line 126 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| QTextDocument* QQuickTextControlPrivate::doc |
Definition at line 101 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and setContent().
| bool QQuickTextControlPrivate::hadSelectionOnMousePress |
Definition at line 129 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| bool QQuickTextControlPrivate::hasFocus |
Definition at line 128 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and activateLinkUnderCursor().
| bool QQuickTextControlPrivate::hasImState |
Definition at line 131 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| QString QQuickTextControlPrivate::hoveredLink |
Definition at line 107 of file qquicktextcontrol_p_p.h.
| bool QQuickTextControlPrivate::hoveredMarker |
Definition at line 133 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| bool QQuickTextControlPrivate::ignoreAutomaticScrollbarAdjustement |
Definition at line 123 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| bool QQuickTextControlPrivate::imSelectionAfterPress |
Definition at line 135 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and mousePressEvent().
| Qt::TextInteractionFlags QQuickTextControlPrivate::interactionFlags |
Definition at line 117 of file qquicktextcontrol_p_p.h.
| QTextCharFormat QQuickTextControlPrivate::lastCharFormat |
Definition at line 99 of file qquicktextcontrol_p_p.h.
| int QQuickTextControlPrivate::lastSelectionEnd |
Definition at line 139 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and selectionChanged().
| int QQuickTextControlPrivate::lastSelectionStart |
Definition at line 138 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and selectionChanged().
| bool QQuickTextControlPrivate::lastSelectionState |
Definition at line 122 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and selectionChanged().
| QString QQuickTextControlPrivate::linkToCopy |
Definition at line 106 of file qquicktextcontrol_p_p.h.
| bool QQuickTextControlPrivate::mousePressed |
Definition at line 121 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), mouseMoveEvent(), and mouseReleaseEvent().
| QPointF QQuickTextControlPrivate::mousePressPos |
Definition at line 97 of file qquicktextcontrol_p_p.h.
| bool QQuickTextControlPrivate::overwriteMode |
Definition at line 124 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and rectForPosition().
| bool QQuickTextControlPrivate::selectByTouchDrag |
Definition at line 134 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate().
| QTextCursor QQuickTextControlPrivate::selectedBlockOnTripleClick |
Definition at line 104 of file qquicktextcontrol_p_p.h.
| QTextCursor QQuickTextControlPrivate::selectedWordOnDoubleClick |
Definition at line 103 of file qquicktextcontrol_p_p.h.
| ulong QQuickTextControlPrivate::timestampAtLastDoubleClick = 0 |
Definition at line 111 of file qquicktextcontrol_p_p.h.
| QPointF QQuickTextControlPrivate::tripleClickPoint |
Definition at line 96 of file qquicktextcontrol_p_p.h.
| bool QQuickTextControlPrivate::wordSelectionEnabled |
Definition at line 130 of file qquicktextcontrol_p_p.h.
Referenced by QQuickTextControlPrivate(), and extendWordwiseSelection().