Skip to content
 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySide6 Collapsible Widget/ frameLayout

Simple collapsible widget for PySide6, made to mimic Maya's native GUI. Its Forked from https://github.com/aronamao/PySide2-Collapsible-Widget rewritten for PySide6.

demo

How to use

Simply get the content widget via the contentWidget getter and attach your desired layout to it.

layout = QtWidgets.QVBoxLayout()
container = Container("Group")
layout.addWidget(container)

content_layout = QtWidgets.QGridLayout(container.contentWidget)
content_layout.addWidget(QtWidgets.QPushButton("Button"))

This example is also available in the docstring of the Container class for easy access inside your IDE.

The Container class also has methods for collapsing, expanding and toggling the widget so you can hook them up to external buttons.

About

Simple collapsible widget for PySide2

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages