8.6.8.2.1. pymodaq_gui.utils.widgets.collapsible_widget module

class pymodaq_gui.utils.widgets.collapsible_widget.CollapsibleWidget(toggle_widget, collapsible_widget, direction='top', content_before_toggle=True, animation_duration=300, parent=None)[source]

Bases: QWidget

Methods

set_expanded(expanded)

Programmatically set the expanded state without animation

toggle_content()

Toggle the visibility of the collapsible widget with animation

connect_signals

init_ui

toggled_signal

connect_signals()[source]
init_ui()[source]
set_expanded(expanded)[source]

Programmatically set the expanded state without animation

toggle_content()[source]

Toggle the visibility of the collapsible widget with animation

staticMetaObject = PySide6.QtCore.QMetaObject("CollapsibleWidget" inherits "QWidget": Methods:   #33 type=Signal, signature=toggled_signal(bool), parameters=bool )
toggled_signal