42 #ifndef QTEXTCONTROL_P_P_H 43 #define QTEXTCONTROL_P_P_H 56 #include "QtGui/qtextdocumentfragment.h" 57 #include "QtGui/qscrollbar.h" 58 #include "QtGui/qtextcursor.h" 59 #include "QtGui/qtextformat.h" 60 #include "QtGui/qmenu.h" 61 #include "QtGui/qabstracttextdocumentlayout.h" 62 #include "QtCore/qbasictimer.h" 63 #include "QtCore/qpointer.h" 64 #include "private/qobject_p.h" 110 #ifndef QT_NO_CLIPBOARD 135 Qt::KeyboardModifiers modifiers,
139 Qt::KeyboardModifiers modifiers,
140 Qt::MouseButtons buttons,
143 Qt::KeyboardModifiers modifiers,
144 Qt::MouseButtons buttons,
147 Qt::KeyboardModifiers modifiers,
148 Qt::MouseButtons buttons,
152 Qt::KeyboardModifiers modifiers,
153 Qt::MouseButtons buttons,
157 #ifdef QT_KEYPAD_NAVIGATION 158 void editFocusEvent(
QEvent *e);
169 #ifndef QT_NO_TOOLTIP 216 #ifdef QT_KEYPAD_NAVIGATION 238 #endif // QTEXTCONTROL_P_H bool dropEvent(const QMimeData *mimeData, const QPointF &pos, Qt::DropAction dropAction, QWidget *source)
void mouseDoubleClickEvent(QEvent *e, Qt::MouseButton button, const QPointF &pos, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint &globalPos)
bool ignoreAutomaticScrollbarAdjustement
The QKeyEvent class describes a key event.
void mousePressEvent(QEvent *e, Qt::MouseButton button, const QPointF &pos, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint &globalPos)
The QTextCharFormat class provides formatting information for characters in a QTextDocument.
#define QT_END_NAMESPACE
This macro expands to.
QString anchorOnMousePress
QTextCharFormat lastCharFormat
void extendWordwiseSelection(int suggestedNewPosition, qreal mouseXPosition)
void keyPressEvent(QKeyEvent *e)
QTextCursor selectedWordOnDoubleClick
The QPointF class defines a point in the plane using floating point precision.
static Qt::MouseButtons buttons
bool hadSelectionOnMousePress
static qreal position(QGraphicsObject *item, QDeclarativeAnchorLine::AnchorLine anchorLine)
QRectF cursorRectPlusUnicodeDirectionMarkers(const QTextCursor &cursor) const
QTextCursor dndFeedbackCursor
void _q_emitCursorPosChanged(const QTextCursor &someCursor)
bool wordSelectionEnabled
QBasicTimer cursorBlinkTimer
QRectF rectForPosition(int position) const
The QString class provides a Unicode character string.
void mouseMoveEvent(QEvent *e, Qt::MouseButton button, const QPointF &pos, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint &globalPos)
QPointer< QWidget > contextWidget
bool dragMoveEvent(QEvent *e, const QMimeData *mimeData, const QPointF &pos)
void append(const QString &text, Qt::TextFormat format=Qt::AutoText)
Qt::TextInteractionFlags interactionFlags
QString highlightedAnchor
void _q_setCursorAfterUndoRedo(int undoPosition, int charsAdded, int charsRemoved)
void paste(const QMimeData *source)
void init(Qt::TextFormat format=Qt::RichText, const QString &text=QString(), QTextDocument *document=0)
void inputMethodEvent(QInputMethodEvent *)
void setCursorPosition(const QPointF &pos)
void activateLinkUnderCursor(QString href=QString())
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool cursorMoveKeyEvent(QKeyEvent *e)
MoveMode
If the anchor() is kept where it is and the position() is moved, the text in between will be selected...
The QRectF class defines a rectangle in the plane using floating point precision. ...
bool cursorIsFocusIndicator
void setClipboardSelection()
bool dragEnterEvent(QEvent *e, const QMimeData *mimeData)
bool sendMouseEventToInputContext(QEvent *e, QEvent::Type eventType, Qt::MouseButton button, const QPointF &pos, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint &globalPos)
QString anchorForCursor(const QTextCursor &anchor) const
The QTextCursor class offers an API to access and modify QTextDocuments.
void contextMenuEvent(const QPoint &screenPos, const QPointF &docPos, QWidget *contextWidget)
QVector< QAbstractTextDocumentLayout::Selection > extraSelections
void _q_documentLayoutChanged()
The QTextBlock class provides a container for text fragments in a QTextDocument.
void setContent(Qt::TextFormat format=Qt::RichText, const QString &text=QString(), QTextDocument *document=0)
The QMimeData class provides a container for data that records information about its MIME type...
void _q_updateBlock(const QTextBlock &)
QRectF selectionRect() const
QInputContext * inputContext()
#define Q_DECLARE_PUBLIC(Class)
Type
This enum type defines the valid event types in Qt.
void focusEvent(QFocusEvent *e)
The QPoint class defines a point in the plane using integer precision.
void _q_updateCurrentCharFormatAndSelection()
void gotoPreviousTableCell()
void setBlinkingCursorEnabled(bool enable)
QPointF trippleClickPoint
The QTextDocument class holds formatted text that can be viewed and edited using a QTextEdit...
void extendBlockwiseSelection(int suggestedNewPosition)
The QBasicTimer class provides timer events for objects.
void createAutoBulletList()
void updateCurrentCharFormat()
The QInputContext class abstracts the input method dependent data and composing state.
void mouseReleaseEvent(QEvent *e, Qt::MouseButton button, const QPointF &pos, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint &globalPos)
void selectionChanged(bool forceEmitSelectionChanged=false)
The QEvent class is the base class of all event classes.
QTextCursor selectedBlockOnTrippleClick
The QFocusEvent class contains event parameters for widget focus events.
void showToolTip(const QPoint &globalPos, const QPointF &pos, QWidget *contextWidget)
void repaintOldAndNewSelection(const QTextCursor &oldSelection)
QBasicTimer trippleClickTimer
bool ignoreUnusedNavigationEvents
The QPalette class contains color groups for each widget state.