42 #ifndef QACCESSIBLEWIDGETS_H 43 #define QACCESSIBLEWIDGETS_H 45 #include <QtGui/qaccessible2.h> 46 #include <QtGui/qaccessiblewidget.h> 48 #ifndef QT_NO_ACCESSIBILITY 50 #include <QtCore/QPointer> 51 #include <QtCore/QPair> 79 void setSelection(
int selectionIndex,
int startOffset,
int endOffset);
81 void selection(
int selectionIndex,
int *startOffset,
int *endOffset);
92 int *startOffset,
int *endOffset);
94 int *startOffset,
int *endOffset);
96 int *startOffset,
int *endOffset);
100 void deleteText(
int startOffset,
int endOffset);
103 void copyText(
int startOffset,
int endOffset);
104 void cutText(
int startOffset,
int endOffset);
142 #ifndef QT_NO_TEXTEDIT 156 int childAt(
int x,
int y)
const;
164 void copyText(
int startOffset,
int endOffset);
165 void cutText(
int startOffset,
int endOffset);
180 #endif // QT_NO_TEXTEDIT 189 int childAt(
int x,
int y)
const;
216 #ifndef QT_NO_MDIAREA 245 int childAt(
int x,
int y)
const;
250 #endif // QT_NO_MDIAREA 252 #ifndef QT_NO_WORKSPACE 277 #ifndef QT_NO_TEXTBROWSER 285 #endif // QT_NO_TEXTBROWSER 287 #ifndef QT_NO_CALENDARWIDGET 298 int childAt(
int x,
int y)
const;
305 QWidget *navigationBar()
const;
307 #endif // QT_NO_CALENDARWIDGET 309 #ifndef QT_NO_DOCKWIDGET 320 int childAt(
int x,
int y)
const;
342 int childAt(
int x,
int y)
const;
353 #endif // QT_NO_DOCKWIDGET 355 #ifndef QT_NO_MAINWINDOW 365 int childAt(
int x,
int y)
const;
369 #endif //QT_NO_MAINWINDOW 371 #endif // QT_NO_ACCESSIBILITY 375 #endif // QACESSIBLEWIDGETS_H The QVariant class acts like a union for the most common Qt data types.
void cutText(int startOffset, int endOffset)
The QAccessibleEditableTextInterface class implements support for the IAccessibleEditableText interfa...
void pasteText(int offset)
#define QT_END_NAMESPACE
This macro expands to.
QTextCursor textCursorForRange(int startOffset, int endOffset) const
virtual QTextCursor textCursor() const =0
QAccessibleTextWidget(QWidget *o, Role r=EditableText, const QString &name=QString())
int offsetAtPoint(const QPoint &point, QAccessible2::CoordinateType coordType)
QString text(int startOffset, int endOffset)
QObject * object() const
Returns a pointer to the QObject this interface implementation provides information for...
Role
This enum defines the role of an accessible object.
virtual void setTextCursor(const QTextCursor &)=0
static qreal position(QGraphicsObject *item, QDeclarativeAnchorLine::AnchorLine anchorLine)
void insertText(int offset, const QString &text)
int userActionCount(int child) const
Returns the number of custom actions of the object, or of the object's child if child is not 0...
void setCursorPosition(int position)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QPair< int, int > getBoundaries(int offset, QAccessible2::BoundaryType boundaryType)
void setText(Text t, int child, const QString &text)
Sets the text property t of the object, or of the object's child if child is not 0, to text.
The QWorkspace widget provides a workspace window that can be used in an MDI application.
void setAttributes(int startOffset, int endOffset, const QString &attributes)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void deleteText(int startOffset, int endOffset)
The QTextCursor class offers an API to access and modify QTextDocuments.
RelationFlag
This enum type defines bit flags that can be combined to indicate the relationship between two access...
Method
This enum describes the possible types of methods that can be invoked on an accessible object...
The QMdiArea widget provides an area in which MDI windows are displayed.
QString attributes(int offset, int *startOffset, int *endOffset)
#define Q_ACCESSIBLE_OBJECT
QRect characterRect(int offset, QAccessible2::CoordinateType coordType)
The QPlainTextEdit class provides a widget that is used to edit and display plain text...
The State element defines configurations of objects and properties.
QString textAfterOffset(int offset, QAccessible2::BoundaryType boundaryType, int *startOffset, int *endOffset)
virtual QTextDocument * textDocument() const =0
void addSelection(int startOffset, int endOffset)
virtual QWidget * viewport() const =0
The QAbstractItemView class provides the basic functionality for item view classes.
The QAccessibleTextEdit class implements the QAccessibleInterface for richtext editors.
void selection(int selectionIndex, int *startOffset, int *endOffset)
virtual QPoint scrollBarPosition() const
QString textBeforeOffset(int offset, QAccessible2::BoundaryType boundaryType, int *startOffset, int *endOffset)
The QAccessibleTextInterface class implements support for the IAccessibleText interface.
The QAccessibleInterface class defines an interface that exposes information about accessible objects...
QList< QVariant > QVariantList
The QPoint class defines a point in the plane using integer precision.
The QTextBrowser class provides a rich text browser with hypertext navigation.
The QMainWindow class provides a main application window.
The QRect class defines a rectangle in the plane using integer precision.
void removeSelection(int selectionIndex)
QString textAtOffset(int offset, QAccessible2::BoundaryType boundaryType, int *startOffset, int *endOffset)
The QTextDocument class holds formatted text that can be viewed and edited using a QTextEdit...
void replaceText(int startOffset, int endOffset, const QString &text)
bool isValid() const
Returns true if all the data necessary to use this interface implementation is valid (e...
void copyText(int startOffset, int endOffset)
virtual void scrollToSubstring(int startIndex, int endIndex)=0
The QRubberBand class provides a rectangle or line that can indicate a selection or a boundary...
QPointer< QDockWidget > m_dockWidget
The QMdiSubWindow class provides a subwindow class for QMdiArea.
The QTextEdit class provides a widget that is used to edit and display both plain and rich text...
The Text item allows you to add formatted text to a scene.
void setSelection(int selectionIndex, int startOffset, int endOffset)