<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div class="" style=""><span class="" style="">Hello guys,</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span class="" style=""><br></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span class="" style="">My attempt: <a href="http://dpaste.com/04QSWQQ/" class="" style="">http://dpaste.com/04QSWQQ/</a><br style=""><br></span></div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial,
 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">But is not work correctly.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Some tip?</div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> On Wednesday, May 14, 2014 2:29 PM, Alfredo
 Junior <junixrj@yahoo.com> wrote:<br class="" style=""> </font> </div>  <div class="" style=""><div id="yiv4296705284" class="" style=""><div class="" style=""><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;" class=""><div class="" style="">Thank you guys.</div><div class="" style=""><br clear="none" class="" style="">I'll try and brb with news.</div><div class="" id="yiv4296705284yqt70611" style=""><div class="" style="display:block;"> <div style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:10pt;" class=""> <div style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> On Wednesday, May 14, 2014 2:09 PM, Eric Jardim <ericjardim@gmail.com>
 wrote:<br clear="none" class="" style=""> </font> </div>  <div class="" style="">Consider this one:<br clear="none" class="" style=""><a rel="nofollow" shape="rect" target="_blank" href="https://qt.gitorious.org/qt/qt-aleksi/source/7aacb8b3ff5c4c998298207b355b9c301d736d34:examples/graphicsview/flowlayout" class="" style="">https://qt.gitorious.org/qt/qt-aleksi/source/7aacb8b3ff5c4c998298207b355b9c301d736d34:examples/graphicsview/flowlayout</a><br clear="none" class="" style=""><div class="" id="yiv4296705284yqtfd62023" style=""><br clear="none" class="" style="">2014-05-14 14:07 GMT-03:00 Eric Jardim <<a rel="nofollow" shape="rect" ymailto="mailto:ericjardim@gmail.com" target="_blank" href="mailto:ericjardim@gmail.com" class="" style="">ericjardim@gmail.com</a>>:<br clear="none" class="" style="">> Hmm... just ignore my last email (it is for widget layout only, not<br clear="none" class="" style="">> QGraphics). Consider reimplementing the
 example in the first email.<br clear="none" class="" style="">><br clear="none" class="" style="">> Regards,<br clear="none" class="" style="">><br clear="none" class="" style="">> 2014-05-14 14:00 GMT-03:00 Eric Jardim <<a rel="nofollow" shape="rect" ymailto="mailto:ericjardim@gmail.com" target="_blank" href="mailto:ericjardim@gmail.com" class="" style="">ericjardim@gmail.com</a>>:<br clear="none" class="" style="">>> As I said, there IS a Python implementation in fact =D<br clear="none" class="" style="">>><br clear="none" class="" style="">>> <a rel="nofollow" shape="rect" target="_blank" href="https://qt.gitorious.org/pyside/pyside-examples/source/060dca8e4b82f301dfb33a7182767eaf8ad3d024:examples/layouts/flowlayout.py" class="" style="">https://qt.gitorious.org/pyside/pyside-examples/source/060dca8e4b82f301dfb33a7182767eaf8ad3d024:examples/layouts/flowlayout.py</a><br clear="none" class="" style="">>><br
 clear="none" class="" style="">>> Just copy and paste the FlowLayout class into your project and be happy!<br clear="none" class="" style="">>><br clear="none" class="" style="">>> Regards,<br clear="none" class="" style="">>><br clear="none" class="" style="">>> 2014-05-14 13:58 GMT-03:00 Eric Jardim <<a rel="nofollow" shape="rect" ymailto="mailto:ericjardim@gmail.com" target="_blank" href="mailto:ericjardim@gmail.com" class="" style="">ericjardim@gmail.com</a>>:<br clear="none" class="" style="">>>> Hi Alfredo,<br clear="none" class="" style="">>>><br clear="none" class="" style="">>>> The layout you want is the "flow layout" that combines horizontal and<br clear="none" class="" style="">>>> vertical (like a wordwrap feature, but for widgets).<br clear="none" class="" style="">>>><br clear="none" class="" style="">>>> Unfortunately, it is not implemented and you
 must create your own<br clear="none" class="" style="">>>> layout manager, but you can use this example for guidance:<br clear="none" class="" style="">>>> <a rel="nofollow" shape="rect" target="_blank" href="http://doc.qt.digia.com/4.6/layouts-flowlayout.html" class="" style="">http://doc.qt.digia.com/4.6/layouts-flowlayout.html</a><br clear="none" class="" style="">>>><br clear="none" class="" style="">>>> There is probably a Python implementation somewhere.<br clear="none" class="" style="">>>><br clear="none" class="" style="">>>> Regards,<br clear="none" class="" style="">>>><br clear="none" class="" style="">>>><br clear="none" class="" style="">>>><br clear="none" class="" style="">>>><br clear="none" class="" style="">>>> 2014-05-13 20:23 GMT-03:00 Alfredo Junior <<a rel="nofollow" shape="rect" ymailto="mailto:junixrj@yahoo.com" target="_blank"
 href="mailto:junixrj@yahoo.com" class="" style="">junixrj@yahoo.com</a>>:<br clear="none" class="" style="">>>>> Hi there,<br clear="none" class="" style="">>>>><br clear="none" class="" style="">>>>> I'm trying to create
 something this:<br clear="none" class="" style="">>>>> <a rel="nofollow" shape="rect" target="_blank" href="http://storage9.static.itmages.com/i/14/0513/h_1400022712_1668064_2891312c36.png" class="" style="">http://storage9.static.itmages.com/i/14/0513/h_1400022712_1668064_2891312c36.png</a><br clear="none" class="" style="">>>>><br clear="none" class="" style="">>>>> But, my result is this:<br clear="none" class="" style="">>>>> <a rel="nofollow" shape="rect" target="_blank" href="http://storage7.static.itmages.com/i/14/0513/h_1400022672_5540447_340b5f67e8.png" class="" style="">http://storage7.static.itmages.com/i/14/0513/h_1400022672_5540447_340b5f67e8.png</a><br clear="none" class="" style="">>>>><br clear="none" class="" style="">>>>> My code: dpaste: 3KHNWBX<br clear="none" class="" style="">>>>><br clear="none" class="" style="">>>>> Some tip?<br
 clear="none" class="" style="">>>>><br clear="none" class="" style="">>>>> BR,<br clear="none" class="" style="">>>>><br clear="none" class="" style="">>>>> Junix<br clear="none" class="" style="">>>>><br clear="none" class="" style="">>>>>
 _______________________________________________<br clear="none" class="" style="">>>>> PyQt mailing list    <a rel="nofollow" shape="rect" ymailto="mailto:PyQt@riverbankcomputing.com" target="_blank" href="mailto:PyQt@riverbankcomputing.com" class="" style="">PyQt@riverbankcomputing.com</a><br clear="none" class="" style="">>>>> <a rel="nofollow" shape="rect" target="_blank" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" class="" style="">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br clear="none" class="" style=""></div><br clear="none" class="" style=""><br clear="none" class="" style=""></div>  </div> </div>  </div></div> </div></div></div><br class="" style=""><br class="" style=""></div>  </div> </div>  </div> </div></body></html>