109 |
109 |
110 bool isSplitButton() const; |
110 bool isSplitButton() const; |
111 }; |
111 }; |
112 #endif // QT_NO_TOOLBUTTON |
112 #endif // QT_NO_TOOLBUTTON |
113 |
113 |
114 class QAccessibleDisplay : public QAccessibleWidgetEx |
114 class QAccessibleDisplay : public QAccessibleWidgetEx, public QAccessibleImageInterface |
115 { |
115 { |
116 Q_ACCESSIBLE_OBJECT |
116 Q_ACCESSIBLE_OBJECT |
117 public: |
117 public: |
118 explicit QAccessibleDisplay(QWidget *w, Role role = StaticText); |
118 explicit QAccessibleDisplay(QWidget *w, Role role = StaticText); |
119 |
119 |
120 QString text(Text t, int child) const; |
120 QString text(Text t, int child) const; |
121 Role role(int child) const; |
121 Role role(int child) const; |
122 |
122 |
123 Relation relationTo(int child, const QAccessibleInterface *other, int otherChild) const; |
123 Relation relationTo(int child, const QAccessibleInterface *other, int otherChild) const; |
124 int navigate(RelationFlag, int entry, QAccessibleInterface **target) const; |
124 int navigate(RelationFlag, int entry, QAccessibleInterface **target) const; |
|
125 |
|
126 // QAccessibleImageInterface |
|
127 QString imageDescription(); |
|
128 QSize imageSize(); |
|
129 QRect imagePosition(QAccessible2::CoordinateType coordType); |
125 }; |
130 }; |
126 |
131 |
127 #ifndef QT_NO_LINEEDIT |
132 #ifndef QT_NO_LINEEDIT |
128 class QAccessibleLineEdit : public QAccessibleWidgetEx, public QAccessibleTextInterface, |
133 class QAccessibleLineEdit : public QAccessibleWidgetEx, public QAccessibleTextInterface, |
129 public QAccessibleSimpleEditableTextInterface |
134 public QAccessibleSimpleEditableTextInterface |