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
From: Sebastian Elsner sebastianels...@freenet.de
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
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
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
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 either
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
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
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