Warning, file /include/QtWidgets/qaccessiblewidget.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 #ifndef QACCESSIBLEWIDGET_H
0005 #define QACCESSIBLEWIDGET_H
0006
0007 #include <QtWidgets/qtwidgetsglobal.h>
0008 #include <QtGui/qaccessibleobject.h>
0009
0010 QT_BEGIN_NAMESPACE
0011
0012
0013 #if QT_CONFIG(accessibility)
0014
0015 class QAccessibleWidgetPrivate;
0016
0017 class Q_WIDGETS_EXPORT QAccessibleWidget : public QAccessibleObject, public QAccessibleActionInterface
0018 {
0019 public:
0020 explicit QAccessibleWidget(QWidget *o, QAccessible::Role r = QAccessible::Client, const QString& name = QString());
0021 bool isValid() const override;
0022
0023 QWindow *window() const override;
0024 int childCount() const override;
0025 int indexOfChild(const QAccessibleInterface *child) const override;
0026 QList<QPair<QAccessibleInterface *, QAccessible::Relation>>
0027 relations(QAccessible::Relation match = QAccessible::AllRelations) const override;
0028 QAccessibleInterface *focusChild() const override;
0029
0030 QRect rect() const override;
0031
0032 QAccessibleInterface *parent() const override;
0033 QAccessibleInterface *child(int index) const override;
0034
0035 QString text(QAccessible::Text t) const override;
0036 QAccessible::Role role() const override;
0037 QAccessible::State state() const override;
0038
0039 QColor foregroundColor() const override;
0040 QColor backgroundColor() const override;
0041
0042 void *interface_cast(QAccessible::InterfaceType t) override;
0043
0044
0045 QStringList actionNames() const override;
0046 void doAction(const QString &actionName) override;
0047 QStringList keyBindingsForAction(const QString &actionName) const override;
0048 protected:
0049 ~QAccessibleWidget();
0050 QWidget *widget() const;
0051 QObject *parentObject() const;
0052
0053 void addControllingSignal(const QString &signal);
0054
0055 private:
0056 QAccessibleWidgetPrivate *d;
0057 Q_DISABLE_COPY(QAccessibleWidget)
0058 };
0059
0060
0061 #endif
0062
0063 QT_END_NAMESPACE
0064
0065 #endif