4#ifndef QQUICKTEXTCONTROL_P_H
5#define QQUICKTEXTCONTROL_P_H
18#include <QtGui/qtextdocument.h>
19#include <QtGui/qtextoption.h>
20#include <QtGui/qtextcursor.h>
21#include <QtGui/qtextformat.h>
22#include <QtCore/qrect.h>
23#include <QtGui/qabstracttextdocumentlayout.h>
24#include <QtGui/qtextdocumentfragment.h>
25#include <QtGui/qclipboard.h>
26#include <QtGui/private/qinputcontrol_p.h>
27#include <QtCore/qmimedata.h>
35class QAbstractScrollArea;
53 void setTextInteractionFlags(Qt::TextInteractionFlags
flags);
54 Qt::TextInteractionFlags textInteractionFlags()
const;
58#if QT_CONFIG(texthtmlparser)
61#if QT_CONFIG(textmarkdownwriter)
65 bool hasImState()
const;
66 bool overwriteMode()
const;
67 void setOverwriteMode(
bool overwrite);
68 bool cursorVisible()
const;
69 void setCursorVisible(
bool visible);
82 void setAcceptRichText(
bool accept);
86 bool canPaste()
const;
88 void setCursorIsFocusIndicator(
bool b);
89 void setWordSelectionEnabled(
bool enabled);
90#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
91 void setTouchDragSelectionEnabled(
bool enabled);
94 void updateCursorRectangle(
bool force);
106#if QT_CONFIG(clipboard)
148 virtual QMimeData *createMimeDataFromSelection()
const;
152 bool cursorOn()
const;
161 Q_PRIVATE_SLOT(d_func(),
void _q_updateCurrentCharFormatAndSelection())
Mode
\keyword clipboard mode
virtual void timerEvent(QTimerEvent *event)
This event handler can be reimplemented in a subclass to receive timer events for the object.
\inmodule QtCore\reentrant
void currentCharFormatChanged(const QTextCharFormat &format)
void linkHovered(const QString &link)
void contentsChange(int from, int charsRemoved, int charsAdded)
void setCursorWidth(int width)
void cursorPositionChanged()
void redoAvailable(bool b)
QRectF selectionRect() const
void preeditTextChanged()
void markerHovered(bool marker)
void copyAvailable(bool b)
void undoAvailable(bool b)
void cursorRectangleChanged()
void overwriteModeChanged(bool overwriteMode)
void updateCursorRequest()
QRectF selectionRect(const QTextCursor &cursor) const
void linkActivated(const QString &link)
QQuickTextEditMimeData(const QTextDocumentFragment &aFragment)
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
\reentrant \inmodule QtGui
MoveMode
\value MoveAnchor Moves the anchor to the same position as the cursor itself.
MoveOperation
\value NoMove Keep the cursor where it is
\reentrant \inmodule QtGui
Combined button and popup list for selecting options.
static jboolean cut(JNIEnv *, jobject)
static jboolean copy(JNIEnv *, jobject)
static jboolean paste(JNIEnv *, jobject)
static jboolean selectAll(JNIEnv *, jobject)
static QString toPlainText(const QString &text)
GLboolean GLboolean GLboolean b
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLint GLsizei GLsizei GLenum format
GLsizei GLsizei GLchar * source
GLuint GLenum GLenum transform
#define Q_AUTOTEST_EXPORT
edit textCursor().insertText(text)
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent