Add QAccessible::LocationChanged to QWidget
Issue the event when geometry has changed to match QML. Task-number: QTBUG-115926 Pick-to: 6.8 Change-Id: I31d87a2b07c1cbdb31063bdbf146f21310103798 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit c1fba2d4ee47d2ce69b56d69629cd13b1439a107) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c90130a72d
commit
ae145bd28f
@ -7349,6 +7349,12 @@ void QWidgetPrivate::setGeometry_sys(int x, int y, int w, int h, bool isMove)
|
||||
q->setAttribute(Qt::WA_PendingResizeEvent, true);
|
||||
}
|
||||
|
||||
#if QT_CONFIG(accessibility)
|
||||
if (QAccessible::isActive() && q->isVisible()) {
|
||||
QAccessibleEvent event(q, QAccessible::LocationChanged);
|
||||
QAccessible::updateAccessibility(&event);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
x
Reference in New Issue
Block a user