CopperSpice API
1.9.2
|
Implements the QAccessibleInterface for QWidgets. More...
Public Methods | |
QAccessibleWidget (QWidget *widget, QAccessible::Role role=QAccessible::Client, const QString &name=QString ()) | |
QStringList | actionNames () const override |
QColor | backgroundColor () const override |
QAccessibleInterface * | child (int index) const override |
int | childCount () const override |
void | doAction (const QString &actionName) override |
QAccessibleInterface * | focusChild () const override |
QColor | foregroundColor () const override |
int | indexOfChild (const QAccessibleInterface *child) const override |
void * | interface_cast (QAccessible::InterfaceType type) override |
bool | isValid () const override |
QStringList | keyBindingsForAction (const QString &actionName) const override |
QAccessibleInterface * | parent () const override |
QRect | rect () const override |
QVector< QPair< QAccessibleInterface *, QAccessible::Relation > > | relations (QAccessible::Relation match=QAccessible::AllRelations) const override |
QAccessible::Role | role () const override |
QAccessible::State | state () const override |
QString | text (QAccessible::Text text) const override |
QWindow * | window () const override |
Public Methods inherited from QAccessibleObject | |
QAccessibleObject (QObject *object) | |
QAccessibleInterface * | childAt (int x, int y) const override |
bool | isValid () const override |
QObject * | object () const override |
QRect | rect () const override |
void | setText (QAccessible::Text text, const QString &str) override |
Public Methods inherited from QAccessibleInterface | |
QAccessibleActionInterface * | actionInterface () |
virtual QColor | backgroundColor () const |
virtual QAccessibleInterface * | child (int index) const = 0 |
virtual QAccessibleInterface * | childAt (int x, int y) const = 0 |
virtual int | childCount () const = 0 |
virtual QAccessibleInterface * | focusChild () const |
virtual QColor | foregroundColor () const |
virtual int | indexOfChild (const QAccessibleInterface *child) const = 0 |
virtual void * | interface_cast (QAccessible::InterfaceType type) |
virtual bool | isValid () const = 0 |
virtual QObject * | object () const = 0 |
virtual QAccessibleInterface * | parent () const = 0 |
virtual QRect | rect () const = 0 |
virtual QVector< QPair< QAccessibleInterface *, QAccessible::Relation > > | relations (QAccessible::Relation match=QAccessible::AllRelations) const |
virtual QAccessible::Role | role () const = 0 |
virtual void | setText (QAccessible::Text t, const QString &text) = 0 |
virtual QAccessible::State | state () const = 0 |
QAccessibleTableCellInterface * | tableCellInterface () |
QAccessibleTableInterface * | tableInterface () |
virtual QString | text (QAccessible::Text t) const = 0 |
QAccessibleTextInterface * | textInterface () |
QAccessibleValueInterface * | valueInterface () |
virtual QWindow * | window () const |
Public Methods inherited from QAccessibleActionInterface | |
virtual | ~QAccessibleActionInterface () |
virtual QString | localizedActionDescription (const QString &name) const |
virtual QString | localizedActionName (const QString &name) const |
Protected Methods | |
~QAccessibleWidget () | |
void | addControllingSignal (const QString &signal) |
QObject * | parentObject () const |
QWidget * | widget () const |
Protected Methods inherited from QAccessibleObject | |
virtual | ~QAccessibleObject () |
Protected Methods inherited from QAccessibleInterface | |
virtual | ~QAccessibleInterface () |
Additional Inherited Members | |
Static Public Methods inherited from QAccessibleActionInterface | |
static const QString & | decreaseAction () |
static const QString & | increaseAction () |
static QString | nextPageAction () |
static const QString & | pressAction () |
static QString | previousPageAction () |
static QString | scrollDownAction () |
static QString | scrollLeftAction () |
static QString | scrollRightAction () |
static QString | scrollUpAction () |
static const QString & | setFocusAction () |
static const QString & | showMenuAction () |
static const QString & | toggleAction () |
The QAccessibleWidget class implements the QAccessibleInterface for QWidgets. This class can be used as a base class for custom implementations of QAccessibleInterfaces which provide information about widget objects. Controlling signals can be added with addControllingSignal() and other methods exist to set the interface implementation. Refer to setValue(), setDescription(), setAccelerator(), and setHelp().
|
explicit |
Creates a QAccessibleWidget object using the given widget. The parameters role and name are optional.
|
protected |
Destroys this object.
|
overridevirtual |
Implements QAccessibleActionInterface::actionNames()
|
protected |
Registers signal as a controlling signal. An object is a Controller to any other object connected to a controlling signal.
|
override |
Reimplemented from QAccessibleInterface::backgroundColor()
|
override |
Reimplemented from QAccessibleInterface::child()
|
override |
Reimplemented from QAccessibleInterface::childCount()
|
overridevirtual |
Implements QAccessibleActionInterface::doAction()
|
override |
Reimplemented from QAccessibleInterface::focusChild()
|
override |
Reimplemented from QAccessibleInterface::foregroundColor()
|
override |
Reimplemented from QAccessibleInterface::indexOfChild()
|
override |
Reimplemented from QAccessibleInterface::interface_cast()
|
override |
Reimplemented from QAccessibleObject::isValid()
|
overridevirtual |
|
override |
Reimplemented from QAccessibleInterface::parent()
|
protected |
Returns the parent object. This is either the parent widget or qApp for top level widgets.
|
override |
Reimplemented from QAccessibleObject::rect()
|
override |
Reimplemented from QAccessibleInterface::relations()
|
override |
Reimplemented from QAccessibleInterface::role()
|
override |
Reimplemented from QAccessibleInterface::state()
|
override |
Reimplemented from QAccessibleInterface::text()
|
protected |
Returns the associated widget.
|
override |
Reimplemented from QAccessibleInterface::window()