# How to Hide Certain Modules and Customize Module Layout in My Custom Slicer Build

**URL:** <https://discourse.slicer.org/t/how-to-hide-certain-modules-and-customize-module-layout-in-my-custom-slicer-build/42807>\
**Category:** Support\
**Created:** [May 6, 2025, 7:52am UTC](https://discourse.slicer.org/t/how-to-hide-certain-modules-and-customize-module-layout-in-my-custom-slicer-build/42807 "2025-05-06T07:52:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![software](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/software/32/79627_2.png) [@software](https://discourse.slicer.org/u/software)\
**Post date:** [May 6, 2025, 7:52am UTC](https://discourse.slicer.org/t/how-to-hide-certain-modules-and-customize-module-layout-in-my-custom-slicer-build/42807/1 "2025-05-06T07:52:28Z")

</div>

Hi everyone,

I’m working on a custom version of 3D Slicer and I want to customize it a bit:

1. **Hide or disable certain modules:**  
I don’t want to use some modules like _Markups_, _Camera_, and _Data Probe_ in my build. I want the ability to decide which modules are included or excluded.  
Is it possible to achieve this using **Python scripts** , or does it have to be handled from **CMake configuration** during the build process? I don’t have a clear idea of which path is better
2. **Move the top-left UI buttons (View, Edit, File):**  
In the original Slicer, the View, Edit, and File module selectors appear in the **top-left corner**. I want to **reposition them** , for example, to the **bottom of the window or another location** in the UI.  
How can I achieve this UI change? Is it done through Qt/C++ customization, Python scripts, or modifying specific Slicer source files?
