By0ute / pyqt-collapsible-widget

PyQt collapsible widget in the spirit of the Maya frameLayout command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyQt Collapsable Widget

A PyQt collapsable widget in the spirit of the Maya frameLayout command

Why ?

Because if there is no widget collapsable in PyQt (until Qt5). But the Maya cmds has a UI command called frameLayout that makes its content collapsable. Inside a PyQt design, for consistency, I made this code to create a collapsable widget. With the help from this post, especially this chunk.

How does it look?

Here you can see the result in a standard Python application

PyQt Collapsable Widget in Python standalone

Here you can see the result from a Maya window

PyQt Collapsable Widget in Maya

Hope you'll enjoy it!, 😽

By0ute 👸

About

PyQt collapsible widget in the spirit of the Maya frameLayout command

License:MIT License


Languages

Language:Python 100.0%