I’d like to use the Transforms module UI file and invoke some widgets.
I use Python language, but I can’t do that like this:
Module widgets are not designed to be reusable from other modules. It is for internal use of the module. However, since module widgets are assembled from high-level widgets, you can place those widgets into your own module widget. You can open the .ui file in Qt Designer and see what widgets are used and you can see in the module widget cxx file how they are used (what connections are set, etc.).