Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-29 Thread Juan Manuel Santos
From: Sebastian Elsner To: pyqt@riverbankcomputing.com Date: Tuesday 28 September 2010 > Hmm interesting topic, I recently had to switch back from ui files to > py files because I couldnt get py2exe to package the ui files correctly > (Any help appreciated though) The same thing happened to me

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-29 Thread David Douard
> Hmm interesting topic, I recently had to switch back from ui files to > py files because I couldnt get py2exe to package the ui files correctly > (Any help appreciated though) I usually use both of them to deal with this problem. My python code which depends on ui files (ie. class which herit

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-29 Thread pard
Hi All Thanks for the replies, it's food for thought. I will be packaging my code with py2exe. If there's a snag in packaging them correctly then perhaps it's best for me to compile the ui. Unless of course someone has an idea as to what could be Sebastian's problem. Loading the ui file does seem

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread Sebastian Elsner
Hmm interesting topic, I recently had to switch back from ui files to py files because I couldnt get py2exe to package the ui files correctly (Any help appreciated though) Secondly using ui files I loose the comfort of auto-completion with pydev and Eclipse, because pydev wouldnt know how to de

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread fpp
On Tue, Sep 28, 2010 at 6:19 PM, pard wrote: > Hi > I have found that some people use pyuic4 to compile their ui files and some > load them dynamically using loadUI. > Does anyone have the pro's and con's of each of these methods? What is the > recommended PyQT way of doing this? Thanks for start

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread Hans-Peter Jansen
On Tuesday 28 September 2010, 18:19:43 pard wrote: > Hi > > I have found that some people use pyuic4 to compile their ui files and > some load them dynamically using loadUI. > Does anyone have the pro's and con's of each of these methods? What is > the recommended PyQT way of doing > this? Being i

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread Tyler W. Wilson
On 9/28/2010 1:19 PM, Wolfgang Rohdewald wrote: On Dienstag 28 September 2010, Sebastian Wiesner wrote: So basically it "just works", whereas pyuic4 means additional work. UI compilers are fine for C++, where you have to compile anyway, but in Python things are easier. Just my opinion ... +1

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread Wolfgang Rohdewald
On Dienstag 28 September 2010, Sebastian Wiesner wrote: > So basically it "just works", whereas pyuic4 means additional > work. UI compilers are fine for C++, where you have to > compile anyway, but in Python things are easier. Just my > opinion ... +1 however I never tested how much time eithe

Re: [PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread Sebastian Wiesner
Hi, I prefer uic.loadUi, it's simply much more convenient and much easier to use. It saves the tedious invocation of pyuic4 during development. And no risk of weird errors caused by a forgotten compilation of your user interface ... the application automatically uses the user interface, that you

[PyQt] pyuic4 vs uic.loadUI

2010-09-28 Thread pard
Hi I have found that some people use pyuic4 to compile their ui files and some load them dynamically using loadUI. Does anyone have the pro's and con's of each of these methods? What is the recommended PyQT way of doing this? Regards Pard ___ PyQt maili