Further Simplifying a Custom 3D Slicer Application: Removing Unneeded Modules and Adding Custom Modules

Hello,

I’ve successfully built a simplified version of 3D Slicer following this guide from Kitware (https://www.kitware.com/slicercat-creating-custom-applications-based-on-3d-slicer/).

Hello,

I’ve successfully built a simplified version of 3D Slicer following this guide from Kitware.

Now, I’d like to create an even more streamlined version. Specifically, I’m aiming for a version that only includes options to upload data and visualize volumes. I also need a button that allows me to add custom modules (developed in Python) to the application as needed, post-build.

I’ve already hidden some menus using qCustomAppNameAppMainWindow.cxx as follows

// Hide the menus
// this->menubar->setVisible(false);
// this->FileMenu->setVisible(false);
this->EditMenu->setVisible(false);
this->ViewMenu->setVisible(false);
this->LayoutMenu->setVisible(false);
this->HelpMenu->setVisible(false);

However, I think this approach isn’t giving me the minimalist setup I’m looking for. My goal is to completely remove all 3D Slicer default modules, keeping only the necessary structure to load data, view volumes, and easily add my own Python-based modules.

Could anyone advise on which folders and files I should modify to achieve this? Any guidance would be greatly appreciated!