retype.layouts
- class retype.layouts.RowLayout(parent=None)[source]
Bases:
QLayout
- class retype.layouts.ShelvesWidget(parent=None, min_cell_width=140, max_cell_width=200, cell_height=140)[source]
Bases:
QWidgetA resizable and scrollable widget that uses ShelvesLayout. Use its addWidget() method to add children, setContentsMargins() to set the layout’s margins.
Modules
PyQt horizontal layout that simply lays out items from left to right based on their size, accounting for spacing and contents margins. |
|
PyQt grid layout that is like bookshelves; places each item at the bottom centre of its cell, like a book resting on a shelf. |