The Qt UI collects user inputs, which the Python (backend) script then captures to create and save a JSON config file.
Screen.Recording.2023-12-04.at.5.30.36.PM.mov
LivePose is a command line tool, the user changes config files by hand
Objective: Create a Qt/QMP User Interface for LivePose to generate JSON config files
- install Qt, Qt Creator (interpreter: python3 compatible with Pyslide)
- User enters a configuration in the UI
- UI sends data to python (when does the ui trigger a python function?)
- Python to generate JSON file
- JSON file used in LivePose
Tutorial: PyQt/PySide with the Qt Quick/QML API https://www.pythonguis.com/tutorials/pyqt6-qml-qtquick-python-application/
Read: https://www.pythonguis.com/tutorials/pyside-modelview-architecture/ https://doc-snapshots.qt.io/qtforpython-dev/overviews/modelview.html#introduction
https://doc-snapshots.qt.io/qtforpython-dev/tutorials/index.html https://www.qt.io/product/qt6/qml-book/ch04-qmlstart-core-elements
Install QSSEditor for layout design in vscode or use their designer