CollapsibleWidget#
- class CollapsibleWidget(title='', parent=None)[source]#
Bases:
QWidgetA widget with an inner layout that can be collapsed/expanded by clicking on a button
- Parameters:
title (
str) – Title of the widget. Will be used as the button label.parent (
QWidget|None)
- setContentsLayout(layout)[source]#
Sets the inner collapsible layout
- Parameters:
layout (
QLayout|None)- Return type:
None