This is the same Qt Designer / PySide6 GUI as PySideGUIOpenGL but built from the custom widgets in ncca.ngl.widgets (RGBColourWidget, TransformWidget, LookAtWidget and PerspectiveWidget) rather than individual spin boxes and buttons.
The widgets are promoted in the .ui file, so a QUiLoader subclass creates each one by class name as the ui is loaded, then their signals are connected to the scene in the usual way.
uv run GUIDemos/NGLWidgetsOpenGL/main.py- Qt for Python documentation — PySide6 reference.
- Qt for Python — Signals and Slots — the
@Signal/@Slotdecorators used here. - Qt Designer Manual — building the
.uifile, including promoting custom widgets. - QOpenGLWidget (Qt for Python) — embedding a GL viewport inside a widget layout.
