QSurface3DSeries: Avoid enum/flag confusion


QSurface3DSeries declared the DrawFlag enum as a Q_FLAG (and didn't
register the actual flag type, DrawFlags, with the meta-type system).

This mostly worked so far (as he engine would still have enough
information to convert the enumerator names to their values, and then
would just rely on writing integers in the end), but started to confuse
tooling after the introduction of "opaque types": As
QSurface3DSeries::DrawFlags changed from completely unknown to "known,
but we don't have any information about it", qmllint would emit warnings
in the stocqt example in the qtdoc repository.

Fix this by correctly registering the enum as an enum, and the flag as a
flag.

The same applies to QtGraphs3D::SelectionFlag(s).

Change-Id: I2be1fb44b17197414cd11b500f2d3254f685f9ee
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
commit9f3ffd2ea2d96288b11a24f5f16f1c84dedaaf34
parentd14d54605ccdc717fc65285218099f3b44d47e34
authorFabian Kosmale <fabian.kosmale@qt.io>
committerFabian Kosmale <fabian.kosmale@qt.io>
commit timeMon, 1 Jun 2026 15:18:04 +0000