QAccessibleWidget Class Reference |
QAccessibleWidget ( QWidget * w, Role role = Client, const QString & name = QString() ) |
virtual QString | actionText ( int action, Text t, int child ) const |
virtual int | childAt ( int x, int y ) const |
virtual int | childCount () const |
virtual bool | doAction ( int action, int child, const QVariantList & params ) |
virtual int | indexOfChild ( const QAccessibleInterface * child ) const |
virtual int | navigate ( RelationFlag relation, int entry, QAccessibleInterface ** target ) const |
virtual QRect | rect ( int child ) const |
virtual Relation | relationTo ( int child, const QAccessibleInterface * other, int otherChild ) const |
virtual Role | role ( int child ) const |
virtual State | state ( int child ) const |
virtual QString | text ( Text t, int child ) const |
virtual int | userActionCount ( int child ) const |
~QAccessibleWidget () | |
void | addControllingSignal ( const QString & signal ) |
QObject * | parentObject () const |
void | setAccelerator ( const QString & accel ) |
void | setDescription ( const QString & desc ) |
void | setHelp ( const QString & help ) |
void | setValue ( const QString & value ) |
QWidget * | widget () const |
The QAccessibleWidget class implements the QAccessibleInterface for QWidgets.
This class is convenient to use as a base class for custom implementations of QAccessibleInterfaces that provide information about widget objects.
The class provides functions to retrieve the parentObject() (the widget's parent widget), and the associated widget(). Controlling signals can be added with addControllingSignal(), and setters are provided for various aspects of the interface implementation, for example setValue(), setDescription(), setAccelerator(), and setHelp().
See also QAccessible and QAccessibleObject.
Creates a QAccessibleWidget object for widget w. role and name are optional parameters that set the object's role and name properties.
Destroys this object.
Reimplemented from QAccessibleInterface::actionText().
Registers signal as a controlling signal.
An object is a Controller to any other object connected to a controlling signal.
Reimplemented from QAccessibleInterface::childAt().
Reimplemented from QAccessibleInterface::childCount().
Reimplemented from QAccessibleInterface::doAction().
Reimplemented from QAccessibleInterface::indexOfChild().
Reimplemented from QAccessibleInterface::navigate().
Returns the associated widget's parent object, which is either the parent widget, or qApp for top-level widgets.
Reimplemented from QAccessibleInterface::rect().
Reimplemented from QAccessibleInterface::relationTo().
Reimplemented from QAccessibleInterface::role().
Sets the accelerator of this interface implementation to accel.
The default implementation of text() returns the set value for the Accelerator text.
Note that the object wrapped by this interface is not modified.
Sets the description of this interface implementation to desc.
The default implementation of text() returns the set value for the Description text.
Note that the object wrapped by this interface is not modified.
Sets the help of this interface implementation to help.
The default implementation of text() returns the set value for the Help text.
Note that the object wrapped by this interface is not modified.
Sets the value of this interface implementation to value.
The default implementation of text() returns the set value for the Value text.
Note that the object wrapped by this interface is not modified.
Reimplemented from QAccessibleInterface::state().
Reimplemented from QAccessibleInterface::text().
Reimplemented from QAccessibleInterface::userActionCount().
Returns the associated widget.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.6-snapshot | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com