[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Gui best practice
From: "Rapczak, Jesse" <jrapczak () soe ! sony ! com>
Date: 2012-02-29 0:21:34
Message-ID: 429AA9673D00424FADF9905B7CFFC31B0A9F6916 () mail-sd6 ! ad ! soe ! sony ! com
[Download RAW message or body]
I use the second option, but I noticed that python errors from functions called by my \
UI are not reported in Maya when using uic. Has anyone else noticed this? Maybe I'm \
just doing it wrong. It's fine once I notice an error is happening but it silently \
fails and I often won't even realize there is an error.
-----Original Message-----
From: pyqt-bounces@riverbankcomputing.com \
[mailto:pyqt-bounces@riverbankcomputing.com] On Behalf Of \
paolo@paolodestefani.it
Sent: Tuesday, February 28, 2012 3:11 PM
To: pyqt@riverbankcomputing.com
Subject: Re: [PyQt] Gui best practice
So for best performance at runtime it's prefereble to choose the first option
Thank you
On Wed, 29 Feb 2012 00:44:32 +0800, Goldfish Huang <hgoldfish@gmail.com>
wrote:
> The second depends on Qt,QtXml and PyQt4.uic. They cause inconvenience
> when you distributing your PyQt program. And, the program has to spend
> extra time in calling uic.loadUi() to compile .ui files.
>
> To conclude, two options is different in when to compile .ui files.
> The first is in developing stage, the second in running.
>
>
> 2012/2/28 <paolo@paolodestefani.it>:
> > Hello
> > I'm trying to understand how to manage ui files from qtdesigner in
> > the best way. I see in the examples that i have 2 options:
> > - use pyuic4.bat utility to translate ui file in a python class
(included
> > in a module) that create the graphical interface through the
> > setupUi() method
> > - load the ui file directly in the class definition with the
> > functions uic.loadUiType()or uic.loadUi() (like in the example\pyuic
> > directory)
> >
> > As i see that few peoples like the second option i'm asking myself why.
> > It
> > looks for me faster, what's wrong with this ?
> > _______________________________________________
> > PyQt mailing list PyQt@riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
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