[PySide] - Loading ui file from qt Designer

40 views
Skip to first unread message

Jeremy YeoKhoo

unread,
Oct 14, 2014, 7:59:54 PM10/14/14
to python_in...@googlegroups.com
Hey guys,

I am trying to convert a relatively old PyQt file in PySide. I have a ui file created from QtDesigner. How would I load my .ui file using PySide since loadUIType ?

Where in PyQt I would use uic.loadUiType
from PyQt4 import QtGui, uic
form_class, base_class = uic.loadUiType("/ui_pySide/CreateMidJoints.ui")

How would I use that in PySide?

johnvdz

unread,
Oct 14, 2014, 8:36:06 PM10/14/14
to python_in...@googlegroups.com
hi Jeremy,

just search the archive.. a lot of this has already been posted before.

https://www.mail-archive.com/python_in...@googlegroups.com/msg08046.html

john
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/21af67be-ee10-4344-bbee-696b76ccf743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeremy YeoKhoo

unread,
Oct 15, 2014, 8:20:52 PM10/15/14
to python_in...@googlegroups.com
Cool, I did see that link but was somehow afraid to try it. 

But nope, works well, thanks again John!

-J
Reply all
Reply to author
Forward
0 new messages