This demos show how to build a ui using Qt Designer and PySide6.
The ui file is loaded in and each of the attributes are placed into the class attributes.
@Signal and @Slot decorators are used to define signals and slots in the classes and connected to the corresponding slots.
- Qt for Python documentation — PySide6 reference.
- Qt for Python — Signals and Slots — the
@Signal/@Slotdecorators used here. - Qt Designer Manual — building the
.uifile. - QOpenGLWidget (Qt for Python) — embedding a GL viewport inside a widget layout.
