Researching about Flow layouts using pyside-examples

Squashed some exceptions by defining an instance variable in the layout.

https://qt.gitorious.org/pyside/pyside-examples/source/060dca8e4b82f301dfb33a7182767eaf8ad3d024: