Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.058 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'subject:Python': 0.05; 'url:pipermail': 0.05; 'parsing': 0.07; 'gui': 0.11; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'wrote:': 0.17; 'code.': 0.20; 'references': 0.23; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'jean': 0.29; 'probably': 0.29; 'code': 0.31; 'file': 0.32; 'loading': 0.33; 'to:addr:python-list': 0.33; 'thanks': 0.34; 'pm,': 0.35; 'received:org': 0.36; 'message-id:@gmail.com': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'gives': 0.39; 'instead': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'url:blogspot': 0.64; 'here': 0.65; 'url:10': 0.65; 'url:2011': 0.72; 'day': 0.73; 'recompile': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sat, 14 Jul 2012 08:45:31 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120601 Thunderbird/10.0.5 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python and Qt4 Designer References: <63ac761b-a0a2-4d77-a3ca-f93069fab82a@s1g2000vbj.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342278484 news.xs4all.nl 6986 [2001:888:2000:d::a6]:43798 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25313 On 07/13/2012 03:12 PM, Jean Dubois wrote: > Thanks for the extra docu references In this day and age, I think compiling ui files to code is probably on the way out. Instead you should consider using the ui files directly in your code. This has the advantage of letting you change the gui somewhat without having to recompile all the time. Here is are some links that gives one way of loading and parsing the ui file directly: http://www.riverbankcomputing.com/pipermail/pyqt/2007-April/015902.html http://bitesofcode.blogspot.ca/2011/10/comparison-of-loading-techniques.html