Make dynamic UI

I want to make a dynamic interface in slicer with QML, but I can’t find this library, how can I do it

PythonQt is bundled with Slicer and it supports QML and has experimental support for Qt Quick, so it should all work, but I don’t know if anyone has tried to use these in Slicer.

As an experiment, you can also pip_install “Qt for Python” in Slicer and use QML via that wrapping.

Note that you can create dynamic GUI using classic Qt widgets, too. Qt Designer is bundled with Slicer, so you can very quickly and conveniently design your module GUI in a visual editor (and you can further dynamically modify it using Python scripting).