[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] A error in the examples??
From:       "=?ISO-8859-1?B?bGV2aW5pZQ==?=" <levinie () qq ! com>
Date:       2013-08-14 8:48:12
Message-ID: tencent_15BBB82F3E4E29056DEB465F () qq ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

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.


[Attachment #5 (text/html)]

The examples is really great, it tell me how to use PyQt5.<div>When i run the \
&nbsp;examples/layouts/flowlayout.py, it throw a exception ,as \
follow.</div><div><br></div><div><div>&nbsp; &nbsp; size += QSize(2 * self.margin(), \
2 * self.margin())</div><div>AttributeError: 'Flow_Layout' object has no attribute \
'margin'.</div></div><div><br></div><div>Same error is in borderlayout.py, and \
basiclayouts.py is OK.</div>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic