42 #ifndef QACCESSIBLEOBJECT_H 43 #define QACCESSIBLEOBJECT_H 45 #include <QtGui/qaccessible.h> 53 #ifndef QT_NO_ACCESSIBILITY 120 int childAt(
int x,
int y)
const;
134 #endif // QT_NO_ACCESSIBILITY 140 #endif // QACCESSIBLEOBJECT_H virtual int indexOfChild(const QAccessibleInterface *) const =0
Returns the 1-based index of the object child in this object's children list, or -1 if child is not a...
#define QT_END_NAMESPACE
This macro expands to.
The QAccessibleApplication class implements the QAccessibleInterface for QApplication.
virtual State state(int child) const =0
Returns the current state of the object, or of the object's child if child is not 0...
Role
This enum defines the role of an accessible object.
virtual int childCount() const =0
Returns the number of children that belong to this object.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
virtual QObject * object() const =0
Returns a pointer to the QObject this interface implementation provides information for...
The QObject class is the base class of all Qt objects.
bool doAction(int action, int child, const QVariantList ¶ms)
Reimplemented Function
virtual int childAt(int x, int y) const =0
Returns the 1-based index of the child that contains the screen coordinates (x, y).
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual int navigate(RelationFlag relation, int index, QAccessibleInterface **iface) const =0
Navigates from this object to an object that has a relationship relation to this object, and returns the respective object in target.
RelationFlag
This enum type defines bit flags that can be combined to indicate the relationship between two access...
int userActionCount(int child) const
Reimplemented Function
The State element defines configurations of objects and properties.
QString actionText(int action, Text t, int child) const
Reimplemented Function
QAccessibleObjectPrivate * d
virtual Role role(int child) const =0
Returns the role of the object, or of the object's child if child is not 0.
virtual QString actionText(int action, Text t, int child) const =0
Returns the text property t of the action action supported by the object, or of the object's child if...
virtual Relation relationTo(int child, const QAccessibleInterface *other, int otherChild) const =0
Returns the relationship between this object's \a child and the \a other object's \a otherChild...
virtual bool doAction(int action, int child, const QVariantList ¶ms=QVariantList())=0
Asks the object, or the object's child if child is not 0, to execute action using the parameters...
virtual int userActionCount(int child) const =0
Returns the number of custom actions of the object, or of the object's child if child is not 0...
virtual bool isValid() const =0
Returns true if all the data necessary to use this interface implementation is valid (e...
The QAccessibleInterface class defines an interface that exposes information about accessible objects...
virtual QString text(Text t, int child) const =0
Returns the value of the text property t of the object, or of the object's child if child is not 0...
The QRect class defines a rectangle in the plane using integer precision.
The QAccessibleObject class implements parts of the QAccessibleInterface for QObjects.
virtual QRect rect(int child) const =0
Returns the geometry of the object, or of the object's child if child is not 0.
QAccessibleObjectPrivate * d
virtual void setText(Text t, int child, const QString &text)=0
Sets the text property t of the object, or of the object's child if child is not 0, to text.
The Text item allows you to add formatted text to a scene.