Add QAccessible::LocationChanged to QWidget
Issue the event when geometry has changed to match QML. Task-number: QTBUG-115926 Pick-to: 6.9 6.8 Change-Id: I31d87a2b07c1cbdb31063bdbf146f21310103798 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
df96b28f65
commit
c1fba2d4ee
@ -7339,6 +7339,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