uic is actually a part of PyQT and not in PySide.

PySide has it's own loadUI function :

loader = QtUiTools.QUiLoader()
self.ui = loader.load("imagedialog.ui")

Best Regards
Jimmy Christensen
Developer
Ghost A/S

On 10/25/2011 10:10 AM, Dorian Fevrier wrote:
Hi Lucien

If I can advise you, you should use loadui:

self.ui = uic.loadUi("imagedialog.ui")
self.ui.myWidget.doSomething()
self.ui.show()
etc...

http://www.riverbankcomputing.com/pipermail/pyqt/2007-April/015902.html
http://www.riverbankcomputing.com/pipermail/pyqt/2007-April/015902.html

This is the quickest method and will avoid you to deal too much with UI
Layouts.

Dorian

PS: Any reason to use PySide instead of PyQT? I'm just curious. From
what I know, the difference is mainly on licence (PySide is more
permissive from what I know).

On 10/23/2011 10:30 AM, Kurian O.S wrote:
I am using same PyQt docs and I hope you already have this link
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html

On Sat, Oct 22, 2011 at 11:16 PM, Lucien FOSTIER
<[email protected] <mailto:[email protected]>> wrote:

    Cool!


    Thanks Kurian


    what docs, do you use for PySide, i'm not sure what's the more
    relevant, QT, PyQT or PySide

    regards


    Lucien

    _______________________________________________
    Nuke-python mailing list
    [email protected]
    <mailto:[email protected]>,
    http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python




--
--:: Kurian ::--



_______________________________________________
Nuke-python mailing list
[email protected],http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python



_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to