# Qt Expandable Widget

**URL:** <https://discourse.slicer.org/t/qt-expandable-widget/2951>\
**Category:** Development\
**Created:** [May 28, 2018, 4:23pm UTC](https://discourse.slicer.org/t/qt-expandable-widget/2951 "2018-05-28T16:23:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hikmat](https://avatars.discourse-cdn.com/v4/letter/h/ecccb3/32.png) [@Hikmat](https://discourse.slicer.org/u/Hikmat)\
**Post date:** [May 28, 2018, 4:23pm UTC](https://discourse.slicer.org/t/qt-expandable-widget/2951/1 "2018-05-28T16:23:07Z")

</div>

Operating system: Windows 10  
Slicer version: 4.8.1

Hi,

I would like to remove this “slider” feature but I am not sure what the widget is called.

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/f/afe78406181057ed842d88603191a1816e1f8207.png)

I have tried to spot it in this extensive list but to no avail: [http://pyqt.sourceforge.net/Docs/PyQt5/QtWidgets.html](http://pyqt.sourceforge.net/Docs/PyQt5/QtWidgets.html)

Thanks.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 29, 2018, 1:53am UTC](https://discourse.slicer.org/t/qt-expandable-widget/2951/2 "2018-05-29T01:53:25Z")

</div>

This looks like a ctkExpandableWidget. Where do you see this?

---

<div class="post-metadata">

**Author:** ![Hikmat](https://avatars.discourse-cdn.com/v4/letter/h/ecccb3/32.png) [@Hikmat](https://discourse.slicer.org/u/Hikmat)\
**Post date:** [May 29, 2018, 1:55pm UTC](https://discourse.slicer.org/t/qt-expandable-widget/2951/3 "2018-05-29T13:55:00Z")

</div>

Yes, thank you Andras, it was indeed a ctkExpandableWidget.  
It is in Segment Editor and I only needed the Undo / Redo buttons.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 29, 2018, 5:09pm UTC](https://discourse.slicer.org/t/qt-expandable-widget/2951/4 "2018-05-29T17:09:18Z")

</div>

You can also hide the entire widget and just call its undo() and redo() methods ([http://apidocs.slicer.org/master/classqMRMLSegmentEditorWidget.html](http://apidocs.slicer.org/master/classqMRMLSegmentEditorWidget.html)).
