42 #ifndef QACCESSIBLEWIDGET_H 43 #define QACCESSIBLEWIDGET_H 45 #include <QtGui/qaccessibleobject.h> 53 #ifndef QT_NO_ACCESSIBILITY 66 int childAt(
int x,
int y)
const;
85 void addControllingSignal(
const QString &signal);
86 void setValue(
const QString &value);
87 void setDescription(
const QString &desc);
88 void setHelp(
const QString &help);
89 void setAccelerator(
const QString &accel);
106 int childAt(
int x,
int y)
const;
124 void addControllingSignal(
const QString &signal);
125 void setValue(
const QString &value);
126 void setDescription(
const QString &desc);
127 void setHelp(
const QString &help);
128 void setAccelerator(
const QString &accel);
135 #endif // QT_NO_ACCESSIBILITY 141 #endif // QACCESSIBLEWIDGET_H The QVariant class acts like a union for the most common Qt data types.
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.
QPointer< QWidget > widget
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.
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...
Method
This enum describes the possible types of methods that can be invoked on an accessible object...
int userActionCount(int child) const
Reimplemented Function
The State element defines configurations of objects and properties.
bool doAction(int action, int child, const QVariantList ¶ms)
Asks the object, or the object's child if child is not 0, to execute action using the parameters...
QString actionText(int action, Text t, int child) const
Reimplemented Function
virtual Role role(int child) const =0
Returns the role of the object, or of the object's child if child is not 0.
QRect rect(int child) const
Returns the geometry of the object, or of the object's child if child is not 0.
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...
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 QVariant invokeMethodEx(Method method, int child, const QVariantList ¶ms)=0
QRect rect(int child) const
Reimplemented Function
QString actionText(int action, Text t, int child) const
Returns the text property t of the action action supported by the object, or of the object's child if...
The Text item allows you to add formatted text to a scene.