Add RegisterEnumClassesUnscoped to classes with scoped enums


QGraphsView::ZoomStyle/PanStyle, QBarDataProxy::RemoveLabels, and
QSurface3DSeries::Shading are scoped enums registered as
Q_ENUM on classes exposed to QML. Without
Q_CLASSINFO("RegisterEnumClassesUnscoped", "false"), the scope is not
enforced on the QML side.

[ChangeLog][Potentially Source-Incompatible Changes] QGraphsView,
QBarDataProxy, and QSurface3DSeries now register their scoped enums to
QML as scoped, matching their C++ semantics. Code relying on unscoped
access to ZoomStyle, PanStyle, RemoveLabels, or Shading enumerators
from QML needs to be updated to use the scoped names.

Pick-to: 6.12
Task-number: QTBUG-146228
Change-Id: Ifc702941798975db8f960a2ca42e7bd35d4b0e99
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commitba5f281caf993b7856a0ae37b9efac03a921449c
parentede7cd336f3df33a4da638d33b18d74eecaf62af
authorSami Varanka <sami.varanka@qt.io>
committerSami Varanka <sami.varanka@qt.io>
commit timeFri, 31 Jul 2026 05:50:12 +0000