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