An open API service indexing awesome lists of open source software.

https://github.com/meteran/pyqtflowlayout

Scrollable flow layout
https://github.com/meteran/pyqtflowlayout

Last synced: 9 months ago
JSON representation

Scrollable flow layout

Awesome Lists containing this project

README

          

**PyQtFlowLayout**

The flow layout that many have shared from the given examples needs additional methods to become really useful, in particular, I needed it to be able to propagate up into a scrollable wrapper.

**Example**

![Test suite generates random words in a random number of puhbuttons. The scroll control appears when the window is resized.](snapshots/scrollingFlowLayout1.jpg)

Usage:

scroller = ScrollingFlowWidget()
scroller.addWidget( QtGui.QPushButton("Push Me") )
scroller.addWidget( QtGui.QPushButton("Don't push") )
...