How to add node selector on the loadable module of the Slicer

Hi all,

I have developed script module (Python module) of the Slicer for my research.

Recently, I have started to develop new module with loadable module (C++ module) for the new purpose.

But, I have faced to the problem to add node selector for the model node and volume node on the module.

Although it was pretty simple on the script module, it’s more complicate to add them on the loadable module.

Would you let me know how to add and use them for the loadable module or where I can get the example for them.

Thanks in advance.


You can find many examples of how various GUI widgets are used in loadable modules in Slicer’s source code (Modules/Loadable folder).