[PyQt] A error in the examples??
levinie
levinie at qq.com
Wed Aug 14 09:48:12 BST 2013
The examples is really great, it tell me how to use PyQt5.When i run the examples/layouts/flowlayout.py, it throw a exception ,as follow.
size += QSize(2 * self.margin(), 2 * self.margin())
AttributeError: 'Flow_Layout' object has no attribute 'margin'.
Same error is in borderlayout.py, and basiclayouts.py is OK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130814/ac75f452/attachment.html>
More information about the PyQt
mailing list